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

Hello everyone.


I have a custom report that inherits from the class

account.report


Which has the following variable, with value true

filter_partner = True


On the screen I see the partner field ready to be used, I press it to search for a partner, I select it, the report loads but does not filter

  _get_report_values

However, I can't run the filter; Could you please guide me on how I can apply the filter: filter_partner = True or an example of this? If it is automatic, I think that perhaps the query I execute must have some field for the filter to work. Do you know which one? is?



아바타
취소
작성자 베스트 답변
Hello, I confirm that I managed to solve it by obtaining the property:

options.get("partner_ids")

With this and a little lambda I managed to apply the filter


아바타
취소
관련 게시물 답글 화면 활동
1
11월 21
4756
0
5월 21
2880
1
10월 20
4877
1
5월 24
4924
3
3월 24
1720