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
Adrien Peiffer (ACSONE)
e125dccebc
Merge pull request #1 from Nowheresly/comma-sep-academic-titles
[IMP] use comma as separator. Put spaces into separator so that it is…
9 years ago
Jairo Llopis
0a6d4f9f70
PEP8 fix.
9 years ago
Jairo Llopis
5baedf7d18
Fix test that was having sentences after return.
9 years ago
Jairo Llopis
0b13c13287
After all, this was just a workaround. Remove it.
The real fix was in #171 . I leave the tests.
9 years ago
Jairo Llopis
f2ba28e980
Fix and test partner_contact_birthdate too.
Fix flake8 error too.
9 years ago
Jairo Llopis
c8d9dbe5f0
Fix bug #154 .
9 years ago
Jairo Llopis
d9655a5efb
Allow creation of partners from *Create and Edit*.
This fixes #78 and adds new tests for it.
9 years ago
Charbel Jacquin
5227ed3a3d
fix typo in README.rst, add myself to contributors
9 years ago
Charbel Jacquin
8981c760b3
remove PYLINT_EXCEPTED_ERRORS
9 years ago
Pedro M. Baeza
a266a74b41
Merge pull request #195 from grupoesoc/fix-78
Get default value for firstname and lastname
9 years ago
Stéphane Bidoul
1d7dc86ecc
[UPD] addons table in README.md
9 years ago
Laurent Mignon (ACSONE)
94c066f107
Use new API
9 years ago
Laurent Mignon (ACSONE)
c16efc392d
Fix module structure
9 years ago
Jairo Llopis
57d0eb7362
Inverse values of name if required at creation.
9 years ago
Jairo Llopis
de49548a77
Fix #78 . Test it too.
9 years ago