Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

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)


Avatar
Hylkää

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.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
huhtik. 24
1643
2
maalisk. 24
3340
1
elok. 23
2946
1
elok. 23
3479
1
huhtik. 23
227