changeset b83baf35189f in modules/google_maps:6.4
details: 
https://hg.tryton.org/modules/google_maps?cmd=changeset&node=b83baf35189f
description:
        Extend also the simple address form

        issue11511
        review417221003
        (grafted from 98b34575e81e54e075865237f5246a42c71bc9f6)
diffstat:

 address.xml           |  6 ++++++
 view/address_form.xml |  2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r c61fdccefae6 -r b83baf35189f address.xml
--- a/address.xml       Mon May 02 16:47:09 2022 +0200
+++ b/address.xml       Sat Jun 04 00:24:52 2022 +0200
@@ -8,5 +8,11 @@
             <field name="inherit" ref="party.address_view_form"/>
             <field name="name">address_form</field>
         </record>
+
+        <record model="ir.ui.view" id="address_view_form_simple">
+            <field name="model">party.address</field>
+            <field name="inherit" ref="party.address_view_form_simple"/>
+            <field name="name">address_form</field>
+        </record>
     </data>
 </tryton>
diff -r c61fdccefae6 -r b83baf35189f view/address_form.xml
--- a/view/address_form.xml     Mon May 02 16:47:09 2022 +0200
+++ b/view/address_form.xml     Sat Jun 04 00:24:52 2022 +0200
@@ -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="/form/group[@id='checkboxes']/field[@name='sequence']" 
position="after">
+    <xpath expr="//group[@id='checkboxes']/field[@name='sequence']" 
position="after">
         <label name="google_maps_url"/>
         <field name="google_maps_url" widget="url"/>
     </xpath>

Reply via email to