تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
61801 أدوات العرض

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
نوفمبر 20
2529
1
ديسمبر 19
2636
10
أبريل 23
104293
0
يونيو 21
2027
3
أكتوبر 20
5190