Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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... :(
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/26/15, 6:26 AM|
|Seen: 2093 times|
|Last updated: 4/1/15, 4:06 AM|