Add translations
Add test coverage for caching of changeset rules
Add unique constraint (model_id, field_id) on rules
Add rules in demo data
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.
Store the source of a changeset
Differentiate rules according to their origin
Rules are applied also for manual edition
Action is required
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.
Remove useless 'model_id' on changeset rules
model_id has been removed
Remove reference to the model_name on rules
Because the model has been removed earlier (dead code)
Fix issue when applying empty many2one
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
Update translations
Use a selection widget on source model
Adapt for inclusion in OCA
Rename 'Pending Changesets' to 'Changes'
It's shorter
Add screenshots
Do not create a changeset when both sides are empty
But have a different type (e.g. False and '')
Fixing #1134.
Odoo stores values of computed fields at the end of the transaction
only, as such performing a 'read()' to make a data snapshot on the record
created in the current transaction doesn't return the expected result
regarding these fields.
Also as a side-effect 'read()' alters the environment cache and break the
values on the record inducing issues in the whole user
transaction/workflow.
This fix replaces the use of 'read()' to do the data snapshot directly
from the cache of the record (computed values are already there).
* Update _patch_methods and _revert_methods in auditlog.rule model to properly
track whether a method has already been patched for logging purposes. This
prevents duplicate logs from being produced in various cases (e.g. when a
logging rule is created as part of a module install)
- Update documentation to point to the new auditlog menu locations. These were changed because the 8.0 version was referencing menus that do not exist in 9.0
- Change version from 8.0.X.Y.Z to 9.0.1.0.0
- Make the module installable again
- Remove an unused parameter from pre-migration.py for versioning
- Fix typos and remove commented out blocks of code that were irrelevant