← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1075915

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

Status in OpenERP Addons (modules):
  New

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-addons/+bug/1075915/+subscriptions


Follow ups

References