Skip to Content
Menu
This question has been flagged
1 Reply
3701 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
Related Posts Replies Views Activity
1
Nov 24
1019
0
Nov 23
307
1
Oct 24
177
2
Oct 24
1148
1
Sep 24
324