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

While installing my first new custom module in Odoo 13, got following error : 

AttributeError: module 'odoo.api' has no attribute 'multi'
Avatar
Hylkää
Tekijä Paras vastaus

After searching in github found that 'multi' is removed from Odoo 13.0 as it will be default.

https://github.com/odoo/odoo/commit/4b38cc6590abcb58a0ca102a06063eb3db7ac1f4#diff-2c418cb78b7c562a79e7032645a537d2

Avatar
Hylkää

So we can remove '@api.multi'

And the function will work perfectly

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
marrask. 20
3026
1
jouluk. 19
3053
10
huhtik. 23
105233
0
kesäk. 21
2430
3
lokak. 20
5593