Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Retroactively add analytic account to invoice lines

Steven Segers
on 11/21/15, 5:28 PM 746 views

I'm setting up analytic accounting. I'd find it interesting to add analytic accounts on all invoices of the current and previous fiscal year. By default it's not possible to change the analytic account on invoices that are validated and paid. (Which makes sense).

Is there any way I could still make this happen? Can this be managed through permissions perhaps?


Ray Carnes

--Ray Carnes--
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 11/24/15, 9:27 PM

1. Install account_cancel

2. Configure** the Vendor Bills (Purchases) and Customer Invoices (Sales) Journals by checking Allow Cancelling Entries on the Miscellaneous section of the Advanced Settings tab of the Journal.

3. Unreconcile every Invoice Journal Entry, add the desired Analytic Account and repost to get the Analytic moves.

This could be very time consuming, depending on the number of Invoices you have.

** You need to have Developer Mode activated to do this.

That's indeed an option. But as you said, this would really be a lot of work. What I think will be an easier solution is export all history to an excel file, assign analytic accounts there and import as regular analytic lines.

Segrey Software BVBA, Steven Segers
on 11/29/15, 5:20 AM

Agreed - your suggestion is a great way to do it.

Bista Solutions US, Ray Carnes
on 11/29/15, 5:09 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 11/21/15, 5:28 PM
Seen: 746 times
Last updated: 11/29/15, 5:19 AM