c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04520
Re: [Bug 655783] Re: crash when fail sql_constraint and try to translate
On Wednesday 06 October 2010, you wrote:
> Running the server with --debug i catch this:
> http://openerp.pastebin.com/gNyxDU16 as message completely unfriendly.
> screenshot attached.
>
I confirm the bug.
We made a special module, here, to reproduce the bug and have a fix pending for
revision.
--
Say NO to spam and viruses. Stop using Microsoft Windows!
--
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,