Commit Graph
14 Commits
Author SHA1 Message Date
Cédric Krier 0612e60bf2 Include package weight to weight parcel
issue10145
review335721002
2021-03-29 23:40:01 +02:00
Cédric Krier 5fdf8cc434 Simplify manual alteration of shipment cost
issue10142
review340111002
2021-03-13 23:43:51 +01:00
Cédric Krier dfb26a46e0 Use depends on methods for carrier context
issue9492
review304001003
2020-08-05 00:27:46 +02:00
Cédric Krier e654046991 Ensure values can be sorted
The values may contain None which is not orderable so we insert a third
argument before the value to prevent to compare None value against others.

issue9381
review303881005
2020-07-21 00:36:40 +02:00
Cédric Krier f8dd25d768 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
Cédric Krier ad8fc83892 Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:46 +02:00
Cédric Krier 04dd75a6c7 Use tuple instead of None as default grouping key
In Python3, ordering None value is no more allowed.
We add a second line to the scenario to really test the ordering otherwise the
key function is not called.

issue7441
review53311002
2018-06-24 16:46:40 +02:00
Cédric Krier 4c283ec503 Use quantity if unit is weight as fallback for missing measurement
Same design as for stock_shipment_measurements.

issue6239
review29181003
2017-02-14 23:38:51 +01:00
Cédric Krier 2925e54f0c Add Python3 support
issue3211
review20031002
2016-03-11 21:01:53 +01:00
Cédric Krier 4b25a6f0c3 Fix most flake8 errors
review8771002
2014-12-02 12:55:11 +01:00
Cédric Krier 477f2ca0be Be safer with the on_change using One2Many values
review4261002
2014-03-16 15:41:11 +01:00
Albert Cervera i Areny 61c79cbf00 Avoid crash when weight is NULL
review1171003
issue3433
2013-10-20 15:51:29 +02:00
Cédric Krier a3b3f3db33 Active Record 2012-09-24 22:17:49 +02:00
Cédric Krier 8b0b6a7d80 Initial commit of carrier_weight module 2012-02-07 19:50:26 +01:00