Community mailing list archives

Re: modifying templates

- 09/24/2015 00:46:20
Thanks Luke

Thats very interesting.

I had discovered a very simple newbie problem, why I wasn't seeing anything i needed to see, a bad assumption on my part that the admin would have full control. Editing the admin user and clicking the checkbox "technical" enabled all the things that I was missing.

After the weekend I'll go back and have another look at this, roadtest Aeroo and have a bash at editing the raw formats as i think I've got a handle on where to find what is needed to be edited. Probably a combination of both will be the way forward.

Thanks for the feedback, much appreciated.


On Tue, Sep 22, 2015 at 4:03 AM, Luke Branch <> wrote:
Hi Owen,

I have actually been in the exact same position and wasted hours trying to get that plugin working. This is due in part to an incompatibility between the python-uno package installed with OpenOffice. In Ubuntu 14.04 they made the move to Python 3+ with python-uno, while Odoo runs on Python 2.7+ and expects a python-uno package in python 2.7+. I eventually gave up and switched to using Aeroo Reports which works quite well for me.

Aeroo will allow you to 'print' reports in XLS, ODS, CSV, DOC, ODF, and PDF formats and will allow you to create the reports in open office calc or open office writer. There is a bit of a learning curve involved as you'll need to understand the fields in the Odoo model that you're printing a report for (eg. sale.order), and you'll need to use some very basic python in some of the reports to achieve what you need (for example foreach loops for printing out an order line foreach order line that exists on the order you're printing).

I wrote an install script to install Aeroo Reports + Odoo awhile ago here:

you can opt to not install Odoo during the installation if you have an existing Odoo installation. As with anything make sure you've got full database and filesystem backups before running the script.

I've included a few samples to get you started on some of the basic sales documents. I'd recommend searching through the archives on this mailing list here:

as i've explained things in more detail in previous emails, and there are hundreds of others that have done the same.

QWeb is great, however I often need to print to excel, doc, etc. so Aeroo was the best option for me. For QWeb documentation i'd recommend checking out this page:

and getting to know the Odoo model that you're working on. 

Just switch on 'technical features' option for your admin user access rights and you'll be able to search for the models by going to:

Settings >> Database Structure >> Models > [Search for the model you want - eg. sale.order]

The best way to learn with any of these platforms though is to just get in and get your hands dirty in a development environment.

Feel free to send another email if there's any problems you run into.

On Tue, Sep 22, 2015 at 6:58 AM, Owen O' Shaughnessy <> wrote:
The open office extension actually turned out to be a waste of time. That plugin is completely broken. Loads without errors on the latest open office, but the menu items don't do anything. Loads with errors on the older v3 open office writer, and again, menu items don't function. Ditto on libre office on linux.

I think the qweb must be the way to go? Anyone got any pointers on how I get that to modify an invoice template?


On Mon, Sep 21, 2015 at 4:13 PM, Owen O' Shaughnessy <> wrote:
Thanks Ali,

Will give it a go


On Mon, Sep 21, 2015 at 3:35 PM, Ali Zuaby <> wrote:
Try report designer where you can export import print templates through connecting Odoo to open it you will find many resources.




Mobile: +965 5151 59 13

Email: |  

Follow Me on Twitter  |  Connect with me on LinkedIn   Skype: ali.zuaby |

Invest in People…Invest in Visions

"Make the world a better place through us."

On 21 Sep 2015, at 5:23 pm, Owen O' Shaughnessy <> wrote:

Hi Guys,

I'm new to odoo, trying to get a development platform up and going so that I can work on a mobile app .

I have installed Odoo8 on Debian, it runs great. I can't seem to find any way to edit templates, for example, the invoice template, if i wanted to move the address, or in the romanian localisation that I loaded, there is an error in the template where the first line of the customers address is nor printing in the invoice.

There appears to be three routes, from my googling, to fix this:

1) Find how to change the default print type from pdf to html, and edit the html
2) Install qweb, and use that to edit, which I did, but i only get an edit option on the website portal and not on the invoices.
3) Go to the server directory, find the xml file, and hand edit that.

Am I hitting this limitation because I've opted to use the community edition or am I missing something really simple to edit the document templates / layouts?



Post to:

Post to:

Post to:

Post to: