Skip to content

Commit

Permalink
[MIG] product_warranty: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peluko00 committed May 31, 2024
1 parent 7499392 commit 1faafcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion product_warranty/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Product Warranty",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Generic Modules/Product",
"author": "Akretion, Vauxoo, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/rma",
Expand Down
5 changes: 3 additions & 2 deletions product_warranty/views/product_supplierinfo_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
<field name="warranty_return_partner" />
<field
name="warranty_return_other_address"
attrs="{'invisible':[('warranty_return_partner', '!=', 'other')], 'required':[('warranty_return_partner', '=', 'other')]}"
invisible="warranty_return_partner != 'other'"
required="warranty_return_partner == 'other'"
class="oe_inline"
/>
<field
name="warranty_return_address"
attrs="{'invisible':[('warranty_return_partner', '=', 'other')]}"
invisible="warranty_return_partner == 'other'"
class="oe_inline"
/>
</group>
Expand Down

0 comments on commit 1faafcd

Please sign in to comment.