mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[MIG] base_global_discount: Migration to 13.0
[UPD] Update base_global_discount.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-backend-13.0/server-backend-13.0-base_global_discount Translate-URL: https://translation.odoo-community.org/projects/server-backend-13-0/server-backend-13-0-base_global_discount/
This commit is contained in:
committed by
ferran-73
parent
1a58090181
commit
6d03cff6ac
@@ -34,7 +34,6 @@
|
||||
<field name="name">Global Discounts</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">global.discount</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
<menuitem
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
<field
|
||||
name="customer_global_discount_ids"
|
||||
widget="many2many_tags"
|
||||
attrs="{'invisible': [('customer', '=', False), ('is_company', '=', False), ('parent_id', '!=', False)]}"
|
||||
attrs="{'invisible': [('is_company', '=', False), ('parent_id', '!=', False)]}"
|
||||
/>
|
||||
</group>
|
||||
<group name="purchase" position="inside">
|
||||
<field
|
||||
name="supplier_global_discount_ids"
|
||||
widget="many2many_tags"
|
||||
attrs="{'invisible': [('supplier', '=', False), ('is_company', '=', False), ('parent_id', '!=', False)]}"
|
||||
attrs="{'invisible': [('is_company', '=', False), ('parent_id', '!=', False)]}"
|
||||
/>
|
||||
</group>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user