Skip to content

Commit

Permalink
[IMP] purchase_picking_state: Add picking_state field to purchase ord…
Browse files Browse the repository at this point in the history
…er view tree.

TT37597
  • Loading branch information
victoralmau committed Jun 20, 2022
1 parent 03983cf commit f73c305
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions purchase_picking_state/views/purchase_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,17 @@
</field>
</field>
</record>
<record id="purchase_order_view_tree" model="ir.ui.view">
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_view_tree" />
<field name="arch" type="xml">
<field name="state" position="after">
<field
name="picking_state"
optional="hide"
attrs="{'invisible':[('picking_state','=', 'draft')]}"
/>
</field>
</field>
</record>
</odoo>

0 comments on commit f73c305

Please sign in to comment.