Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
61981 Ansichten

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

AttributeError: module 'odoo.api' has no attribute 'multi'
Avatar
Verwerfen
Autor Beste Antwort

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
Verwerfen

So we can remove '@api.multi'

And the function will work perfectly

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Nov. 20
2622
1
Dez. 19
2729
10
Apr. 23
104529
0
Juni 21
2128
3
Okt. 20
5250