diff options
| author | Olivier Dony <odo@openerp.com> | 2011-03-24 12:17:57 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-03-24 12:17:57 +0100 |
| commit | 444df6affa914a6dccd05ffaaeb02335488ec720 (patch) | |
| tree | c471f446ea513d4456ff910f4845fb2e23921405 /addons/web_graph/static/lib/dhtmlxGraph/codebase | |
| parent | 6a46a151858622a20c6c129405a222ed88dc5a86 (diff) | |
[FIX] ir.rule,expression: domain expressions must be normalized before they can be safely combined
This adds a normalize_domain() method to osv.expression, which ir.rule calls
before combining expressions due to multiple rules or groups being applicable
to a certain user.
YAML tests are also added with a trivial unit test of normalize_domain() and
some additional tests for ir_rule in order to verify that unnormalized domains
are properly normalized before being combined by ir.rule.
bzr revid: odo@openerp.com-20110324111757-uwuoqvm3lxkipr08
Diffstat (limited to 'addons/web_graph/static/lib/dhtmlxGraph/codebase')
0 files changed, 0 insertions, 0 deletions
