← Back to team overview

openerp-india team mailing list archive

[Bug 1152204] Re: [7.0 ] context is not passed to constraints function

 

*** This bug is a duplicate of bug 891592 ***
    https://bugs.launchpad.net/bugs/891592

Yes, it's lp:891592. I still support it for various reasons, such as
being able to raise translatable errors from the constraint itself or
being able to import slightly corrupt data for migration purposes (by
means of checking for a custom context key that is passed at import
time).


** This bug has been marked a duplicate of bug 891592
   Context not passed to _constraints functions

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

Title:
  [7.0 ] context is not passed to constraints function

Status in OpenERP Server:
  New

Bug description:
  when you redefine a constraint function used in _constraints property
  of Model Class. The context passed to the CRUD function is not
  transmitted to constraint functions. It is probabely the same if the
  function in redefined.

  
  Regards

  Nicolas

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


References