Skip to Content
Menú
This question has been flagged
1 Respondre
61898 Vistes

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

AttributeError: module 'odoo.api' has no attribute 'multi'
Avatar
Descartar
Autor Best Answer

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
Descartar

So we can remove '@api.multi'

And the function will work perfectly

Related Posts Respostes Vistes Activitat
0
de nov. 20
2570
1
de des. 19
2674
10
d’abr. 23
104378
0
de juny 21
2089
3
d’oct. 20
5219