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

I've created an embedded kanban view in another tab of res.partner:



(had to show code as an image because this editor kept messing up my code)


Based on 'is_adding_pet_to_client', I make some fields invisible on the main res.partner form view.


Everything works fine when I click the Add button on the kanban view--it opens the view, passes context, and based on the is_adding_pet_to_client flag, hides the fields correctly.


Now, if there is a card in the kanban and I click it to open it, the context doesn't get passed. Here is the beginning of my kanban card template:




The global click works and the card opens. But the context from above never gets passed. I've tried changing the div as follows:




...based on some samples I found on the web.  But t-attf-data-context doesn't seem to help. No matter what, clicking on the kanban card never changes the variable in my object.

Can someone please help me figure out how to pass context from the kanban card click?

Thanks.

아바타
취소
관련 게시물 답글 화면 활동
0
11월 19
4666
3
2월 17
8628
0
2월 16
4598
0
3월 15
4439
1
10월 21
17802