csv import - error message must give record number and content
Bug #355493 reported by
Ferdinand
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Jay Vora (Serpent Consulting Services) |
Bug Description
this is an unusable error message
"The code of the account must be unique per company !"
It must show the code which raises the error
Related branches
Changed in openobject-server: | |
assignee: | nobody → JJA (OpenERP) (jja-openerp) |
status: | New → In Progress |
Changed in openobject-server: | |
assignee: | JJA (OpenERP) (jja-openerp) → sme(Tiny/Axelor) (sme.tiny.axelor) |
To post a comment you must log in.
XML-RPC error !
('warning -- Constraint Error\n\nThe code of the account must be unique per company !', 'Traceback (most recent call last):\n File "/data/ downloads/ bzr/branch/ server/ 5.0/bin/ netsvc. py", line 235, in dispatch\n result = LocalService( service_ name)(method, *params)\n File "/data/ downloads/ bzr/branch/ server/ 5.0/bin/ netsvc. py", line 74, in __call__\n return getattr(self, method)(*params)\n File "/data/ downloads/ bzr/openobject- server/ bin/addons/ audittrail/ audittrail. py", line 341, in execute\n res = my_fct( db, uid, passwd, object, method, *args)\n File "/data/ downloads/ bzr/openobject- server/ bin/addons/ audittrail/ audittrail. py", line 326, in my_fct\n return fct_src( db, uid, passwd, object, method, *args)\n File "/data/ downloads/ bzr/branch/ server/ 5.0/bin/ service/ web_services. py", line 497, in execute\n res = service.execute(db, uid, object, method, *args)\n File "/data/ downloads/ bzr/branch/ server/ 5.0/bin/ osv/osv. py", line 67, in wrapper\n self.abortRespo nse(1, \'Constraint Error\', \'warning\', self._sql_ error[key] )\n File "/data/ downloads/ bzr/branch/ server/ 5.0/bin/ netsvc. py", line 59, in abortResponse\n raise Exception("%s -- %s\\n\\ n%s"%(origin, description, details) )\nException: warning -- Constraint Error\n\nThe code of the account must be unique per company !\n')