mirror of
https://github.com/bringout/oca-ocb-project.git
synced 2026-04-18 14:22:07 +02:00
Initial commit: Project packages
This commit is contained in:
commit
89613c97b0
753 changed files with 496325 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
/** @odoo-module */
|
||||
|
||||
export function getFirstElementForXpath(target, xpath) {
|
||||
const xPathResult = document.evaluate(xpath, target, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
|
||||
return xPathResult.singleNodeValue;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue