Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4934 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 24
2196
0
thg 11 23
1147
1
thg 8 25
979
1
thg 4 25
1440
1
thg 10 24
1601