Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
7869 Visualizzazioni
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
Abbandona
Autore Risposta migliore

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
0
set 21
2407
2
mar 24
1084
3
dic 19
4763
1
mag 25
103
1
mag 25
494