You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.7 KiB

9 years ago
  1. <openerp>
  2. <data>
  3. <record model="ir.ui.view" id="beesdoo_purchase_order_form_view">
  4. <field name="name">beesdoo.purchase.order.form.view</field>
  5. <field name="model">purchase.order</field>
  6. <field name="inherit_id" ref="purchase.purchase_order_form" />
  7. <field name="arch" type="xml">
  8. <field name="date_order" position="after">
  9. <field name="supervisor_id"/>
  10. </field>
  11. <field name="product_id" position="attributes">
  12. <attribute name="domain">[('main_seller_id','=', parent.partner_id), ('purchase_ok', '=', True)]</attribute>
  13. </field>
  14. </field>
  15. </record>
  16. <record model="ir.ui.view" id="beesdoo_purchase_order_tree_view">
  17. <field name="name">beesdoo.purchase.order.tree.view</field>
  18. <field name="model">purchase.order</field>
  19. <field name="inherit_id" ref="purchase.purchase_order_tree" />
  20. <field name="arch" type="xml">
  21. <field name="origin" position="after">
  22. <field name="supervisor_id"/>
  23. </field>
  24. </field>
  25. </record>
  26. <record model="ir.ui.view" id="beesdoo_purchase_order_search_view">
  27. <field name="name">beesdoo.purchase.order.search.view</field>
  28. <field name="model">purchase.order</field>
  29. <field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
  30. <field name="arch" type="xml">
  31. <field name="create_uid" position="after">
  32. <field name="supervisor_id"/>
  33. </field>
  34. </field>
  35. </record>
  36. </data>
  37. </openerp>