-
- Downloads
[FIX] stock_landed_costs: Allow to use LC without real_time
The requirement of having real_time valuation in product categories to use LC is not needed
at all, as the information is taken from stock.valuation.layer, but it was previously
enforced due to the leftovers of the previous algorithm.
We remove such requirement in this commit, and also not creating the LC journal entry in
such cases.
TT32954
closes odoo/odoo#80200
Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
Showing
- addons/stock_landed_costs/models/stock_landed_cost.py 12 additions, 5 deletionsaddons/stock_landed_costs/models/stock_landed_cost.py
- addons/stock_landed_costs/tests/common.py 9 additions, 3 deletionsaddons/stock_landed_costs/tests/common.py
- addons/stock_landed_costs/tests/test_stock_landed_costs.py 2 additions, 0 deletionsaddons/stock_landed_costs/tests/test_stock_landed_costs.py
- addons/stock_landed_costs/tests/test_stock_landed_costs_purchase.py 51 additions, 0 deletions...ck_landed_costs/tests/test_stock_landed_costs_purchase.py
Loading
Please register or sign in to comment