Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5289 Widoki

i am getting this error when creating a product using v9 community:

Uncaught Error: QWeb2 - template['FieldMany2ManyTag']: Runtime Error: TypeError: Cannot read property 'constructor' of undefined
http://104.236.237.202:8069/web/content/249-885d27a/web.assets_common.js:2444
Traceback:
Error: QWeb2 - template['FieldMany2ManyTag']: Runtime Error: TypeError: Cannot read property 'constructor' of undefined
    at Object.exception (http://104.236.237.202:8069/web/content/249-885d27a/web.assets_common.js:2444:7)
    at Engine.eval (eval at _render (http://104.236.237.202:8069/web/content/249-885d27a/web.assets_common.js:2478:73), <anonymous>:33:29)
    at Engine._render (http://104.236.237.202:8069/web/content/249-885d27a/web.assets_common.js:2477:296)
    at Engine.render (http://104.236.237.202:8069/web/content/249-885d27a/web.assets_common.js:2477:151)
    at OdooClass.render_tag (http://104.236.237.202:8069/web/content/438-2cd3716/web.assets_backend.js:3707:3650)
    at Object.handle_names (http://104.236.237.202:8069/web/content/438-2cd3716/web.assets_backend.js:3708:130)
    at fire (http://104.236.237.202:8069/web/content/249-885d27a/web.assets_common.js:644:299)
    at Object.fireWith [as resolveWith] (http://104.236.237.202:8069/web/content/249-885d27a/web.assets_common.js:649:198)
    at Object.deferred.(anonymous function) [as resolve] (http://104.236.237.202:8069/web/content/249-885d27a/web.assets_common.js:651:56)
    at http://104.236.237.202:8069/web/content/249-885d27a/web.assets_common.js:2721:271
Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

I guess the problem could be, you might have set default tax in your finance settings when you created your database and later you deleted that tax?

You can check, Settings > Technical > User defined defaults, and check taxes_id or supplier_taxes_id, and ID in the value won't be available in your database. You could either manually change this ID to existing one or remove both defaults, and regenerate them from your finance settings but applying default taxes again.

Regards,

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
mar 24
3096
2
maj 25
3349
0
lis 24
970
1
sie 24
1490
1
sie 24
2858