Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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)


Awatar
Odrzuć

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.

Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 24
1563
2
mar 24
3293
1
sie 23
2914
1
sie 23
3433
1
kwi 23
227