Skip to content
Snippets Groups Projects
Commit 9976ca94 authored by Josse Colpaert's avatar Josse Colpaert
Browse files

[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#79638

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 2add3ebf
Branches
Tags
No related merge requests found
......@@ -16,6 +16,7 @@
</xpath>
<group name='carrier_data' position="after">
<group string="DDT Information" attrs="{'invisible': ['|', ('l10n_it_country_code', '!=', 'IT'), ('picking_type_code', '!=', 'outgoing')]}">
<field name="l10n_it_country_code" invisible="1"/>
<field name="l10n_it_ddt_number"/>
<field name="l10n_it_transport_reason"/>
<field name="l10n_it_transport_method"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment