Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3210 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
4546
0
mar. 25
918
1
sep. 24
1577
5
jul. 24
14954
1
jun. 24
1320