This question has been flagged
1 Reply
3303 Views

Hello,


I've started using Odoo Studio to try and modify existing reports such as the Sales Order/Purchase Order reports.


However, when I try to modify/remove certain parts of the report (Such as headers/footers), I receive these errors:

and


This operation caused an error, probably because a xpath was broken


I would like to know the solution to this problem please, so any help is appreciated.


Thanks


Avatar
Discard
Best Answer

It sounds like you are trying to edit the header or the footer.  It seems that is not currently and option via studio: https://github.com/odoo/odoo/issues/28070 

I've made a minor modification to my footer via QWeb changes.  First confirm which layout you are using. Go to Settings > General Settings > Business Documents > Document Layout > Layout 

For instance I'm using external_layout_standard 

Next you need to activate debug. Then go to Settings > Technical > User Interface > Views

Search for your layout and select it to edit the code.  

I'm sure there is a different and/or better way of doing it but that's what I came up with.


Avatar
Discard