Pular para o conteúdo
Menu
Esta pergunta foi sinalizada

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
Cancelar

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.

Publicações relacionadas Respostas Visualizações Atividade
1
abr. 24
1581
2
mar. 24
3300
1
ago. 23
2921
1
ago. 23
3442
1
abr. 23
227