Invoice a different amount than on the purchase order will not use the price difference account anymore. Instead it will create a layer with the difference. It means the stock valuation will be base on real quantity invoiced rather than the purchase order. Since the price different account does not exists: - Invoice correction is only done on `account.move.line` linked to a `purchase.order.line`. It means that additional lines won't be corrected and will debit the stock_input instead (that should be empty manually) Part-of: odoo/odoo#99411
14 lines
363 B
Python
14 lines
363 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import account_invoice
|
|
from . import account_move_line
|
|
from . import product
|
|
from . import purchase
|
|
from . import res_config_settings
|
|
from . import res_partner
|
|
from . import res_company
|
|
from . import stock
|
|
from . import stock_move
|
|
from . import stock_rule
|