Skip to Content
Menu
This question has been flagged
1 Reply
3746 Views

Hello All,

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

Avatar
Discard
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
Discard
Related Posts Replies Views Activity
1
Apr 20
5113
2
Aug 25
2005
1
Sep 24
2201
5
Jul 24
16102
1
Jun 24
1897