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

For example, I want to filter all phonecall activities with partner and user linked with current login user.

where x_partner_id is the partner related to the current user uid. In odoo recent version (13/14) it has already user as variable where I can get user.partner_id.id but in odoo8 how can I achieve this?

Thanks.

<record id="dincelcrm_myfollowups_action" model="ir.actions.act_window" >
	<field name="name">My Follow-Ups</field>
	<field name="res_model">crm.phonecall</field>
	<field name="view_type">form</field>
	<field name="view_mode">calendar,tree,form</field>
	<field name="domain">['&amp;',('state','=','open'),'|',('user_id','=',uid),('x_attendee_ids','in',x_partner_id)]</field>
	<field name="search_view_id" ref="view_crm_case_allphonecalls_filter"/>
</record>
아바타
취소
베스트 답변

You can follow this: https://youtu.be/XGqXEL2qQmE

Hope it helps,

Thanks

아바타
취소
베스트 답변

You can use server action instead of act_window

아바타
취소
관련 게시물 답글 화면 활동
2
3월 16
10036
1
1월 22
5539
0
7월 19
2810
0
7월 15
4354
2
10월 22
25895