Skip to content

Commit

Permalink
[FIX] l10n_pe: avoid sync problems in the addresses by putting street…
Browse files Browse the repository at this point in the history
…2 in the view

closes odoo#85861

X-original-commit: 328e858
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Josse Colpaert <jco@odoo.com>
  • Loading branch information
jco-odoo committed Mar 5, 2022
1 parent 1be8592 commit 450a62b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/l10n_pe/data/res_country_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<field name="type" invisible="1"/>
<field name="street" placeholder="Street" class="o_address_street"
attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}"/>
<field name="street2" invisible="1"/>
<field name="l10n_pe_district" placeholder="District..." class="o_address_street"/>
<field name="city"/>
<field name="state_id" class="o_address_state" placeholder="State..." options='{"no_open": True}'
Expand Down

0 comments on commit 450a62b

Please sign in to comment.