diff --git a/delivery_fedex_hibou/models/delivery_fedex.py b/delivery_fedex_hibou/models/delivery_fedex.py index ad6d2611..c66f4f4d 100644 --- a/delivery_fedex_hibou/models/delivery_fedex.py +++ b/delivery_fedex_hibou/models/delivery_fedex.py @@ -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'