odoo/odoo#194182

Created by fw-bot
Merged at ab79475f86c07432567a5d83d06e2eed866a70e9

Statuses:

label
odoo-dev:18.0-saas-17.4-pos_self_order-price-mismatch-for-combo-line-in-terminal-fix-jipr-Y2Dm-fw
head
67a29a0a4bce774e6bab9f6aaac9ff60c1aedc8c
merged
4 months ago by POS IoT, Jitendra Kumar Prajapat (jipr)
odoo/odoo
saas-17.4 #193356
18.0 #194182
saas-18.1 #194324
saas-18.2
saas-18.3
master #194340

[FW][FIX] pos_self_order: corrected price calculation for combo product lines

Issue:

Combo product lines in the POS frontend displayed incorrect prices when order from self Order

Cause:

The price_unit was being calculated without considering the combo_item_id. For example:
price_unit += pos_order_line.combo_price + price_extra_child`

Fix:

The combo_item_id was included in the calculation to ensure accuracy:
price_unit += pos_order_line.combo_item_id.combo_price + price_extra_child

task-4464002

Forward-Port-Of: #193356