Commit Graph
9 Commits
Author SHA1 Message Date
Cédric Krier 87f2c03f17 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:52 +01:00
Nicolas Évrard 4d6c727d4e Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Cédric Krier a7b70342d1 Catch KeyError on ModelData.get_id in default method
Since changeset 685f2d888dca, the default methods are always called in
__register__ when the XML files are not yet loaded.

issue6409
2017-04-01 10:41:52 +02:00
Cédric Krier bde958f471 Remove Property fields
issue2349
review28141002
2017-04-01 00:32:36 +02:00
Cédric Krier 4bf2f3c373 Fix most flake8 errors
review8771002
2014-12-02 12:55:39 +01:00
Cédric Krier 7424998f7d Fix usage of context company
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
2013-10-09 18:25:40 +02:00
Cédric Krier 348c470686 Fix pep8 2012-10-19 12:30:23 +02:00
Albert Cervera i Areny d61dd0d7bd Active Record 2012-09-24 22:12:50 +02:00
Cédric Krier 390b061559 Initial commit of production module 2012-05-13 23:00:54 +02:00