Skip to Content
Menú
This question has been flagged
1 Respondre
3176 Vistes

Hello All,

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

Avatar
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
d’abr. 20
4511
0
de març 25
892
1
de set. 24
1557
5
de jul. 24
14906
1
de juny 24
1300