-
- Downloads
[IMP] stock_account: change the standard price calculation for FIFO products
Before ====== If a product is FIFO, the standard price is the unit cost of the last released. ``` + 1 product @ 10€ + 1 product @ 15€ - 1 product -> Actual standard price is 10€ ``` After ===== If a product is FIFO, the standard price of the ``product.product`` is the unit cost of the next product which will be released ``` + 1 product @ 10€ + 1 product @ 15€ - 1 product -> Actual standard price is 15€ ``` Task #2038418
Showing
- addons/purchase_stock/tests/test_fifo_price.py 6 additions, 6 deletionsaddons/purchase_stock/tests/test_fifo_price.py
- addons/purchase_stock/tests/test_fifo_returns.py 1 addition, 1 deletionaddons/purchase_stock/tests/test_fifo_returns.py
- addons/sale_stock/tests/test_anglo_saxon_valuation.py 2 additions, 2 deletionsaddons/sale_stock/tests/test_anglo_saxon_valuation.py
- addons/stock_account/models/product.py 4 additions, 0 deletionsaddons/stock_account/models/product.py
- addons/stock_account/models/stock_move.py 6 additions, 0 deletionsaddons/stock_account/models/stock_move.py
- addons/stock_account/tests/test_stockvaluation.py 85 additions, 0 deletionsaddons/stock_account/tests/test_stockvaluation.py
- addons/stock_account/tests/test_stockvaluationlayer.py 1 addition, 2 deletionsaddons/stock_account/tests/test_stockvaluationlayer.py
Loading
Please register or sign in to comment