payroll compute sheet error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
latest trunk
Setup a database with demo data
Create a payroll slip for Quentin Paolino
Use "Compute Sheet " Button
you get the folllowing error
[2010-12-23 15:11:43,
Traceback (most recent call last):
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.exec_
File "/home/
return wf_service.
File "/home/
res2 = instance.
File "/home/
workitem.
File "/home/
ok = _split_test(cr, workitem, activity[
File "/home/
_join_test(cr, t[0], t[1], ident, stack)
File "/home/
create(
File "/home/
process(cr, res, ident, stack=stack)
File "/home/
result = _execute(cr, workitem, activity, ident, stack)
File "/home/
wkf_
File "/home/
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/
ret = eval(line, env, nocopy=True)
File "/home/
return eval(test_
File "", line 1, in <module>
File "/home/
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/
'name':'Salary Slip of %s for %s' % (slip.employee_
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Related branches
- qdp (OpenERP): Approve
-
Diff: 29 lines (+3/-2)1 file modifiedhr_payroll/hr_payroll.py (+3/-2)
- OpenERP R&D Team: Pending requested
-
Diff: 46 lines (+5/-5)3 files modifiedhr_timesheet_invoice/report/account_analytic_profit.rml (+1/-1)
hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit.py (+1/-1)
hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit_view.xml (+3/-3)
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → Incomplete |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.0-rc2 |
status: | Fix Committed → Fix Released |
The issue is due to the locale month name in French (décembre) which have an accent in the name.