Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4927 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
nov. 24
2195
0
nov. 23
1145
1
août 25
975
1
avr. 25
1437
1
oct. 24
1596