Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Is there a way to create account.analytic.line from stock.move?

by
Data Dance s.r.o., Radovan Skolnik
- 08/10/2020 10:13:56
Hello,

we would like to use analytic accounts to track profitability of individual 
sales. So I'd setup automatic creation of analytic account on confirmed sale 
orders which would be propagated to invoices. This would cover the credit 
side. What I am struggling with is the debit side - i.e. costs of products. 
One way would be adding analytic account on POs/POLs but that is not feasible 
because we can have products in stock from past which we decide to sell. So my 
idea is to generate account.analytic.line records from stock.moves and assign 
them value according to average value. Are there any modules that would 
support this? Or should I choose different approach?

Thank you. Best regards

	Radovan Skolnik


Follow-Ups