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.

40 lines
1.4 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="contract_line_duplicate_wizard_view" model="ir.ui.view">
  4. <field name="name">Create Revision Line</field>
  5. <field name="model">create.revision.line.wizard</field>
  6. <field name="arch" type="xml">
  7. <form>
  8. <div>
  9. Set new start date and variation percent to duplicate.
  10. This process set start date previous day as end date of
  11. origin record.
  12. <br/>
  13. <br/>
  14. </div>
  15. <group>
  16. <group>
  17. <field name="date_start"/>
  18. <field name="date_end"/>
  19. <field name="variation_percent"/>
  20. </group>
  21. </group>
  22. <footer>
  23. <button string="Apply" name="action_apply"
  24. type="object" class="oe_highlight"/>
  25. <button string="Cancel" class="oe_link" special="cancel"/>
  26. </footer>
  27. </form>
  28. </field>
  29. </record>
  30. <act_window id="contract_line_duplicate_wizard_action"
  31. name="Create revision of contract lines"
  32. src_model="account.analytic.account"
  33. res_model="create.revision.line.wizard"
  34. view_type="form" view_mode="form"
  35. key2="client_action_multi" target="new"
  36. />
  37. </odoo>