Current behavior: When selling a kit in PoS, the total cost of the kit is not computed correctly if the product category was using fifo/avco. Steps to reproduce: - Create a product category using fifo - Create a kit product with 2 products in it (Comp A with a cost of 5 and Comp B with a cost of 10). Total cost of product is 15. - Create a PoS order with the kit product, and validate it - Check the total cost of the product in the pos sale order, it is 0 but it should be 15. opw-3189949 closes odoo/odoo#127325 X-original-commit: 6fd2a939651e7afc06fa9eed2eeeebc34752fc25 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com> Signed-off-by: Robin Engels (roen) <roen@odoo.com>
5 lines
124 B
Python
5 lines
124 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import pos_order
|