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

When trying to preview any report in Odoo Online, Studio, V15, we get the following error.


This report could not be previewed or edited because it could not be rendered with this message: name 'type' is not defined Traceback (most recent call last): File "/home/odoo/src/odoo/15.0/odoo/addons/base/models/qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 5, in template_2069 File "", line 13, in NameError: name 'type' is not defined Error when render the template NameError: name 'type' is not defined Template: studio_customization.studio_report_docume_be535951-f922-48a5-a6ca-35f5b48b721e_document Path: /t/div Node:

. This could be happening because this is a custom report type that needs custom data to be rendered and so is not editable by studio. 


All was fine until yesterday.

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

Same here. Don't know if it was working  yesterday, but a few days ago it was OK. But it's good to know that it's not a problem related to our database.

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

I have the same problem. To test I have created a new database, without any new field or customization, and the error is repeated.

Ảnh đại diện
Huỷ bỏ

Today I find that Studio has returned to work for editing pdfs

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
3204
1
thg 4 25
4571
1
thg 12 24
2761
0
thg 9 24
1427
3
thg 8 24
1669