Browse Source

[IMP] b_shift : attendance sheet validation button hidden when validated

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
db2a557b1e
  1. 4
      beesdoo_shift/views/attendance_sheet.xml

4
beesdoo_shift/views/attendance_sheet.xml

@ -100,12 +100,14 @@
<field name="_barcode_scanned" widget="barcode_handler"/>
<header>
<div>
<field name="state" widget="statusbar" readonly="True" />
<field name="state" widget="statusbar" readonly="True" class="oe_inline"/>
<button type="object"
name="validate_via_wizard"
string="Validate Sheet"
attrs="{'invisible': [('state', '=', 'validated')]}"
/>
</div>
<div class="oe_clear" />
</header>
<sheet>
<div class="oe_button_box" name="button_box">

Loading…
Cancel
Save