Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3426 Visualizações

Hello All,

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
abr. 20
4804
2
ago. 25
1523
1
set. 24
1788
5
jul. 24
15480
1
jun. 24
1566