Hi all,
I have a related field, and lot of data s with the field. Now i need to remove the related attribute from the field, means now i need to use the field as a normal field, but without losing the data. Is that possible ?
Note : It is a Many2one field.
Any suggestions ?
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
6315
Vistas
Hi,
You can do the above by re-writing the field and set the related attribute to '' (related='').
Eg:
field_name = fields.Many2one('your_relation', related='')
Hope it helps
¿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 | |
---|---|---|---|---|
how to add a related field many2one?
Resuelto
|
|
2
mar 15
|
16891 | |
|
1
ene 19
|
3141 | ||
Add New Operation Type in Warehouse
Resuelto
|
|
2
dic 24
|
3817 | |
|
1
nov 24
|
2604 | ||
|
2
abr 23
|
17057 |