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

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

AttributeError: module 'odoo.api' has no attribute 'multi'
Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć

So we can remove '@api.multi'

And the function will work perfectly

Powiązane posty Odpowiedzi Widoki Czynność
0
lis 20
2550
1
gru 19
2657
10
kwi 23
104336
0
cze 21
2060
3
paź 20
5201