-
- 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#80975 X-original-commit: 81ad4d6a Signed-off-by:William Henrotin (whe) <whe@odoo.com> Signed-off-by:
Arnold Moyaux <arm@odoo.com>
Showing
- addons/stock_landed_costs/i18n/stock_landed_costs.pot 1 addition, 1 deletionaddons/stock_landed_costs/i18n/stock_landed_costs.pot
- addons/stock_landed_costs/models/stock_landed_cost.py 13 additions, 5 deletionsaddons/stock_landed_costs/models/stock_landed_cost.py
- addons/stock_landed_costs/tests/common.py 10 additions, 2 deletionsaddons/stock_landed_costs/tests/common.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