mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
@@ -6,7 +6,7 @@
|
||||
{
|
||||
"name": "Extended Inventory Preparation Filters",
|
||||
"version": "16.0.1.0.0",
|
||||
"depends": ["stock", "stock_inventory"],
|
||||
"depends": ["stock", "stock_inventory", "base_view_inheritance_extension"],
|
||||
"author": "AvanzOSC," "Tecnativa," "Odoo Community Association (OCA)",
|
||||
"category": "Inventory, Logistic, Storage",
|
||||
"website": "https://github.com/OCA/stock-logistics-warehouse",
|
||||
|
||||
@@ -4,11 +4,6 @@
|
||||
<field name="model">stock.inventory</field>
|
||||
<field name="inherit_id" ref="stock_inventory.view_inventory_group_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_ids" position="attributes">
|
||||
<attribute
|
||||
name="attrs"
|
||||
>{'invisible': [('product_selection', '!=', 'all')]}</attribute>
|
||||
</field>
|
||||
<xpath expr="//field[@name='owner_id']/../.." position="after">
|
||||
<group name="preparation_filter">
|
||||
<group name="preparation_filter_right">
|
||||
@@ -21,6 +16,11 @@
|
||||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
<field name="product_ids" position="attributes">
|
||||
<attribute name="attrs" operation="update">
|
||||
{'invisible': [('product_selection', 'in', ['all', 'category', 'one', 'domain'])]}
|
||||
</attribute>
|
||||
</field>
|
||||
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user