Skip to Content
Menu
This question has been flagged
1 Reply
1886 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
3412
1
Sep 24
284
5
Jul 24
12067
1
Jun 24
249
2
Feb 22
2956