hr_holidays_cancel_leave_views.xml 784 B

12345678910111213141516171819
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="hr_holidays_cancel_leave_form" model="ir.ui.view">
  4. <field name="model">hr.holidays.cancel.leave</field>
  5. <field name="arch" type="xml">
  6. <form string="Cancel Time Off">
  7. <group>
  8. <field name="leave_id" invisible="1" />
  9. <field name="reason" placeholder="Provide a reason for cancellation of an approved time off" />
  10. </group>
  11. <footer>
  12. <button name="action_cancel_leave" type="object" class="btn-primary" string="Delete Time Off" />
  13. <button special="cancel" string="Discard" close="1" />
  14. </footer>
  15. </form>
  16. </field>
  17. </record>
  18. </odoo>