Skip to content

Commit

Permalink
[3680][IMP] stock_lot_suffix: add tree view #42
Browse files Browse the repository at this point in the history
[3680][IMP] stock_lot_suffix: add tree view
  • Loading branch information
kanda999 authored Aug 18, 2023
1 parent f6c0bbf commit 8a2a0fb
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion stock_lot_suffix/views/stock_lot_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,22 @@
<field name="inherit_id" ref="stock.view_production_lot_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='product_id']" position="after">
<field name="channel_category" />
<field name="lot_suffix" />
<field name="channel_category" />
</xpath>
</field>
</record>
<record id="view_production_lot_tree" model="ir.ui.view">
<field name="name">stock.production.lot.tree</field>
<field name="model">stock.lot</field>
<field name="inherit_id" ref="stock.view_production_lot_tree" />
<field name="arch" type="xml">
<xpath expr="//field[@name='name']" position="before">
<field name="display_name" optional="show" />
</xpath>
<xpath expr="//field[@name='product_id']" position="after">
<field name="lot_suffix" optional="hide" />
<field name="channel_category" optional="hide" />
</xpath>
</field>
</record>
Expand Down

0 comments on commit 8a2a0fb

Please sign in to comment.