Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1312 Weergaven

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. 

Avatar
Annuleer

Which version of Odoo?

Beste antwoord

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

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
jul. 25
1201
0
jan. 25
1167
0
nov. 24
28
0
jun. 15
3708
0
mrt. 15
3376