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.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_sale_exception_confirm" model="ir.ui.view">
  5. <field name="name">Sale Exceptions</field>
  6. <field name="model">sale.exception.confirm</field>
  7. <field name="arch" type="xml">
  8. <form string="Blocked in draft due to exceptions" version="7.0">
  9. <group>
  10. <field name="exception_ids" nolabel="1" colspan="4">
  11. <tree string="Sale Exceptions">
  12. <field name="name"/>
  13. <field name="description"/>
  14. </tree>
  15. </field>
  16. <newline/>
  17. <field name="ignore" groups='base.group_sale_manager'/>
  18. </group>
  19. <footer>
  20. <button name="action_confirm" string="_Close"
  21. colspan="1" type="object" icon="gtk-ok" />
  22. </footer>
  23. </form>
  24. </field>
  25. </record>
  26. <record id="action_sale_exception_confirm" model="ir.actions.act_window">
  27. <field name="name">Blocked in draft due to exceptions</field>
  28. <field name="type">ir.actions.act_window</field>
  29. <field name="res_model">sale.exception.confirm</field>
  30. <field name="view_type">form</field>
  31. <field name="view_mode">form</field>
  32. <field name="view_id" ref="view_sale_exception_confirm"/>
  33. <field name="target">new</field>
  34. </record>
  35. </data>
  36. </openerp>