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.

41 lines
1.5 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. or
  26. <button string="Cancel" class="oe_link" special="cancel"/>
  27. </footer>
  28. </form>
  29. </field>
  30. </record>
  31. <act_window id="contract_line_duplicate_wizard_action"
  32. name="Create revision of contract lines"
  33. src_model="account.analytic.account"
  34. res_model="create.revision.line.wizard"
  35. view_type="form" view_mode="form"
  36. key2="client_action_multi" target="new"
  37. />
  38. </odoo>