Skip to content

Commit

Permalink
[IMP] account_move_line_mrp_info: add MO link in tree view and standa…
Browse files Browse the repository at this point in the history
…rd filtering
  • Loading branch information
JordiMForgeFlow committed Oct 16, 2024
1 parent 1f34d36 commit 471831d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions account_move_line_mrp_info/views/account_move_line_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,34 @@
</field>
</field>
</record>
<record id="view_move_line_tree" model="ir.ui.view">
<field name="name">account.move.line.tree - account_move_line_mrp_info</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_move_line_tree" />
<field name="arch" type="xml">
<field name="partner_id" position="after">
<field name="mrp_production_id" optional="hide" />
<field name="unbuild_id" optional="hide" />
</field>
</field>
</record>
<record id="view_account_move_line_filter" model="ir.ui.view">
<field name="name">account.move.line.filter - account_move_line_mrp_info</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_account_move_line_filter" />
<field name="arch" type="xml">
<field name="partner_id" position="after">
<field name="mrp_production_id" />
</field>
<filter name="group_by_partner" position="after">
<filter
name="group_by_mrp_production"
string="Manufacturing Order"
domain="[]"
context="{'group_by':'mrp_production_id'}"
/>
</filter>
</field>
</record>

</odoo>

0 comments on commit 471831d

Please sign in to comment.