Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2907 Переглядів

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)


Аватар
Відмінити

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.

Related Posts Відповіді Переглядів Дія
1
квіт. 24
1576
2
бер. 24
3296
1
серп. 23
2917
1
серп. 23
3440
1
квіт. 23
227