mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[FIX] delivery_hibou: unsafe new kwarg, use context instead, better domain on packaging
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<field name="inherit_id" ref="delivery.choose_delivery_package_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='delivery_packaging_id']" position="attributes">
|
||||
<attribute name="domain">[('package_carrier_type', '!=', False)]</attribute>
|
||||
<attribute name="domain">[('product_id', '=', False)]</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user