sale_order.xml 1.1 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record id="sale_order_form_view" model="ir.ui.view">
  5. <field name="name">fields_security.sale.order.form</field>
  6. <field name="model">sale.order</field>
  7. <field name="inherit_id" ref="sale.view_order_form"/>
  8. <field name="groups_id" eval="[(6, 0, [ref('group_restrict_fields')])]"/>
  9. <field name="arch" type="xml">
  10. <button name="action_quotation_send" position="attributes">
  11. <attribute name="invisible">1</attribute>
  12. </button>
  13. <field name="client_order_ref" position="attributes">
  14. <attribute name="invisible">1</attribute>
  15. </field>
  16. <field name="origin" position="attributes">
  17. <attribute name="invisible">1</attribute>
  18. </field>
  19. <field name="fiscal_position" position="attributes">
  20. <attribute name="invisible">1</attribute>
  21. </field>
  22. </field>
  23. </record>
  24. </data>
  25. </openerp>