Use total weight of package

issue6158
review29891002
This commit is contained in:
Cédric Krier committed 2017-02-01 21:21:01 +01:00
1 parent d08f6edc36
commit ee12d825b9
4 files changed
+11 -2

No files matched your search

+3 -1
View File
@@ -1,2 +1,4 @@
* Use total weight of package
Version 4.2.0 - 2016-11-28
* Initial release
* Initial release
+6
View File
@@ -6,6 +6,12 @@ Prerequisites
* Python 2.7 or later (http://www.python.org/)
* trytond (http://www.tryton.org/)
* trytond_party (http://www.tryton.org/)
* trytond_product (http://www.tryton.org/)
* trytond_stock (http://www.tryton.org/)
* trytond_stock_shipment_measurements (http://www.tryton.org/)
* trytond_stock_package (http://www.tryton.org/)
* trytond_stock_package_shipping (http://www.tryton.org/)
Installation
------------
+1 -1
View File
@@ -309,7 +309,7 @@ class CreateShippingUPS(Wizard):
'UnitOfMeasurement': {
'Code': 'KGS' if use_metric else 'LBS',
},
'Weight': str(UoM.compute_qty(kg, package.weight,
'Weight': str(UoM.compute_qty(kg, package.total_weight,
kg if use_metric else lb)),
},
}
+1
View File
@@ -6,6 +6,7 @@ depends:
party
product
stock
stock_shipment_measurements
stock_package
stock_package_shipping
xml: