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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
6163
Tampilan
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
how to add a related field many2one?
Diselesaikan
|
|
2
Mar 15
|
16765 | |
|
1
Jan 19
|
3017 | ||
Add New Operation Type in Warehouse
Diselesaikan
|
|
2
Des 24
|
3668 | |
|
1
Nov 24
|
2372 | ||
how to get values from a res config settings field
Diselesaikan
|
|
2
Apr 23
|
16606 |