sale_order_views.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="sale_order_form_quote_design" model="ir.ui.view">
  4. <field name="name">sale.order.form.sale_quotation_builder</field>
  5. <field name="model">sale.order</field>
  6. <field name="inherit_id" ref="sale_management.sale_order_form_quote"/>
  7. <field name="arch" type="xml">
  8. <xpath expr="//page/field[@name='order_line']/tree/field[@name='name']" position="after">
  9. <field name="website_description" invisible="1"/>
  10. </xpath>
  11. <xpath expr="//page/field[@name='order_line']/form/field[@name='name']" position="after">
  12. <field name="website_description" invisible="1"/>
  13. </xpath>
  14. <xpath expr="//page/field[@name='sale_order_option_ids']/kanban/field[@name='product_id']" position="after">
  15. <field name="website_description" invisible="1" readonly="1" force_save="1"/>
  16. </xpath>
  17. <xpath expr="//page/field[@name='sale_order_option_ids']/form//field[@name='name']" position="after">
  18. <field name="website_description" invisible="1" readonly="1" force_save="1"/>
  19. </xpath>
  20. <xpath expr="//page/field[@name='sale_order_option_ids']/tree/field[@name='name']" position="after">
  21. <field name="website_description" invisible="1" readonly="1" force_save="1"/>
  22. </xpath>
  23. <xpath expr="//button[@name='button_add_to_order']" position="after">
  24. <field name="website_description" invisible="1"/>
  25. </xpath>
  26. <xpath expr="//field[@name='require_payment']" position="after">
  27. <field name="website_description" invisible="1"/>
  28. </xpath>
  29. </field>
  30. </record>
  31. </odoo>