# Community mailing list archives

#### Re: Last purchase price costing method?

by
Eva Pinter
- 12/17/2014 08:24:10
When you purchase goods, at the moment the goods enter your stock, you want to valuate them. The methods generally used for it are standard price (you fix the price for a given period) or moving average price (it recalculates the price per unit based on the new purchased done).

Now, when you take away goods from the stock, you want to have one of the 4 strategies:

1. You use the average price
2. You want to use FIFO strategy
3. You want to use LIFO strategy
4. You want to use the standard price

Let’s have a look at the average price.

When using FIFO, the system will search the oldest entry not yet used and take the value from it to calculate the COGS as well as the end value of the stock. For instance, you have bought 10 pieces for 100€ each and then 10 pieces for 200€ each. The average price is 150€.

1. When you use average: you will take away the pieces each for a price of 150€
2. When you use FIFO: The first 10 will be taken away at a price of 100€ and the next 10 at a price of 200€
3. When you use LIFO: The first 10 will be taken away at a price of 200€ and the next 10 at a price of 100€

So, at the moment you take goods, the value of the stock will change differently. The system will recalculate the average price based on the rest value of the stock and the quantities in stock.

I hope this can help clarify the different elements of price of the material.

Best regards

---
Eva P.

On 17 Dec 2014, at 08:42, Lionel Sausin <ls@numerigraphe.com> wrote:

I'm pretty sure LIFO and last price are not the same in many people's workflow.

However there was a very enlightening discussion recently on Odoo[1] and OCA's project "margin-analysis"[2] about last purchase price.

[1]    https://github.com/odoo/odoo/issues/3396#issuecomment-61172164
[2]    https://github.com/OCA/margin-analysis/issues/6#issuecomment-61228121
If I understand the expert, adding "last purchase price" as a costing method is probably wrong because it's not a "cost price" as defined by accounting rules.
So, the implementation I'm currently proposing for OCA is to have it computed as a distinct field called "replenishment price".

Whether you find it fit or not, I'd be glad to read from you on my pull request here: https://github.com/OCA/margin-analysis/pull/12

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

• #### Last purchase price costing method?

by
OpenERP Master
- 12/16/2014 19:02:27 - 0