We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.
issue9082
review297061002
Those attributes are stored as StringPartitioned and each part creates its own
translation record. The translated strings are constructed by concatenation of
each translated part.
issue8040
review46731002
- Enforce refresh session
- Remove write access for admin
- Use root to synchronize
- Do not fail if model does not exist anymore
- Remove from written values fields that do not exist anymore
- Rewrite fs_value to ensure normalized format
issue7950
review45971002
The group table is in a left join so group.active can be NULL for model/field
access without group. On such case the access values must still be selected.
issue7023
- remove invalid escape sequence
- use read_file instead of read_fp
- use importlib instead of imp and __import__
- use callable instead of instance of collections.Callable
- fix silent file closing
- replace SafeConfigParser by ConfigParser
- replace decodestring by decodebytes
- replace encodestring by encodebytes
issue7666
issue7390
review53361004
The same model can be registered multiple times by one module so the cleaning
can only happen when the all the classes have been registered.
issue7500
review53271002
changeset 83757dc87808 moved the buttons from res to ir module but it missed
the migration of the model data to allow updates from previous databases
issue7186
review38031003
This allows fast return when the checked model has no record in ir.model.data
which is the most common case. This allow to prevent to search for non
existing records.
issue7119
review37991002
In Python3, str has no more a decode method but it is the bytes type which has it.
Bytes is a synonym for str in Python2, so we can use it for this test.
issue5593
review25121002
It must not update the previous values as some field could have been removed.
Also there is no problem with module override because this button is called
during normal run and not the update module process, so the filesystem value
contains all the overridden values.
issue4992
review22451002
Initialize selection_change_with with en empty set. It must be a set to allow
later fields.depends to update it. The ModelAccess.check_relation must also
manage instance method.
issue4636
review14091002