Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1884 Lượt xem

I'm looking to have an opportunity push into a project when it reaches a certain stage. It seems this is possible somehow but I cannot get it setup properly. Anyone understand? Do I have the right subscription to enable this feature?


Example - there's a due diligence phase with an opportunity we get into, and that requires multiple steps that I would like to track under a project. 

Ảnh đại diện
Huỷ bỏ

Which version of Odoo?

Câu trả lời hay nhất

Hi,

first you can create a filed in crm.lead model like 
x_project_id and that is manytoone filed and set reraion model is project.project

and after make automation action in odoo like 

set filter domain as per your work

if record.type == 'opportunity' and not record.x_project_id:

    project = env['project.project'].create({

        'name': record.name,

        'partner_id': project.id})

 automated action code 


this is filed you can create in lead  model 


 i hope it is usefull

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
1253
0
thg 1 25
1215
0
thg 11 24
28
0
thg 6 15
3744
0
thg 3 15
3448