Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4959 Представления

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


Аватар
Отменить
Лучший ответ

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.


Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
нояб. 24
2212
0
нояб. 23
1164
1
авг. 25
105
1
авг. 25
1001
1
апр. 25
1456