Add address form simple

#158205
This commit is contained in:
Raimon Esteve 2023-04-05 16:44:43 +02:00
parent bef135eab7
commit d976c43aad
2 changed files with 15 additions and 0 deletions

View File

@ -5,6 +5,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_simple</field>
</record>
<record model="ir.action.act_window" id="act_subdivision_form">
<field name="name">Subdivisions</field>

View File

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!-- 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="//label[@name='postal_code']" position="before">
<label name="location"/>
<field name="location" colspan="3"/>
<newline/>
</xpath>
</data>