Browse Source

[ADD] b_shift : traductions

pull/125/head
Elouan Le Bars 5 years ago
parent
commit
c66577fbb4
  1. 1248
      beesdoo_shift/i18n/fr.po
  2. 1249
      beesdoo_shift/i18n/fr_BE.po
  3. 2543
      beesdoo_shift/i18n/nl_BE.po
  4. 4
      beesdoo_shift/models/attendance_sheet.py
  5. 4
      beesdoo_shift/models/cooperative_status.py
  6. 2
      beesdoo_shift/models/planning.py
  7. 2
      beesdoo_shift/views/cooperative_status.xml
  8. 4
      beesdoo_shift/views/task.xml

1248
beesdoo_shift/i18n/fr.po
File diff suppressed because it is too large
View File

1249
beesdoo_shift/i18n/fr_BE.po
File diff suppressed because it is too large
View File

2543
beesdoo_shift/i18n/nl_BE.po
File diff suppressed because it is too large
View File

4
beesdoo_shift/models/attendance_sheet.py

@ -157,7 +157,7 @@ class AttendanceSheet(models.Model):
) )
week = fields.Char( week = fields.Char(
string="Week", string="Week",
help="Computed from planning names",
help="Computed from planning name",
compute="_compute_week", compute="_compute_week",
) )
@ -178,7 +178,7 @@ class AttendanceSheet(models.Model):
readonly=True, readonly=True,
help="Indicative maximum number of workers.", help="Indicative maximum number of workers.",
) )
notes = fields.Text("Notes", default="")
notes = fields.Text("Notes", default="", help="Notes about the attendance for the Members Office")
is_annotated = fields.Boolean( is_annotated = fields.Boolean(
compute="_compute_is_annotated", compute="_compute_is_annotated",
string="Is annotated", string="Is annotated",

4
beesdoo_shift/models/cooperative_status.py

@ -43,8 +43,8 @@ class CooperativeStatus(models.Model):
info_session = fields.Boolean('Information Session ?') info_session = fields.Boolean('Information Session ?')
info_session_date = fields.Datetime('Information Session Date') info_session_date = fields.Datetime('Information Session Date')
super = fields.Boolean("Super Cooperative") super = fields.Boolean("Super Cooperative")
sr = fields.Integer("Compteur shift regulier", default=0)
sc = fields.Integer("Compteur shift de compensation", default=0)
sr = fields.Integer("Regular shifts counter", default=0)
sc = fields.Integer("Compensation shifts counter", default=0)
time_extension = fields.Integer("Extension Days NB", default=0, help="Addtional days to the automatic extension, 5 mean that you have a total of 15 extension days of default one is set to 10") time_extension = fields.Integer("Extension Days NB", default=0, help="Addtional days to the automatic extension, 5 mean that you have a total of 15 extension days of default one is set to 10")
holiday_start_time = fields.Date("Holidays Start Day") holiday_start_time = fields.Date("Holidays Start Day")
holiday_end_time = fields.Date("Holidays End Day") holiday_end_time = fields.Date("Holidays End Day")

2
beesdoo_shift/models/planning.py

@ -139,7 +139,7 @@ class TaskTemplate(models.Model):
def _nb_worker_max(self): def _nb_worker_max(self):
for rec in self: for rec in self:
if len(rec.worker_ids) > rec.worker_nb: if len(rec.worker_ids) > rec.worker_nb:
raise UserError(_('you cannot assign more worker then the number maximal define on the template'))
raise UserError(_('You cannot assign more workers than the maximal number defined on template.'))
@api.onchange('start_time', 'end_time') @api.onchange('start_time', 'end_time')

2
beesdoo_shift/views/cooperative_status.xml

@ -149,7 +149,7 @@
<field name="date" /> <field name="date" />
</group> </group>
</group> </group>
<separator string="Affected cooperator" />
<separator string="Assigned cooperator" />
<field name="line_ids" readonly="1"> <field name="line_ids" readonly="1">
<tree> <tree>
<field name="cooperator_id" /> <field name="cooperator_id" />

4
beesdoo_shift/views/task.xml

@ -202,7 +202,7 @@
<!-- Actions --> <!-- Actions -->
<record model="ir.actions.act_window" id="action_task"> <record model="ir.actions.act_window" id="action_task">
<field name="name">Task Action</field>
<field name="name">Shifts</field>
<field name="res_model">beesdoo.shift.shift</field> <field name="res_model">beesdoo.shift.shift</field>
<field name="view_mode">kanban,calendar,tree,form,pivot</field> <field name="view_mode">kanban,calendar,tree,form,pivot</field>
<field name="context">{'search_default_today': 1, <field name="context">{'search_default_today': 1,
@ -213,7 +213,7 @@
<menuitem name="Planning" id="menu_task_top" parent="menu_root" <menuitem name="Planning" id="menu_task_top" parent="menu_root"
sequence="1" groups="beesdoo_shift.group_shift_attendance" /> sequence="1" groups="beesdoo_shift.group_shift_attendance" />
<!-- actions --> <!-- actions -->
<menuitem name="Shift" id="menu_task" parent="menu_task_top"
<menuitem name="Shifts" id="menu_task" parent="menu_task_top"
action="action_task" groups="beesdoo_shift.group_shift_attendance" /> action="action_task" groups="beesdoo_shift.group_shift_attendance" />
</odoo> </odoo>
Loading…
Cancel
Save