mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] delivery_gso: gso_convert package weight
This commit is contained in:
@@ -384,7 +384,7 @@ class ProviderGSO(models.Model):
|
|||||||
elif not package:
|
elif not package:
|
||||||
est_weight_value = self._gso_convert_weight(picking.shipping_weight)
|
est_weight_value = self._gso_convert_weight(picking.shipping_weight)
|
||||||
else:
|
else:
|
||||||
est_weight_value = package.shipping_weight or package.weight
|
est_weight_value = self._gso_convert_weight(package.shipping_weight or package.weight)
|
||||||
|
|
||||||
request_body = {
|
request_body = {
|
||||||
'AccountNumber': sudoself.gso_account_number,
|
'AccountNumber': sudoself.gso_account_number,
|
||||||
|
|||||||
Reference in New Issue
Block a user