Browse Source

[MIG] b_shift : fix views to fit 12.0 requirements

pull/143/head
Elouan Le Bars 4 years ago
parent
commit
b4c7fd1b66
  1. 20
      beesdoo_shift/views/attendance_sheet.xml

20
beesdoo_shift/views/attendance_sheet.xml

@ -137,8 +137,7 @@
<form create="false" delete="false"> <form create="false" delete="false">
<field name="_barcode_scanned" widget="barcode_handler"/> <field name="_barcode_scanned" widget="barcode_handler"/>
<header> <header>
<div>
<field name="state" widget="statusbar" readonly="True" class="oe_inline"/>
<field name="state" widget="statusbar" readonly="True"/>
<button type="object" <button type="object"
name="validate_with_checks" name="validate_with_checks"
string="Validate Sheet" string="Validate Sheet"
@ -146,10 +145,7 @@
and you won't be able to add any latecomers. and you won't be able to add any latecomers.
The counters of those who didn't attend will be updated The counters of those who didn't attend will be updated
and they will get warning emails." and they will get warning emails."
attrs="{'invisible': [('state', '=', 'validated')]}"
/> />
</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">
@ -171,29 +167,23 @@
<field name="time_slot" /> <field name="time_slot" />
</h1> </h1>
</div> </div>
<group>
<field name="max_worker_no" />
</group>
You will be able to write notes You will be able to write notes
about what you cannot encode here about what you cannot encode here
when clicking on 'validate'.
when clicking on 'validate'.<br/><br/>
<label for="max_worker_no" />
<field name="max_worker_no" />
<separator string="Added workers" /> <separator string="Added workers" />
<field name="added_shift_ids"/> <field name="added_shift_ids"/>
<separator string="Expected workers" /> <separator string="Expected workers" />
<field name="expected_shift_ids" /> <field name="expected_shift_ids" />
<br/> <br/>
<group col="1" string="Feedback"
<group string="Feedback"
groups="beesdoo_shift.group_cooperative_admin"> groups="beesdoo_shift.group_cooperative_admin">
<field name="notes" /> <field name="notes" />
<br/>
<field name="feedback" /> <field name="feedback" />
<br/>
<field name="worker_nb_feedback" /> <field name="worker_nb_feedback" />
<br/>
<group>
<field name="validated_by" readonly="True"/> <field name="validated_by" readonly="True"/>
</group> </group>
</group>
</sheet> </sheet>
<div class="oe_chatter"> <div class="oe_chatter">
<field name="message_ids" <field name="message_ids"

Loading…
Cancel
Save