Use total weight of package
issue6158 review29891002
This commit is contained in:
1 parent
d08f6edc36
commit
ee12d825b9
4 files changed
+11
-2
No files matched your search
@@ -1,2 +1,4 @@
|
||||
* Use total weight of package
|
||||
|
||||
Version 4.2.0 - 2016-11-28
|
||||
* Initial release
|
||||
* Initial release
|
||||
@@ -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
|
||||
------------
|
||||
|
||||
@@ -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)),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ depends:
|
||||
party
|
||||
product
|
||||
stock
|
||||
stock_shipment_measurements
|
||||
stock_package
|
||||
stock_package_shipping
|
||||
xml:
|
||||
|
||||
Reference in new issue
Block a user