Browse Source

[REF] b_shift : code cleaning

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
2efb75ccd1
  1. 2
      beesdoo_shift/data/mail_template.xml
  2. 2
      beesdoo_shift/models/res_config.py
  3. 10
      beesdoo_shift/views/attendance_sheet_admin.xml

2
beesdoo_shift/data/mail_template.xml

@ -40,7 +40,7 @@
<br/><br/>Your status have been updated to "${object.worker_id.state}".
<br/><br/>If you have any question regarding this non-attendance, feel free to contact us.
</p>
</br>
<br/>
<p>Sustainably yours,</p>
<p>${object.worker_id.company_id.name}.</p>

2
beesdoo_shift/models/res_config.py

@ -13,7 +13,7 @@ class ShiftConfigSettings(models.TransientModel):
default_task_type_id = fields.Many2one(
"beesdoo.shift.type",
string="Default Task Type",
help="Default task type for shifts added on an attendance sheet.",
help="Default task type for attendance sheet pre-filling.",
)
@api.multi

10
beesdoo_shift/views/attendance_sheet_admin.xml

@ -1,14 +1,4 @@
<odoo>
<!--
<record model="ir.ui.view" id="sheet_view_search">
<field name="name">Attendance Sheet Search</field>
<field name="model">beesdoo.shift.sheet</field>
<field name="arch" type="xml">
<search>
</search>
</field>
</record>
-->
<act_window id="action_sheet_admin_non_validated"
name="Non-validated sheets"

Loading…
Cancel
Save