openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12680
[Bug 1014947] Re: orm: import: import of 'reference' fields with bad data gives useless error message
** Patch added: "0001-orm-import-fix-useless-error-message-for-bogus-forma.patch"
https://bugs.launchpad.net/bugs/1014947/+attachment/3195531/+files/0001-orm-import-fix-useless-error-message-for-bogus-forma.patch
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1014947
Title:
orm: import: import of 'reference' fields with bad data gives useless
error message
Status in OpenERP Server:
New
Bug description:
Affected version: 6.1.1
When importing fields of type 'reference' from csv, if the field data
is invalid (as generated by the exporter, but that's another problem),
the error message given is not helpful:
"need more than 1 value to unpack"
The attached patch adds a useful error message, including the field
value that is failing validation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1014947/+subscriptions
References