← Back to team overview

openerp-india team mailing list archive

[Bug 1075915] Re: on orm _validate calling any constraint method without context param

 

Hello,

It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-
server/trunk-bug-1075915-tpa

revision-id: tpa@xxxxxxxxxxx-20121204104045-irfr0xiehv11pekj

revno: 4631

Thanks,
Turkesh Patel

** Changed in: openobject-server
       Status: In Progress => Fix Committed

-- 
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/1075915

Title:
  on orm _validate calling any constraint method without context param

Status in OpenERP Server:
  Fix Committed

Bug description:
  Hello

  Please see osv/orm.py line 1447. _validate method calling constraint
  method without any context parameter.

  It's mostly seems okay. But some constraint method has raising
  exceptions (warning messages).

  If it doesn't pass context parameter then error messages cannot be
  translated ever.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1075915/+subscriptions


References