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
7585
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!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
how to add a related field many2one?
Diselesaikan
|
|
2
Mar 15
|
18212 | |
|
|
1
Jan 19
|
4388 | ||
|
Add New Operation Type in Warehouse
Diselesaikan
|
|
2
Des 24
|
5345 | |
|
Unable to use TensorFlow in Odoo module
Diselesaikan
|
|
1
Nov 25
|
4202 | |
|
how to get values from a res config settings field
Diselesaikan
|
|
2
Apr 23
|
20168 |