← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 891592] [NEW] Context not passed to _constraints functions

 

Public bug reported:

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.

** Affects: openobject-server
     Importance: Wishlist
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
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


Follow ups

References