Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3255 Visninger

Hello All,

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

Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
apr. 20
4574
0
mar. 25
937
1
sep. 24
1602
5
jul. 24
15040
1
jun. 24
1360