Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
7860 Widoki
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)


Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 21
2405
2
mar 24
1064
3
gru 19
4760
1
maj 25
77
1
maj 25
476