Browse Source

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

pull/143/head
Elouan Le Bars 5 years ago
parent
commit
6509edb30b
  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