Skip to Content
Menu
This question has been flagged
2 Replies
6868 Views
When i try to edit my report page for my custom app i get this error

Error: name 'type' is not defined Traceback (most recent call last): File "D:\Odoo\server\odoo\addons\base\models\qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 30, in template_1543 File "", line 11, in t_call_content File "", line 17, in NameError: name 'type' is not defined Error when render the template NameError: name 'type' is not defined Template: studio_customization.studio_report_docume_f45307f8-9264-4477-b95a-ff02a1db2d42_document Path: /t/t/div Node:
at http://localhost:8069/web/assets/371-cbead69/web_studio.studio_assets.min.js:351:108 at new Promise () at Class._updateContent (http://localhost:8069/web/assets/371-cbead69/web_studio.studio_assets.min.js:350:8) at HTMLIFrameElement.fn (http://localhost:8069/web/assets/362-dda6a5e/web.assets_common.min.js:1762:76) at HTMLIFrameElement.dispatch (http://localhost:8069/web/assets/362-dda6a5e/web.assets_common.min.js:1783:447) at elemData.handle (http://localhost:8069/web/assets/362-dda6a5e/web.assets_common.min.js:1769:166)


Avatar
Discard
Author Best Answer

Hi, i check there and i didn't see any code about type field.

Avatar
Discard
Best Answer

Hello  Utku

As per error you have modified some view using studio and now there is some view conflict that says 'type' is not define in Template: studio_customization.studio_report_docume_f45307f8-9264-4477-b95a-ff02a1db2d42_document

please apply following steps to solve this issue

1) Activate debug or developer mode : you can follow below question to activate debug mode

https://www.odoo.com/forum/help-1/activate-debug-mode-208407#answer-208410

2) go to Settings-> Technical --> Views

find and open this view: studio_customization.studio_report_docume_f45307f8-9264-4477-b95a-ff02a1db2d42_document

now you have to check xml code where type field is used. you can just comment that xml code or try to find reason of that type error to solve this

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat

Avatar
Discard
Author

Hi, i check there and i didn't see any code about type field.

Related Posts Replies Views Activity
0
Sep 21
2046
2
Mar 24
394
3
Dec 19
4221
0
Dec 24
37
0
Oct 24
118