Community mailing list archives
Re: modifying templatesby
On 24 Sep, 2015, at 12:48 pm, Owen O' Shaughnessy <email@example.com> wrote:
Owen.Thanks for the feedback, much appreciated.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.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.Thanks LukeThats very interesting.On Tue, Sep 22, 2015 at 4:03 AM, Luke Branch <firstname.lastname@example.org> 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 <email@example.com> wrote:Owen.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 <firstname.lastname@example.org> wrote:OwenThanks Ali,Will give it a goOn Mon, Sep 21, 2015 at 3:35 PM, Ali Zuaby <email@example.com> wrote:Try report designer where you can export import print templates through connecting Odoo to open office...google it you will find many resources.Regards
Mobile: +965 5151 59 13
"Make the world a better place through us."Owen.TIA,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?3) Go to the server directory, find the xml file, and hand edit that.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.1) Find how to change the default print type from pdf to html, and edit the htmlThere appears to be three routes, from my googling, to fix this: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.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 .