|
@ -26,6 +26,9 @@ |
|
|
<button name="coop_unsubscribe" string="Unsubscribe" class="oe_highlight" |
|
|
<button name="coop_unsubscribe" string="Unsubscribe" class="oe_highlight" |
|
|
type="object" groups="beesdoo_shift.group_shift_management" |
|
|
type="object" groups="beesdoo_shift.group_shift_management" |
|
|
attrs="{'invisible': [('cooperator_type', '!=', 'share_a')]}"/> |
|
|
attrs="{'invisible': [('cooperator_type', '!=', 'share_a')]}"/> |
|
|
|
|
|
<button name="register_holiday" string="Register Holidays" class="oe_highlight" |
|
|
|
|
|
type="object" groups="beesdoo_shift.group_shift_management" |
|
|
|
|
|
attrs="{'invisible': ['|', ('cooperator_type', '!=', 'share_a'), ('state', '!=', 'ok')]}"/> |
|
|
<field name="state" widget="statusbar" attrs="{'invisible': [('cooperator_type', '!=', 'share_a')]}" /> |
|
|
<field name="state" widget="statusbar" attrs="{'invisible': [('cooperator_type', '!=', 'share_a')]}" /> |
|
|
</header> |
|
|
</header> |
|
|
</xpath> |
|
|
</xpath> |
|
|