← Back to team overview

openerp-india team mailing list archive

[Bug 891592] Re: Context not passed to _constraints functions

 

** Branch linked: lp:~openerp-community/openobject-server/stefan-
therp_lp891592-6.1

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

Title:
  Context not passed to _constraints functions

Status in OpenERP Server:
  New

Bug description:
  Hi,

  the context parameter is not passed to functions listed in the
  _constraints on the model.

  Note that a number of constraints functions (maybe all) in the base
  module do take the context argument.

  A common use case is where users are to be held to certain guidelines,
  while dirty data needs to be imported as is.

  Cheers,
  Stefan.

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


References