Skip to content

Commit

Permalink
[MIG] partner_contact_address_default: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Borruso committed Nov 29, 2024
1 parent 42f6b49 commit 2980f6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 3 additions & 2 deletions partner_contact_address_default/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Partner Contact address default",
"summary": "Set a default delivery address, invoice address and contact for contacts",
"version": "16.0.1.2.0",
"summary": "Set a default delivery address, "
"invoice address and contact for contacts",
"version": "18.0.1.0.0",
"development_status": "Beta",
"category": "Generic Modules/Base",
"website": "https://github.com/OCA/partner-contact",
Expand Down
7 changes: 2 additions & 5 deletions partner_contact_address_default/views/res_partner_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@
</group>
</xpath>
<xpath expr="//field[@name='child_ids']//form//group" position="after">
<group
string="Force addresses"
attrs="{'invisible': [('type', '!=', 'contact')]}"
>
<group string="Force addresses" invisible="type != 'contact'">
<group colspan="4">
<field name="commercial_partner_id" invisible="1" />
<field name="commercial_partner_id" invisible="True" />
<div class="oe_grey" colspan="4">
<p
>You can force contact, delivery and invoice address for this contact.
Expand Down

0 comments on commit 2980f6f

Please sign in to comment.