Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

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

by
ForgeFlow, S.L., Aarón Henríquez
- 08/10/2020 10:40:36
Yes. It is possible. You need a couple of modules:

https://apps.odoo.com/apps/modules/12.0/stock_analytic/ adds the analytic account to the stock move.
https://github.com/ForgeFlow/eficent-odoo-addons/tree/12.0/purchase_stock_analytic I use this for passing the analytic form the PO lines to the stock moves. I think there is a similar one in the OCA apps but I don't remember what it is called.
https://github.com/OCA/account-analytic/tree/12.0/procurement_mto_analytic To pass the analytic information from the SO to the stock moves of the delivery.

Regards.

On Thu, 8 Oct 2020 at 10:17, Radovan Skolnik <radovan@skolnik.info> wrote:
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


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference