Files
odoo_source/addons/mrp_subcontracting_account/models/__init__.py
T
William Henrotin db8f9967c5 [FIX] mrp_{subcontracting_}account: read price unit at validation
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>
2022-04-05 12:23:50 +02:00

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