c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12089
[Bug 699866] Re: [trunk] Change default shortcut and update base module crash
** Changed in: openobject-server
Milestone: None => 6.0
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/699866
Title:
[trunk] Change default shortcut and update base module crash
Status in OpenObject Server:
Fix Released
Bug description:
Create a new database with French language.
As see in bug #699858, default shortcuts isn't translated. I remove
the 'Reconfigure' shortcut by clicking on 'Reconfigure', then on the
star on the first configuration wizard. Click a next time on the star
on the first configuration wizard to recreate the shortcut.
This new shortcut is translated with 'Démarrer la configuration'
value. But when I update the 'base' module, an error occurs.
Traceback :
[2011-01-07 16:16:26,789][test] ERROR:db.cursor:bad query: insert into "ir_ui_view_sc" (id,"resource","res_id","user_id","name",create_uid,create_date) values (10,E'ir.ui.menu',64,1,E'Reconfigure',1,now())
Traceback (most recent call last):
File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/sql_db.py", line 129, in execute
res = self._obj.execute(query, params)
IntegrityError: ERREUR: la valeur d'une clé dupliquée rompt la contrainte unique « ir_ui_view_sc_shortcut_unique »
Traceback (most recent call last):
File "/usr/lib/python2.6/logging/__init__.py", line 768, in emit
msg = self.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 648, in format
return fmt.format(record)
File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/netsvc.py", line 182, in format
return DBFormatter.format(self, record)
File "/home/quentin/Developpement/OpenERP_development/6.0/server/bin/netsvc.py", line 176, in format
return logging.Formatter.format(self, record)
File "/usr/lib/python2.6/logging/__init__.py", line 448, in format
s = s + record.exc_text
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1238: ordinal not in range(128)
References