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.

26 lines
1.1 KiB

7 years ago
  1. <odoo>
  2. <record model="ir.ui.view" id="subscribe_coop_wizard_view_form">
  3. <field name="name">Subscribre Cooperator</field>
  4. <field name="model">beesdoo.shift.subscribe</field>
  5. <field name="arch" type="xml">
  6. <form>
  7. <group>
  8. <field name="cooperator_id" />
  9. <field name="info_session" />
  10. <field name="info_session_date" />
  11. <field name="working_mode" />
  12. <field name="exempt_reason_id" attrs="{'invisible':[('working_mode', '!=', 'exempt')]}"/>
  13. <field name="shift_id" domain="[('remaining_worker', '>', 0)]" attrs="{'invisible': [('working_mode', '!=', 'regular')]}"/>
  14. <field name="super" />
  15. <field name="reset_counter" />
  16. </group>
  17. <footer>
  18. <button type="object" name="subscribe"
  19. string="Confirm" class="oe_highlight" />
  20. or
  21. <button special="cancel" string="Cancel" />
  22. </footer>
  23. </form>
  24. </field>
  25. </record>
  26. </odoo>