Skip to Content
Menu
This question has been flagged
1 Atsakyti
3265 Rodiniai

Hello All,

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

Portretas
Atmesti
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
bal. 20
4582
0
kov. 25
943
1
rugs. 24
1620
5
liep. 24
15057
1
birž. 24
1373