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 '')
That model is intended only to set config and has no fields, so there is
no need for creating a DB table for it. This is achieved by switching
the model type from transient to abstract.
* [FIX] company_country: Don't fail if account is already installed
When `company_country` is installed, it performs the following:
- Look for the `COUNTRY` environment variable
- If not found, look for a `l10n_*` module that is about to be installed
- If not found, raise an exception
However, If the account module is installed, it shouldn't fail even if
the environment variable is not defined, because changing the
company's country will have no effect anyway, as the account hook was
already run and an `l10n` module was already been installed.
This commit fixes the above by skipping the process if the `account`
module is installed, and print an informative message to the log.
* Update __manifest__.py
Co-authored-by: Moises Lopez - https://www.vauxoo.com/ <moylop260@vauxoo.com>