Skip to Content
Menú
This question has been flagged
1 Respondre
3820 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
5216
2
d’ag. 25
2165
1
de set. 24
2315
5
de jul. 24
16297
1
de juny 24
1955