Skip to Content

Contributors

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

in odoo standard, analytic entries (account.analytic.line) are generated with journal entries (== invoices in v13 onwards).
It is also possible to create analytic entries separately, typically with timesheet. In fact timesheet entries are analytic lines

with the OCA module stock_analytic, analytic entries are created when a stock move is validated.
that is all as far as i know.

other modules, do not generate analytic lines, instead, they add an analytic account to a document, which eventually ends up/link up as/with a timesheet, an invoice or a stock move.

Regards,
Dominique

by dominique.k - 12:25 - 12 Oct 2020

Reference

  • Is there a way to create account.analytic.line from stock.move?
    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
    
    
    

    by Radovan Skolnik - 10:15 - 8 Oct 2020