Skip to Content
Menu
This question has been flagged
1 Odpoveď
3329 Zobrazenia

Hello All,

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

Avatar
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
apr 20
4685
2
aug 25
1291
1
sep 24
1672
5
júl 24
15188
1
jún 24
1439