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
A function field can not be used as when it's called with a list of
records, the MissingFunction may raise an error for products that are
not of asset type
issue6634
review43281002
The states definition uses the account category field, but indeed the
accounts_category field must be used in order to allow defining the
taxes on the product when the account_category is filled but the
accounts_category is unchecked.
issue6631
review43271002
There is no real need for this field to be a Property, it is only a default
value that should most of the time be the same for all companies.
issue6395
review27251002
Because of the batch mode of Function field, the getter must not raise error
otherwise the error can be raised for a record that doesn't require the
account.
So we introduce an new kind of Function field which raise the error only at the
accessor level.
issue4087
review9531002
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.
issue3394
review1119002