Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5015 Lượt xem

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
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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,

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 24
2812
2
thg 5 25
2964
0
thg 11 24
651
1
thg 8 24
1102
1
thg 8 24
2161