We are a company with 3 sub companies.
We want to have invoices with different logo's, but just one chart of account.
Every tutorial is about having multiple chart of accounts, and everytime we try to work around it, we get permission errors when creating invoices.
We have tried it with one Admin for all companies, multiple Admins (for each company one admin), multiple warehouses with each it's own admin, nothing works. We get stuck on adding taxes to the products, or with creating invoices. (Permission errors, or the system tries to force us to use multiple chart of accounts).
Who knows a way to get what we want?
Same target here for a testing project.
Research result: "Webkit Report engine" allows to design completely different layouts.
--> webkit-invoice Templates are available by community but free until the maximum of 2 users...
I can confirm a completely different Layout in Document Preview from RML Report Engine after generating a new company with no Source-Company.
Having generated a new Qweb-Invoice-report (http://www.askmpa.com/creating-multiple-invoice-templates-in-odoo-v8/) i see the following behaviour (v8):
Report-Type "RML pdf" prduces the following error with or without webkit report engine:
<type 'exceptions.Exception'>,Unhandled report type
Report-Type "PDF" uses the Layout of the first company, not as wished of the second one.
Editing the view "report_invoice_secondcompany_document" to <t t-call="report.external_layout_secondcompany">
Duplicating the views "external_layout", "external_layout_header", "external_layout_footer" to *_secondcompany
as well as adding according templates in addons/report/views/layouts.xml
--> should allow definition of an independent layout.
But it doesn't. By generating invoice following error occurs:
QWebException: External ID not found in the system: report.external_layout_secondcompany
The only uncomfortable way to go is print invoices with one single layout and replace Headers and Footers via PDF editor until a solution is fount... :(
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
|Asked: 3/26/15, 6:26 AM|
|Seen: 1154 times|
|Last updated: 4/1/15, 4:06 AM|