c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04564
[Bug 655783] Re: crash when fail sql_constraint and try to translate
I would like to ask you to attach th module here.
Thanks.
--
crash when fail sql_constraint and try to translate
https://bugs.launchpad.net/bugs/655783
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Invalid
Bug description:
Hello, i defined a constraint with a fields as normal code:
_sql_constraints = [
('unique_inv_supplier',
'unique(in_reference,auth_id)',
'El numero de factura es unico.'),
]
When try to raise the error i get this traceback:http://openerp.pastebin.com/WRMY1fCG as you see the integrity error is try to showed then try to translated but bad query crash the system.
Regards,