Skip to Content
Menu
This question has been flagged
1 Atsakyti
3386 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
4736
2
rugp. 25
1424
1
rugs. 24
1738
5
liep. 24
15378
1
birž. 24
1536