Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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
 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
paź 24
1801
1
wrz 24
2232
1
sie 22
2691
1
lip 22
2231
1
paź 21
1248