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

Hi, I encountered an error AttributeError: 'sale.order' object has no attribute 'amount_by_group' on my report after migrating from Odoo 14 to Odoo 16. Is there a field that achieves the same functionality as 'amount_by_group' on Odoo 16?




I refered to another post and it turned out that the 'amount_by_group' is changed to the 'tax_totals_json' field but I couldn't find a 'tax_totals_json' field on my 'sale.order'




Thank you in advance

아바타
취소
베스트 답변

Hi Erik,

Please check "tax_totals" field from sale order model. this function field return all the values which you want. 

Please vote if It's help you. 

아바타
취소
베스트 답변


This code Worked in my case. Hope it will help you.
Thanks
(V17.0)
아바타
취소
관련 게시물 답글 화면 활동
3
8월 25
2636
1
5월 25
2655
1
4월 25
3646
1
4월 25
4504
1
4월 25
1974