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

Hello there,


I have two questions regarding wizard manipulation through Odoo Studio automated actions.


I've been trying to open the create invoice wizard (where you apply down payments, etc.), using an automated action. I found the following code for calling window actions with studio:

action = { "type": "ir.actions.act_window", "id": 1112, }

I tried this code, it doesn't give me errors, but it doesn't open the create invoice wizard.

What am I missing?


I also searched in the forum, about sending data from the model where the call is made (in this example sale.order) into the wizard. This I would use to autofill the down payment percentage. I learnt that it is possible using context. But I don't really know how context works. How does the context connect sale.order to create invoice wizard?

Could you show me sample code on how to bring the context over within Studio automated action?


Thanks,

아바타
취소
관련 게시물 답글 화면 활동
1
3월 23
4204
2
1월 25
3582
1
5월 22
3528
0
10월 23
8432
0
3월 23
1863