Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
61998 Zobrazení

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

AttributeError: module 'odoo.api' has no attribute 'multi'
Avatar
Zrušit
Autor Nejlepší odpověď

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
Zrušit

So we can remove '@api.multi'

And the function will work perfectly

Related Posts Odpovědi Zobrazení Aktivita
0
lis 20
2639
1
pro 19
2744
10
dub 23
104544
0
čvn 21
2139
3
říj 20
5291