Merge lp:~openerp-groupes/openobject-server/trunk-context-constraints into lp:openobject-server
Proposed by
Olivier Ligot
Status: | Rejected |
---|---|
Rejected by: | Antony Lesuisse (OpenERP) |
Proposed branch: | lp:~openerp-groupes/openobject-server/trunk-context-constraints |
Merge into: | lp:openobject-server |
Diff against target: |
12 lines (+1/-1) 1 file modified
openerp/osv/orm.py (+1/-1) |
To merge this branch: | bzr merge lp:~openerp-groupes/openobject-server/trunk-context-constraints |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Antony Lesuisse (OpenERP) | Disapprove | ||
Review via email: mp+62285@code.launchpad.net |
Description of the change
This patch passes the context as argument when calling objects constraints.
This allow to use the context in constraints.
Note that the proposal is for trunk and not 6.0 as this is an API change (every constraint must now have context as their last argument in their signature).
To post a comment you must log in.
Unmerged revisions
- 3428. By Olivier Ligot
-
[IMP] Pass context as argument when calling constraints functions
Have you a specific use case for this?