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
Data Dance s.r.o., Radovan Skolnik
- 08/10/2020 13:47:14
Thanx Aaron for info. But do I understand it correctly that this only 
propagates analytic account value into different objects but does not create 
account.analytic.line records? I need to get cost of products into them as 
negative amounts to be able to calulate profitability of analytic account.

Best regards

	Radovan

On štvrtok 8. októbra 2020 10:42:06 CEST Aarón Henríquez Quintana wrote:

> Yes. It is possible. You need a couple of modules:

> https://apps.odoo.com/apps/modules/12.0/stock_analytic/ [1] adds the

> analytic account to the stock move.

> https://github.com/ForgeFlow/eficent-odoo-addons/tree/12.0/purchase_stock_a

> nalytic [2] 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

> [3]  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 [4] >

> 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 [5]

> Post to: mailto: contributors@odoo-community.org [6]

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [7]

> 

> 

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 [8]

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [9]

> 

> 

> 

> [1] https://apps.odoo.com/apps/modules/12.0/stock_analytic/

> [2]

> https://github.com/ForgeFlow/eficent-odoo-addons/tree/12.0/purchase_stock_a

> nalytic [3]

> https://github.com/OCA/account-analytic/tree/12.0/procurement_mto_analytic

> [4] mailto:radovan@skolnik.info

> [5] https://odoo-community.org/groups/contributors-15

> [6] mailto:contributors@odoo-community.org

> [7] https://odoo-community.org/groups?unsubscribe

> [8] https://odoo-community.org/groups/contributors-15

> [9] https://odoo-community.org/groups?unsubscribe




Reference