Browse Source

[CHANGE] Make date planned editable

pull/114/head
Thibault Francois 8 years ago
committed by Rémy Taymans
parent
commit
d9591c8587
  1. 29
      beesdoo_purchase/views/purchase_order.xml

29
beesdoo_purchase/views/purchase_order.xml

@ -1,14 +1,17 @@
<openerp>
<data>
<record model="ir.ui.view" id="beesdoo_purchase_order_form_view">
<field name="name">beesdoo.purchase.order.form.view</field>
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form" />
<field name="arch" type="xml">
<field name="product_id" position="attributes">
<attributes domain="[('main_seller_id','=','parent.partner_id')]" />
</field>
</field>
</record>
</data>
</openerp>
<data>
<record model="ir.ui.view" id="beesdoo_purchase_order_form_view">
<field name="name">beesdoo.purchase.order.form.view</field>
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form" />
<field name="arch" type="xml">
<field name="product_id" position="attributes">
<attribute name="domain">[('main_seller_id','=', parent.partner_id)]</attribute>
</field>
<field name="date_planned" position="attributes">
<attribute name="readonly">0</attribute>
</field>
</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save