Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5461 Представления

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
Аватар
Отменить
Лучший ответ

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,

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
мар. 24
3322
2
мая 25
3697
0
нояб. 24
1030
1
авг. 24
1761
1
авг. 24
3184