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

Hi,

Running Odoo v14 enterprise.


We have some custom fields on our sale.subscription model.

How can we add these to the sale.subscription.report model? (e.g. In order to have them in the pivot table on Subscriptions > Reporting > Subscriptions)


Looking at the sale.subscription.report model, I cannot see how these are linked to the individual subscriptions (ID's)?


아바타
취소
베스트 답변

Hi,

You have inherit the above model and add the new fields and then  inherit the queries which brings data to this model to bring data to the new fields.

See an example of similar case with sale.report model:  https://www.youtube.com/watch?v=xNuVyrdZ3dU

Thanks & Regards

아바타
취소
작성자

Failed to mention: we only have the ability via Studio (not directly in the code), so only front-end changes

관련 게시물 답글 화면 활동
1
2월 25
1505
0
12월 23
1852
1
4월 24
2936
1
6월 25
1263
1
12월 24
2084