eiru_stock_picking_purchase.xml 645 B

123456789101112131415
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="eiru_stock_picking_purchase_from" model="ir.ui.view">
  5. <field name="name">eiru.stock.picking.purchase.from</field>
  6. <field name="model">purchase.order</field>
  7. <field name="inherit_id" ref="purchase.purchase_order_form"/>
  8. <field name="arch" type="xml">
  9. <field name="state" position="before">
  10. <div class="eiru-stock-picking-return" attrs="{'invisible': [('state','not in',['done','approved'])]}" ></div>
  11. </field>
  12. </field>
  13. </record>
  14. </data>
  15. </openerp>