changeset 98b34575e81e in modules/google_maps:default
details:
https://hg.tryton.org/modules/google_maps?cmd=changeset&node=98b34575e81e
description:
Extend also the simple address form
issue11511
review417221003
diffstat:
address.xml | 6 ++++++
view/address_form.xml | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r ba7fd5f98a99 -r 98b34575e81e address.xml
--- a/address.xml Mon May 02 16:47:10 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 ba7fd5f98a99 -r 98b34575e81e view/address_form.xml
--- a/view/address_form.xml Mon May 02 16:47:10 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>