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.


Account Code for Invoice

on 3/24/15, 9:53 PM 389 views


I would like to know if there is any way to map the Invoice's Dr/Cr Account code by invoice type?  When create the invoice from Sale Order, the account code will be "110200 Debtors" (in demo data).  However, I want it create the invoice to account code, e.g. 110201 Debtors - China, if particular invoice type is input.



Jerry P
On 3/24/15, 11:13 PM

Emily, when I click "Create Invoice" on a Sales Order, I am given the option to "Create and View Invoice", at that point, I can click "Edit" in the top left. I can then change "Account" in the top right to any Account Receivable. Does this answer your question?

Re: Automatic:

I believe you could create a custom module that checks a custom field on the sales order for "China", but then you would still have to select "China" on every sales order, so it is not necessarily automatic.

You could do it based on the Customer, is that what you are looking to do? (Customer>Accounting>Account Receivable)

If you provide more details of how you are using it and what you are trying to do, that may help.

On 3/24/15, 11:28 PM


But I would like to have some automatically method instead of changing it manually every time.

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: 3/24/15, 9:53 PM
Seen: 389 times
Last updated: 3/24/15, 11:36 PM