5RC3 Task summary in Task work: String with char like é è or empty field unexpected

Bug #320427 reported by os33
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

1° String with char 'é' in Task summary (Task work)

Sur une tâche, la validation de la ligne de travail effectué génère un bug si le champ résumé des tâches contient un caractère accentué.

Traceback (most recent call last):
  File "netsvc.pyo", line 421, in run
  File "service\web_services.pyo", line 427, in execute
  File "osv\osv.pyo", line 59, in wrapper
  File "osv\osv.pyo", line 120, in execute
  File "osv\osv.pyo", line 112, in execute_cr
  File "osv\orm.pyo", line 2216, in write
  File "osv\fields.pyo", line 434, in set
  File "C:\Program Files\OpenERP AllInOne\Server\addons\project_timesheet\project_timesheet.py", line 58, in create
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

2° Empty string in Task summary (Task work)

Sur une tâche, la validation de la ligne de travail effectué génère un bug si le champ résumé des tâche est vide

Traceback (most recent call last):
  File "netsvc.pyo", line 421, in run
  File "service\web_services.pyo", line 427, in execute
  File "osv\osv.pyo", line 59, in wrapper
  File "osv\osv.pyo", line 120, in execute
  File "osv\osv.pyo", line 112, in execute_cr
  File "osv\orm.pyo", line 2216, in write
  File "osv\fields.pyo", line 434, in set
  File "C:\Program Files\OpenERP AllInOne\Server\addons\project_timesheet\project_timesheet.py", line 58, in create
TypeError: coercing to Unicode: need string or buffer, bool found

os33 (olivier-sommier)
description: updated
os33 (olivier-sommier)
description: updated
Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Thank you for your bug report

Fixed in trunk

Changed in openobject-addons:
milestone: none → 5.0
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.