Hi, I having a one2many field in that field i add 4 items using Add an Item then Save&New, before saving the record in Parent table, i want some field values. how to get this.
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
1
Responder
4843
Vistas
You can override create function. The record created will be in the 'vals' param of create, then you can modify it and then call super.
Hope it helps you.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
ene 25
|
1853 | ||
|
2
sept 22
|
9599 | ||
|
2
abr 22
|
4645 | ||
|
0
jul 21
|
7291 | ||
|
1
mar 21
|
5025 |