Is there a way to make the tags field required when creating a new opportunity in the CRM ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
2
Respostas
2111
Visualizações
A "work around" to solve this without studio or additional modules could be creating an Automated Action to pop up a warning when creating new opportunities:
code:
if record.stage_id.name == 'New' and not record.tag_ids: raise UserError('Please set a tag for this opportunity.')
You can use attrs to make it readonly on Opportunity state.
attrs="{'required': [('type','=','opportunity')]}"
already did that I want to get an invalid value error when the tags field is empty
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
1
abr. 23
|
1868 | ||
|
3
ago. 25
|
2360 | ||
|
1
mai. 25
|
2560 | ||
|
1
abr. 25
|
3520 | ||
|
1
abr. 25
|
4346 |