Commit Graph
17 Commits
Author SHA1 Message Date
Cédric Krier 7869121038 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
Nicolas Évrard 0366e5b818 Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Cédric Krier 98b86f6a5e Use task queue to process purchase
It adds configured delay for processing purchase which provides a grace period.
And it allows to reset to draft confirmed but not processed purchase.

issue7463
review49401002
2018-07-27 09:27:49 +02:00
Cédric Krier 9195b6f2b1 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:42:04 +02:00
Cédric Krier c6eadfa6ef Remove Property fields
issue2349
review32201002
2017-04-01 00:33:03 +02:00
Sergi Almacellas Abellana 316556e0c8 Read selection values from purchase model
issue6206
review31971002
2017-01-26 10:50:11 +01:00
Cédric Krier b477654cb5 Naming convention for code, number and reference
issue1479
review17171002
2016-03-28 10:33:48 +02:00
Cédric Krier 640950c212 Fix most flake8 errors
review8771002
2014-12-02 12:55:47 +01:00
Cédric Krier 253412a0c3 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:44 +02:00
Cédric Krier eeced05eec Active Record 2012-09-24 22:18:09 +02:00
Cédric Krier a8593f91bf Replace wrong usage of False by None
issue2512
2012-03-27 10:43:54 +02:00
Cédric Krier 82ebcba823 Make PYSON more Pythonic 2011-08-21 11:20:50 +02:00
Cédric Krier baa3c1cd01 Add test for depends 2011-08-04 16:57:38 +02:00
Nicolas Évrard b4e3884030 Set shipment/invoice method as configuration option 2011-03-29 15:18:15 +02:00
Mathias Behrle c9ff7fdcac Add docstring for configuration 2010-04-08 19:05:49 +02:00
Cédric Krier a01c37810a New interface for Function/Property fields 2010-03-11 16:53:13 +01:00
Bertrand Chenal 2c0372e185 Use model singleton to define which purchase sequence to use 2010-02-03 11:41:05 +01:00