We are building an Odoo 13 EE / CE installation and would like to make small changes for PDF quotations and invoices. There are small problems that would be pretty simple to fix with editing CSS file. Those are:
- Increasing the size of the customer logo (upper left hand corner)
- Reducing the font size of sender name and address as they overfow to multiple lines
- Fixing the too small text area where recipient name and address are. Modify its location at the middle right hand corner (above the Quotation #S000003)
- Adding a style for generic terms and conditions (small print)
From Settings
-> General
-> Business Documents
-> Layout
, We can see that this PDF is using external_layout_standard
QView and we can access the XML architecture of this report. However, editing this view as an Odoo admin does not allow access to CSS files where we would be able to modify <DIV class>
attributes like font size and element size.
This server is hosted on Odoo.sh platform, so we do not have an access to the file system. Our options are either to modify the system parameters or create a totally new extension. The latter seems a bit overkill because the changes are so small and we actually would need to go and modify all Odoo-generated PDFs like quotations, order confirmations, purchase orders, repair orders etc. etc.
So, can anyone advice what is the correct approach of modifying these Odoo-generated PDFs and how to access their CSS?
Screen captures illustrating the problem:
https://snipboard.io/9UYmBd.jpg