← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 655783] Re: crash when fail sql_constraint and try to translate

 

Hello Christian,

   I have checked the issue again at my end, unfortunately I am still
unable to reproduce the problem at my end.

Thanks.

** Changed in: openobject-server
   Importance: Medium => Undecided

** Changed in: openobject-server
       Status: New => Invalid

** Changed in: openobject-server
    Milestone: 6.0 => None

-- 
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,