Hi,
I'm getting very frustrated with Odoo. I was able to adapt the design of following elements to my needs :
- external_layout_header
- external_layout_footer
- account.report_invoice_document
- sale.report_saleorder_document
Unfortunately, they were replaced with originals several times now.
First time I thought it was related to an update of Odoo I did but this week-end, after doing again all the modifications I needed on these elements, no update were done nor the server or Odoo even restarted but still they were reinitialized. :-(
As I hadn't saved everything, I'll have to do the modification again.
Can any baody explain me what happens and how I can prevent this ?
Thanks a lot
Nicolas
@Nicolas, If you're running on your own instance that you have terminal access to i'd recommend creating a simple module to customise the views you need to customise. This way your changes will be kept intact regardless of database and module upgrades and they changes will be easily transferrable to another database or instance. I'll be putting up a demonstration module here soon: https://github.com/OdooCommunityWidgets/product_image_report_order_lines that will achieve some basic formatting changes for the default documents (quotation, invoice, etc.) that I need for my company to include images on order lines (among other things) that should demonstrate a method of customising the default report documents to create your own customisations.
[UPDATE]: this module has been renamed and moved to: https://github.com/OdooCommunityWidgets/product_extended_report_order_lines to allow for more features to be included in it for customising reports for commonly required customisations (eg. image on sales order line, customer's stock code, etc.).
Thank you for much for sharing your work. it will be very helpful ! I'm looking forward to.
Thank you for much for sharing your work. it will be very helpful ! I'm looking forward to.
Hey Luke, your module seems empty now on https://github.com/OdooCommunityWidgets/product_extended_report_order_lines
@Pascal, Yes the module is simply acting as a placeholder for now. I'd recommend following the module on github. I'll be working on separating the report customisation features I built into a client's website theme module so that they work as a standalone module as soon as I can find some time. Could you let me know if there are any specific fields or features you'd like to suggest for this module?