Community mailing list archives

community@mail.odoo.com

Re: Last purchase price costing method?

by
NUMERIGRAPHE, Lionel Sausin
- 12/17/2014 03:28:20
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".

Please go ahead and test this branch of mine: https://github.com/numerigraphe/margin-analysis/tree/7.0-cost-purchase
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