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

From the CRM, how can I create an automation so that when I send a quotation, the lead/opportunity automatically updates and moves to the Proposal stage?


Version 18.0+e

아바타
취소
베스트 답변

Hii,

please try this 

Activate Developer Mode

create  Automated Actions.

Click “Create” and fill in the following:

  • Name: Move to Proposal on Quotation Sent
  • Model: Sale Order
  • Trigger: On Update
  • Apply On: Add a domain to filter only sent quotations:

[('state','=','sent')]


Add Python Code in the Action (Server Action)

Paste this in the Python Code section:

if record.opportunity_id:

    proposal_stage = env['crm.stage'].search([('name', '=', 'Proposal')], limit=1)

    if proposal_stage:

        record.opportunity_id.stage_id = proposal_stage.id


i hope it is use full

아바타
취소
베스트 답변

Hi,

Please refer to the following links:

1. https://www.youtube.com/watch?v=BBFSTxG9WKI


Hope it helps.

아바타
취소
관련 게시물 답글 화면 활동
1
8월 24
2093
1
11월 23
3381
0
5월 20
3043
2
12월 24
1480
1
9월 24
1680