Guewen Baconnier
30a9167100
Adapt for inclusion in OCA
9 years ago
Guewen Baconnier
8d0cae1684
Remove reference to the model_name on rules
Because the model has been removed earlier (dead code)
9 years ago
Guewen Baconnier
c2d14725ee
Remove useless 'model_id' on changeset rules
9 years ago
Guewen Baconnier
481ebf6031
Do not keep recordsets in ormcache
Because they would be unreadable as soon as the cursor is closed.
Instead, we keep only the id and the record is browsed for every new
environment.
9 years ago
Guewen Baconnier
54b594eacb
Action is required
9 years ago
Guewen Baconnier
e97415f7fb
Rules are applied also for manual edition
9 years ago
Guewen Baconnier
c194e882a9
Differentiate rules according to their origin
9 years ago
Guewen Baconnier
ce978f1466
Add unique constraint (model_id, field_id) on rules
10 years ago
Guewen Baconnier
856dd90f6b
Rename addon according to the new term: partner_changeset
10 years ago
Guewen Baconnier
67547eb6f1
Rename 'revision' to 'changeset'
Because the term seems more adapted to what this module does: it does not
create revisions as one could expect with the full content of the partner,
instead it proposes changesets on a number of fields.
The renaming of the files follows in a second commit.
10 years ago
Guewen Baconnier
94e1765d75
Rename model revision.behavior to revision.field.rule
10 years ago
Guewen Baconnier
261305aedb
Cache the rules to avoid to many hits to the DB
As they are read on each partner write
10 years ago
Guewen Baconnier
0822533f9e
Create a partner revision on writes
10 years ago