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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
6558
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
3月 15
|
17092 | ||
|
1
1月 19
|
3385 | ||
|
2
12月 24
|
4185 | ||
|
1
11月 24
|
2930 | ||
|
2
4月 23
|
17786 |