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

I have a schedule action which will create sale orders for different company depends on certain condition. I set up different behavior for each company when confirm Order. The problem is the schedule action is executed by Administrator because I need to access records from multi company, otherwise, I will get multi company restriction error. However, because of this, it conflicts which the set up when confirm Sale Order, it seems like it doesn't know what is the current company. My question is how to mimic the company widget on the top right of Odoo interface, for example, I want to trigger action_confirm like when I choose a company in the company widget.

In short, the schedule action is executed by user Administrator, but I want to execute certain function in the code under behalf of a specific company due to different set up behavior for multi company.

odoo

아바타
취소
관련 게시물 답글 화면 활동
1
12월 23
2824
2
8월 23
2486
1
12월 23
4287
1
7월 23
3098
0
5월 23
3060