mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_putaway_product_template: Not required product variant if you already set a product template
TT34143
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
<field name="product_id" position="before">
|
<field name="product_id" position="before">
|
||||||
<field
|
<field
|
||||||
name="product_tmpl_id"
|
name="product_tmpl_id"
|
||||||
attrs="{'readonly': [('category_id', '!=', False)], 'required': [('category_id', '=', False)]}"
|
attrs="{'readonly': [('category_id', '!=', False)], 'required': [('category_id', '=', False), ('product_id', '=', False)]}"
|
||||||
options="{'no_create': True, 'no_open': True}"
|
options="{'no_create': True, 'no_open': True}"
|
||||||
force_save="1"
|
force_save="1"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user