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

Hi, I'm new and maybe this is simple to do or asked many times, but I can't find the answer.

I'm trying to display a popup (with a view inside) when a view is displayed and a condition fulfilled.

Actually I'm trying to show a form, if customer is empty I'd like to show a popup with customer selector, but I'm completely lost about launching the pop up or calling an action when a view is displayed.

Thanks,
Pau

 

아바타
취소

Are you trying to say.. you need a wizard (pop up window) to be displayed ? If so you can refer, CRM oppurtunity => convert to Quote .....

*Opportunity

작성자

Thanks, but I need the window to open as soon as I open the main view. Not clicking any button.

작성자

Thanks deep, it's a good answer, although it raises a new one. I will continue in another thread.

작성자

Deep, please convert your answer about default_get in an answer or copy in an answer and I'll select as the correct answer.

베스트 답변

try using "default_get" method....

아바타
취소
베스트 답변

try  this methode 
@api.model
def fields_view_get(self, view_id=None, view_type='form', toolbar=False, submenu=False):

아바타
취소
베스트 답변

You have some different pop ups!, wizards with target "new" and Warning messages.

What exactly do you need? 

아바타
취소
작성자

Thanks for your answer. I needed a popup with a view where I can select the customer (many2one). Anyway it got answered in the comments to the original question.

작성자 베스트 답변

Please, delete this answer.

아바타
취소
관련 게시물 답글 화면 활동
3
5월 24
11007
1
3월 15
4230
1
3월 15
4926
2
9월 25
364
1
10월 23
8577