Guewen Baconnier
d66f1c5a0e
Fix issue when applying empty many2one
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
72b10727cf
model_id has been removed
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
45ee8400f7
Store the source of a changeset
9 years ago
Guewen Baconnier
61c6fec6ce
Put the security groups links in noupdate
Put keep the groups in a noupdate=0 section so the records in ir.model.data
will still be modifiable by other modules.
9 years ago
Guewen Baconnier
cc06be4808
Add rules in demo data
9 years ago
Guewen Baconnier
f9a4ec2169
Add unique constraint (model_id, field_id) on rules
9 years ago
Guewen Baconnier
db3d7eca51
Add test coverage for caching of changeset rules
9 years ago
Guewen Baconnier
f19ab44cec
Add translations
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
98e84802fc
Documentation in README
9 years ago
Guewen Baconnier
d7cbc3c265
Add stat button and filters on partners
So the revisions are easier to reach than from the menus
9 years ago
Guewen Baconnier
860be445db
Add security groups and accesses
9 years ago
Guewen Baconnier
268e99594c
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.
9 years ago
Guewen Baconnier
ecc5a82a55
Set fields readonly
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
96cbf4d6fc
Optimization: make only 1 call to write per revision
Instead of 1 write per change
9 years ago
Guewen Baconnier
fd47e69496
Prevent to apply a revision if it has prior pending revisions
9 years ago
Guewen Baconnier
c6073789f1
Add a state on the revision model
9 years ago
Guewen Baconnier
e6b4296a1e
Improve the revision user interface
9 years ago
Guewen Baconnier
421abd14c2
Refactoring: move methods from partner to revision models
9 years ago
Guewen Baconnier
6ba0a83d9f
Support main types of fields
9 years ago
Guewen Baconnier
16e8f45fa2
Testing different types of fields (with failures)
9 years ago
Guewen Baconnier
c7d550a192
Document TestRevisionFlow testsuite
9 years ago
Guewen Baconnier
ea818e9cea
Apply changesets
9 years ago
Guewen Baconnier
a67c40d77e
Add first tests on revisions
9 years ago
Guewen Baconnier
4f415f67e6
Create a partner revision on writes
9 years ago
Guewen Baconnier
991eee798e
Create empty addons
9 years ago
OCA Git Bot
328ebf37a1
[UPD] addons table in README.md
9 years ago
Moises Lopez - https://www.vauxoo.com/
4082976e79
Merge pull request #178 from acsone/8.0-add-partner_academic_title-ape
[ADD] Add partner_academic_title module
9 years ago
Adrien Peiffer (ACSONE)
af29beac7c
[FIX][partner_academic_title] Flake8 issue
9 years ago
Adrien Peiffer (ACSONE)
a95c79be0e
[CHG][partner_academic_title] Add translate=True on academic title name
9 years ago
OCA Git Bot
66aae2227c
[UPD] addons table in README.md
9 years ago
Pedro M. Baeza
0ad410e1df
Merge pull request #200 from eLBati/fix_bug_154
FIX when partner_contact_birthdate and partner_relations are installa…
9 years ago
Holger Brunn
5ecaa71cac
[FIX] set active_ids only to existing records
9 years ago
Holger Brunn
356115bf09
[RFR] use v8 api for context adjustments
9 years ago
eLBati
5acea1e33b
Merge branch 'fix-154' into fix_bug_154
9 years ago
Jairo Llopis
43be030168
Merge branch '8.0' into fix-154
9 years ago
Stéphane Bidoul
6457663b3b
[UPD] addons table in README.md
9 years ago
eLBati
1c42befe87
FIX metadata
9 years ago
eLBati
995ab2cc1a
FIX when partner_contact_birthdate and partner_relations are installaed together, get
AccessError: ('AccessError', 'No value found for res.partner(43,).birthdate_date')
See https://github.com/OCA/partner-contact/issues/154
9 years ago
Pedro M. Baeza
4adb55ce41
Merge pull request #198 from grupoesoc/fix-78
Allow creation of partners from *Create and Edit*.
9 years ago
OCA Transbot
1579eac11b
OCA Transbot updated translations from Transifex
9 years ago