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,



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to