Commit Graph
8 Commits
Author SHA1 Message Date
Cédric Krier 3cb5ce01c6 Fix flake8 errors and warnings
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
2020-03-01 12:33:53 +01:00
Cédric Krier d9d842543f Use Model.__names__
issue8159
review72431002
2019-03-15 12:27:07 +01:00
Sergi Almacellas Abellana 34a39f3ad6 Add default name ordering on referential models
issue7971
review66501002
2019-01-30 11:58:58 +01:00
Cédric Krier 5ae250c8ce Fix migration to use ir.calendar
issue7815
issue7962
2019-01-03 12:00:31 +01:00
Cédric Krier 587669578f Add ir.calendar for month and day
This allows to replace time_locale and use the translation infrastructure
instead. So it can be customized using the translation override or derivative
languages.
This provides also a standard base to modules that needs calendar month and
day.

issue7815
review56451002
2019-01-01 15:47:23 +01:00
Cédric Krier b3eafebeb4 Add ir.message and use custom exceptions
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier 75a7b7153c Fix typo in invalid_bysetpos error message
issue6457
review37331002
2017-04-21 22:30:54 +02:00
Cédric Krier 20ffbe0c35 Initial commit
issue6043
review32811002
2017-04-02 00:40:05 +02:00