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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
6579
Visualizzazioni
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
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
2
mar 15
|
17118 | ||
|
1
gen 19
|
3402 | ||
|
2
dic 24
|
4229 | ||
|
1
nov 24
|
2957 | ||
|
2
apr 23
|
17867 |