Julien Thewys
6b890c7d2b
WIP workaround migrate to v9
9 years ago
Guewen Baconnier
30a9167100
Adapt for inclusion in OCA
9 years ago
Guewen Baconnier
da60f876dc
Do not create changesets on moved contacts
As we just created the contact with a 'copy' we don't want to have a
changeset for the initialization values
9 years ago
Guewen Baconnier
a3e2ae68a3
Fix issue when applying empty many2one
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
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
11d83f3c8f
Store the source of a changeset
9 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
8fd2941570
Documentation in README
10 years ago
Guewen Baconnier
29a1e80a2a
Show the current or the old value according the change's state
The previous implementation had an issue which was that when a revision was
created, the partner's value was copied to the revision change and so if the
partner was edited, the revision change could show an outdated value.
What we want to ensure is to show the actual value when the change is pending
and show the old value when the change is done/canceled.
10 years ago
Guewen Baconnier
320dcd36e4
Set fields readonly
10 years ago
Guewen Baconnier
94e1765d75
Rename model revision.behavior to revision.field.rule
10 years ago
Guewen Baconnier
206d814c4a
Optimization: make only 1 call to write per revision
Instead of 1 write per change
10 years ago
Guewen Baconnier
0f6e8ee04c
Prevent to apply a revision if it has prior pending revisions
10 years ago
Guewen Baconnier
6efbd9425d
Add a state on the revision model
10 years ago
Guewen Baconnier
da0045dff5
Improve the revision user interface
10 years ago
Guewen Baconnier
b842bedd21
Refactoring: move methods from partner to revision models
10 years ago
Guewen Baconnier
f0ca39b1ab
Support main types of fields
10 years ago
Guewen Baconnier
9946a04aab
Apply changesets
10 years ago
Guewen Baconnier
0822533f9e
Create a partner revision on writes
10 years ago