Merge branch 'fix/12.0/H9214_delivery_fedex_hibou__shipper_warehouse' into '12.0-test'

fix/12.0/H9214_delivery_fedex_hibou__shipper_warehouse into 12.0-test

See merge request hibou-io/hibou-odoo/suite!1192
This commit is contained in:
Hibou Bot
2021-11-29 18:13:09 +00:00

View File

@@ -278,7 +278,7 @@ class DeliveryFedex(models.Model):
commodity_country_of_manufacture = picking.picking_type_id.warehouse_id.partner_id.country_id.code
for operation in picking.move_line_ids:
commodity_amount = operation.move_id.sale_line_id.price_unit or operation.product_id.list_price
commodity_amount = operation.move_id.sale_line_id.price_unit or operation.product_id.lst_price
total_commodities_amount += (commodity_amount * operation.qty_done)
commodity_description = operation.product_id.name
commodity_number_of_piece = '1'