콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
62210 화면

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
2786
1
12월 19
2844
10
4월 23
104818
0
6월 21
2257
3
10월 20
5412