Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3362 Prikazi

Hello All,

How Can I change the stage name in CRM  using code ?

Avatar
Opusti
Best Answer

Hi,

The following code helps to Change the Stage Name 'New' to 'Intial'
For example:

Stages = self.env[;crm.stage'].search([('name','=','New')]) 
Stages.update{ 'name':'Intial' }

 This code will help to change the stage name New to Initial

Regards

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
apr. 20
4712
2
avg. 25
1384
1
sep. 24
1707
5
jul. 24
15293
1
jun. 24
1495