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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
2
Respuestas
2064
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
abr 23
|
1842 | ||
|
1
may 25
|
2386 | ||
|
1
abr 25
|
3422 | ||
|
1
abr 25
|
4231 | ||
|
1
abr 25
|
1732 |