While installing my first new custom module in Odoo 13, got following error :
AttributeError: module 'odoo.api' has no attribute 'multi'
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
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
0
nov. 20
|
4303 | |||
|
Many2one dependant booleans
Rezolvat
|
1
dec. 19
|
4308 | ||
|
10
apr. 23
|
107449 | |||
|
0
iun. 21
|
3494 | |||
|
3
oct. 20
|
6733 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
See this: https://www.youtube.com/watch?v=YfJK6thy2s0