コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
61610 ビュー

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

AttributeError: module 'odoo.api' has no attribute 'multi'
アバター
破棄
著作者 最善の回答

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

アバター
破棄

So we can remove '@api.multi'

And the function will work perfectly

関連投稿 返信 ビュー 活動
0
11月 20
2420
1
12月 19
2506
10
4月 23
104099
0
6月 21
1942
3
10月 20
5075