While installing my first new custom module in Odoo 13, got following error :
AttributeError: module 'odoo.api' has no attribute 'multi'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Nov 20
|
2696 | ||
Many2one dependant booleans
Diselesaikan
|
|
1
Des 19
|
2782 | |
Odoo 13 features and Odoo 14 Expected features
Diselesaikan
|
|
10
Apr 23
|
104668 | |
|
0
Jun 21
|
2178 | ||
Many2one field update based on condition
Diselesaikan
|
|
3
Okt 20
|
5340 |
See this: https://www.youtube.com/watch?v=YfJK6thy2s0