Guewen Baconnier
e1d99f47a1
Adapt for inclusion in OCA
9 years ago
Guewen Baconnier
8ff2ee2418
Remove reference to the model_name on rules
Because the model has been removed earlier (dead code)
9 years ago
Guewen Baconnier
4b5f0a54a2
Remove useless 'model_id' on changeset rules
9 years ago
Guewen Baconnier
151f4972e1
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
37fb3a9774
Action is required
9 years ago
Guewen Baconnier
cebf649760
Rules are applied also for manual edition
9 years ago
Guewen Baconnier
9b8393167e
Differentiate rules according to their origin
9 years ago
Guewen Baconnier
f9a4ec2169
Add unique constraint (model_id, field_id) on rules
9 years ago
Guewen Baconnier
563b8ff4f0
Rename addon according to the new term: partner_changeset
9 years ago
Guewen Baconnier
e3c299828e
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.
9 years ago
Guewen Baconnier
d715129f3b
Rename model revision.behavior to revision.field.rule
9 years ago
Guewen Baconnier
5cb3c4f637
Cache the rules to avoid to many hits to the DB
As they are read on each partner write
9 years ago
Guewen Baconnier
4f415f67e6
Create a partner revision on writes
9 years ago