[FIX] sale_stock: warehouse_id not present in view

Task-2918791

X-original-commit: 76e88d35d7d4fad62920da53501b4462c633e108
Part-of: odoo/odoo#101352
This commit is contained in:
Victor Feyens
2022-09-28 11:14:35 +02:00
parent f05c4ae9c8
commit 33d86f6b6d
@@ -20,6 +20,7 @@
<attribute name="string">Delivery</attribute>
</xpath>
<xpath expr="//label[@for='commitment_date']" position="before">
<field name="warehouse_id" invisible="1"/> <!-- needed for js logic -->
<field name="warehouse_id" options="{'no_create': True}" groups="stock.group_stock_multi_warehouses" force_save="1"/>
<field name="incoterm" options="{'no_open': True, 'no_create': True}" groups="sale_stock.group_display_incoterm"/>
<field name="incoterm_location" groups="sale_stock.group_display_incoterm"/>