[FIX] l10n_it_stock_ddt: separate xpaths might need the invisible fields for inheritance purposes
Before, when installing stock_picking_batch after l10n_it_stock_ddt, it would give a traceback because the header was replaced in a view in stock_picking_batch and that removed the invisible field that was used in an attrs in another place. So we add the field again in that other place. closes odoo/odoo#79655 X-original-commit: 997f888a325509c72b2a39af346026783f192700 Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
</xpath>
|
||||
<group name='carrier_data' position="after">
|
||||
<group string="DDT Information" attrs="{'invisible': ['|', ('country_code', '!=', 'IT'), ('picking_type_code', '!=', 'outgoing')]}">
|
||||
<field name="country_code" invisible="1"/>
|
||||
<field name="l10n_it_ddt_number"/>
|
||||
<field name="l10n_it_transport_reason"/>
|
||||
<field name="l10n_it_transport_method"/>
|
||||
|
||||
Reference in New Issue
Block a user