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 stock_putaway_product_template 13.0.1.1.0
This commit is contained in:
committed by
Carolina Fernandez
parent
2382f1341b
commit
dc1daf737d
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Product template in putaway strategies",
|
"name": "Product template in putaway strategies",
|
||||||
"summary": "Add product template in putaway strategies from the product view",
|
"summary": "Add product template in putaway strategies from the product view",
|
||||||
"version": "13.0.1.0.0",
|
"version": "13.0.1.1.0",
|
||||||
"category": "Inventory",
|
"category": "Inventory",
|
||||||
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
||||||
"author": "Akretion, Odoo Community Association (OCA)",
|
"author": "Akretion, Odoo Community Association (OCA)",
|
||||||
|
|||||||
@@ -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