Browse Source

[ADD] hide subscribe button is not worker

pull/15/head v1.1-2017-05-08
Thibault Francois 8 years ago
parent
commit
818115d353
  1. 3
      beesdoo_shift/views/cooperative_status.xml

3
beesdoo_shift/views/cooperative_status.xml

@ -7,7 +7,8 @@
<xpath expr="//sheet" position="before">
<header>
<button name="coop_subscribe" string="Subscribe to shift" class="oe_highlight"
type="object" groups="beesdoo_shift.group_shift_management"/>
type="object" groups="beesdoo_shift.group_shift_management"
attrs="{'invisible': [('eater', '!=', 'worker_eater')]}"/>
</header>
</xpath>
<field name="eater" position="after">

Loading…
Cancel
Save