Commit Graph
19 Commits
Author SHA1 Message Date
Cédric Krier 3b9522097c 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 61d6247d34 Use direct access to backend classes
issue8836
review258421002
2019-12-06 17:33:46 +01:00
Cédric Krier 170b5f04e0 Remove double point in sale_process_after help 2018-09-10 09:51:50 +02:00
Cédric Krier 5dd275da5d Use task queue to process sale
It adds configured delay for processing sale which provides a grace period.
And it allows to reset to draft confirmed but not processed sale.

issue7460
review49391002
2018-07-27 09:26:03 +02:00
Sergi Almacellas Abellana 4627feb3b9 Don't return shipment methods in sale configuration invoice_method selection
issue6418
review36291002
2017-04-04 17:22:24 +02:00
Cédric Krier b2769295b4 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:31 +02:00
Cédric Krier ff30aef9b6 Remove Property fields
issue2349
review28151002
2017-04-01 00:36:49 +02:00
Sergi Almacellas Abellana fc227cd931 Read selection values from sale model
issue6206
review31961002
2017-01-26 10:49:18 +01:00
Cédric Krier 2192353cdb Naming convention for code, number and reference
issue1479
review17171002
2016-03-28 10:33:51 +02:00
Cédric Krier 22f5fcba0b Fix most flake8 errors
review8771002
2014-12-02 12:55:52 +01:00
Cédric Krier db35ecca35 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:47 +02:00
Cédric Krier 9c9b3932ba Active Record 2012-09-24 22:18:13 +02:00
Cédric Krier 5cc614577e Rename "On Order Confirmed" into "On Order Processed"
issue2473
2012-03-05 11:41:50 +01:00
Cédric Krier a3e73394eb Make PYSON more Pythonic 2011-08-21 11:20:51 +02:00
Cédric Krier b3ba785788 Add test for depends 2011-08-04 16:57:40 +02:00
Nicolas Évrard 25957f5cf9 Set invoice method as a configure option 2011-03-29 15:18:40 +02:00
Mathias Behrle 0ecb9aeef5 Add docstring for configuration 2010-04-08 19:13:58 +02:00
Cédric Krier f51b0b6241 New interface for Function/Property fields 2010-03-11 16:53:27 +01:00
Bertrand Chenal 5f33844705 Use a modelsingleton to define which sale sequence to use 2010-02-03 11:27:34 +01:00