changeset 401244e9cb0c in modules/account_invoice:default
details:
https://hg.tryton.org/modules/account_invoice?cmd=changeset&node=401244e9cb0c
description:
Extend also the simple address form
issue11511
review417221003
diffstat:
party.xml | 6 ++++++
view/address_form.xml | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 2654ae4ea84a -r 401244e9cb0c party.xml
--- a/party.xml Mon May 02 17:06:16 2022 +0200
+++ b/party.xml Sat Jun 04 00:24:52 2022 +0200
@@ -14,6 +14,12 @@
<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>
+
<record model="ir.ui.view" id="address_view_tree_sequence">
<field name="model">party.address</field>
<field name="inherit" ref="party.address_view_tree_sequence"/>
diff -r 2654ae4ea84a -r 401244e9cb0c view/address_form.xml
--- a/view/address_form.xml Mon May 02 17:06:16 2022 +0200
+++ b/view/address_form.xml Sat Jun 04 00:24:52 2022 +0200
@@ -3,7 +3,7 @@
this repository contains the full copyright notices and license terms. -->
<data>
<xpath
- expr="/form/group/field[@name='active']"
+ expr="//group[@id='checkboxes']/field[@name='active']"
position="after">
<label name="invoice"/>
<field name="invoice" xexpand="0" width="25"/>