purchase_order.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="dikasa_purchase_form">
  5. <field name="name">dikasa_purchase_form</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="partner_id" position="replace">
  10. <field name="partner_id" domain="[('supplier','=',True)]" options='{"always_reload": True}'/>
  11. </field>
  12. <field name="partner_id" position="after">
  13. <field name="ruc"/>
  14. <field name="street"/>
  15. <field name="state_id"/>
  16. <field name="country_id"/>
  17. <field name="email"/>
  18. <field name="phone"/>
  19. <field name="mobile"/>
  20. </field>
  21. <field name="validator" position="attributes">
  22. <attribute name="string">Confirmado por</attribute>
  23. </field>
  24. <xpath expr="//form/sheet/notebook//page[@string='RFQ &amp; Bid']" position="attributes">
  25. <attribute name="attrs">{'invisible':True}</attribute>
  26. </xpath>
  27. <field name="pricelist_id" position="replace"></field>
  28. <field name="currency_id" position="replace"></field>
  29. <field name="picking_type_id" position="after">
  30. <field name="pricelist_id"/>
  31. <field name="currency_id"/>
  32. </field>
  33. </field>
  34. </record>
  35. </data>
  36. </openerp>