product_margin_view.xml 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="product_margin_form_view" model="ir.ui.view">
  4. <field name="name">product.margin.form</field>
  5. <field name="model">product.margin</field>
  6. <field name="arch" type="xml">
  7. <form string="Properties categories">
  8. <group col="4" string="General Information">
  9. <field name="from_date" />
  10. <field name="to_date" />
  11. <field name="invoice_state" />
  12. </group>
  13. <footer>
  14. <button name="action_open_window" string="Open Margins" type="object" class="btn-primary" data-hotkey="q"/>
  15. <button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
  16. </footer>
  17. </form>
  18. </field>
  19. </record>
  20. <record id="product_margin_act_window" model="ir.actions.act_window">
  21. <field name="name">Product Margins</field>
  22. <field name="res_model">product.margin</field>
  23. <field name="view_mode">form</field>
  24. <field name="target">new</field>
  25. </record>
  26. </odoo>