Cédric Krier e0631bf9fe Do not update average cost price if the quantity is negative
This is the same test done in Move._compute_product_cost_price. When the stock
quantity is below zero, the average cost price should not change.
And we process the incoming move first in order to keep quantity positive
where possible.

issue9484
review325801002
2020-07-29 23:50:03 +02:00
2009-07-28 16:58:18 +02:00
2019-11-02 18:07:42 +01:00
2020-03-01 12:33:52 +01:00
2020-03-01 12:33:52 +01:00
2020-05-04 12:20:08 +02:00
2020-05-04 12:20:08 +02:00
2020-05-04 12:20:08 +02:00
2020-03-19 19:06:32 +01:00
2020-03-19 19:06:32 +01:00
2020-05-04 12:20:17 +02:00

Product Cost FIFO Module
########################

The Product Cost FIFO Module add a *FIFO* option in the Cost Method
field of the product form.

The cost price of product whose cost price method is *FIFO* will be
updated automatically when stock moves coming from a supplier or going
to a customer are made. The page `FIFO and LIFO accounting`_ on
Wikipedia gives some information about this costing method.

.. _FIFO and LIFO accounting: http://en.wikipedia.org/wiki/FIFO_and_LIFO_accounting
S
Description
Private Tryton customization repository for reviewed Dominican localization and controlled upstream integration.
Readme
390 MiB
0 Stars 2 Watchers 0 Forks
Languages
Python 88.1%
JavaScript 11%
Less 0.5%
HTML 0.2%
NSIS 0.1%