Skip to Content
Menu
This question has been flagged
1 Atsakyti
3778 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
5143
2
rugp. 25
2064
1
rugs. 24
2235
5
liep. 24
16182
1
birž. 24
1923