Odoo Help

Welcome!

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.

0

Default company data for Invoice

By
Piotr Piotrowski
on 6/30/15, 6:19 AM 604 views

Hello everyone,


I have lost my hope to find proper place in code - could someone tell me, where is the place Odoo reads Logged USER company_id value, that is later used for transformation from Sale.Order -> Account.Invoice?

I have a problem with multi company environment: when I generate Account.Invoice object, Odoo reads User default company_id to set account_id for Account.Invoice.Line. This is good behaviour until I need one person to manage sale.orders/ account.invoices for more defined companies.

I would like Odoo to use company_id defined on sale.order instead. So I do not have to correct everything manually to bypass validation.


I hope someone will be able to tell me where it is hidden, or better, some documentation with sale.order -> account.invoice workflow.


Thanks a lot,

Piotr Piotrowski
 

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)

Stats

Asked: 6/30/15, 6:19 AM
Seen: 604 times
Last updated: 6/30/15, 6:19 AM