Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

When i create many2one field in odoo 16 :

applications = fields.Many2one('product.application','Applications')

This error occurs:

TypeError: result[1].split is not a function
    at http://localhost:8070/web/assets/870-128f711/web.assets_backend.min.js:3513:290
    at Array.map ()
    at Many2XAutocomplete.loadOptionsSource (http://localhost:8070/web/assets/870-128f711/web.assets_backend.min.js:3513:242)
    at async Promise.all (index 0)


Ảnh đại diện
Huỷ bỏ

Hi,
You can refer the following video regarding the creation of many2one field
https://www.youtube.com/watch?v=ATbr13-hoyA
make sure the comodel used in the many2one field is available in the database.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 24
1595
2
thg 3 24
3317
1
thg 8 23
2929
1
thg 8 23
3445
1
thg 4 23
227