Skip to Content
Menu
This question has been flagged
1 Reply
5014 Views

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
Avatar
Discard
Best Answer

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,

Avatar
Discard
Related Posts Replies Views Activity
2
Mar 24
2802
2
May 25
2946
0
Nov 24
628
1
Aug 24
1081
1
Aug 24
2134