In a subcontracting flow, the extra_cost on the subcontracted production is read on the purchase line (via _get_price_unit() ) at the production creation. In case the price unit on this purchase line change before the validation, the stock valuation layer linked to the production will not take this new value into account. This commit ensures the price unit is the right one at validation closes odoo/odoo#87726 Signed-off-by: Arnold Moyaux <arm@odoo.com>
8 lines
212 B
Python
8 lines
212 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import mrp_production
|
|
from . import stock_picking
|
|
from . import product_product
|
|
from . import stock_move
|