changeset e253d14b3240 in modules/party_siret:default
details: 
https://hg.tryton.org/modules/party_siret?cmd=changeset&node=e253d14b3240
description:
        Add optional column on tree view

        issue10989
        review374321002
diffstat:

 view/address_tree.xml |  4 ++--
 view/party_tree.xml   |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 97c4643c905f -r e253d14b3240 view/address_tree.xml
--- a/view/address_tree.xml     Sat Dec 18 16:31:09 2021 +0100
+++ b/view/address_tree.xml     Thu Feb 03 23:13:26 2022 +0100
@@ -2,7 +2,7 @@
 <!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
 this repository contains the full copyright notices and license terms. -->
 <data>
-    <xpath expr="/tree/field[@name='subdivision']" position="after">
-        <field name="siret"/>
+    <xpath expr="/tree/field[@name='party']" position="after">
+        <field name="siret" optional="1"/>
     </xpath>
 </data>
diff -r 97c4643c905f -r e253d14b3240 view/party_tree.xml
--- a/view/party_tree.xml       Sat Dec 18 16:31:09 2021 +0100
+++ b/view/party_tree.xml       Thu Feb 03 23:13:26 2022 +0100
@@ -3,6 +3,6 @@
 this repository contains the full copyright notices and license terms. -->
 <data>
     <xpath expr="/tree/field[@name='tax_identifier']" position="after">
-        <field name="siren"/>
+        <field name="siren" optional="1"/>
     </xpath>
 </data>

Reply via email to