Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] reference to correct view + adding fields in tree view #27

Open
wants to merge 1 commit into
base: 16.0-mig-purchase_manual_delivery
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions purchase_manual_delivery/views/purchase_order_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,18 @@

<record id="purchase_order_line_tree" model="ir.ui.view">
<field name="model">purchase.order.line</field>
<field name="inherit_id" ref="purchase.purchase_order_line_tree" />
<field name="inherit_id" ref="purchase.purchase_history_tree" />
<field name="arch" type="xml">
<xpath expr="/tree" position="attributes">
<attribute
name="decoration-info"
>state == 'purchase' and pending_to_receive</attribute>
</xpath>
<field name="product_qty" position="after">
<field name="existing_qty" />
<field name="partner_id" position="after">
<field name="product_id" />
</field>
<field name="date_planned" position="after">
<field name="product_uom_qty" position="after">
<field name="existing_qty" />
<field name="pending_to_receive" />
<field name="state" invisible="1" />
</field>
Expand Down