Skip to content

Commit e9d74f8

Browse files
[IMP] stock_valuation_fifo_lot: add lot_ids in search view
1 parent bf89b6e commit e9d74f8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

stock_valuation_fifo_lot/views/stock_valuation_layer_views.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
<odoo>
2+
<record id="view_inventory_valuation_search" model="ir.ui.view">
3+
<field name="name">stock.valuation.layer.search</field>
4+
<field name="model">stock.valuation.layer</field>
5+
<field name="inherit_id" ref="stock_account.view_inventory_valuation_search" />
6+
<field name="arch" type="xml">
7+
<field name="product_tmpl_id" position="after">
8+
<field name="lot_ids" />
9+
</field>
10+
<filter name="group_by_product_id" position="after">
11+
<filter
12+
string="Lot"
13+
name="group_by_lot"
14+
context="{'group_by': 'lot_ids'}"
15+
/>
16+
</filter>
17+
</field>
18+
</record>
19+
220
<record id="stock_valuation_layer_tree" model="ir.ui.view">
321
<field name="name">stock.valuation.layer.tree</field>
422
<field name="model">stock.valuation.layer</field>

0 commit comments

Comments
 (0)