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.

42 lines
1.8 KiB

  1. <odoo>
  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">[
  13. ('main_seller_id','=', parent.partner_id),
  14. ('purchase_ok', '=', True) ]
  15. </attribute>
  16. </field>
  17. </field>
  18. </record>
  19. <record model="ir.ui.view" id="beesdoo_purchase_order_tree_view">
  20. <field name="name">beesdoo.purchase.order.tree.view</field>
  21. <field name="model">purchase.order</field>
  22. <field name="inherit_id" ref="purchase.purchase_order_tree"/>
  23. <field name="arch" type="xml">
  24. <field name="origin" position="after">
  25. <field name="supervisor_id"/>
  26. </field>
  27. </field>
  28. </record>
  29. <record model="ir.ui.view" id="beesdoo_purchase_order_search_view">
  30. <field name="name">beesdoo.purchase.order.search.view</field>
  31. <field name="model">purchase.order</field>
  32. <field name="inherit_id" ref="purchase.view_purchase_order_filter"/>
  33. <field name="arch" type="xml">
  34. <field name="create_uid" position="after">
  35. <field name="supervisor_id"/>
  36. </field>
  37. </field>
  38. </record>
  39. </data>
  40. </odoo>