Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3344 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
4694
2
ago. 25
1334
1
set. 24
1687
5
jul. 24
15234
1
jun. 24
1457