changeset 5b4d92ad2db9 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=5b4d92ad2db9
description:
        Allow to use affix in xpath

        issue10139
        review335691002
diffstat:

 trytond/ir/ui/tree.rnc |  2 ++
 trytond/ir/ui/tree.rng |  2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diffs (24 lines):

diff -r 7e01d1620648 -r 5b4d92ad2db9 trytond/ir/ui/tree.rnc
--- a/trytond/ir/ui/tree.rnc    Thu Mar 11 19:17:59 2021 +0100
+++ b/trytond/ir/ui/tree.rnc    Thu Mar 11 19:19:17 2021 +0100
@@ -88,6 +88,8 @@
 attlist.data &= empty
 xpath = element xpath { attlist.xpath,
     (field
+    | prefix
+    | suffix
     | button
     | tree
     )*
diff -r 7e01d1620648 -r 5b4d92ad2db9 trytond/ir/ui/tree.rng
--- a/trytond/ir/ui/tree.rng    Thu Mar 11 19:17:59 2021 +0100
+++ b/trytond/ir/ui/tree.rng    Thu Mar 11 19:19:17 2021 +0100
@@ -417,6 +417,8 @@
       <zeroOrMore>
         <choice>
           <ref name="field"/>
+          <ref name="prefix"/>
+          <ref name="suffix"/>
           <ref name="button"/>
           <ref name="tree"/>
         </choice>

Reply via email to