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

Loading…
Cancel
Save