i am migrating the module from openerp 6.1 to 7.0 and i have used default get method, that is not working in openerp 7.0
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
12704
查看
def default_get(self, cr, uid, fields, context=None):
data = super(curent_object, self).default_get(cr, uid, fields, context=context)
data['field']=value
return data
This is a sample example of default_get:
Thanks@ Lakhsam Give you +1 vote,this code very helpfull me
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
6月 24
|
1607 | ||
|
4
11月 21
|
4651 | ||
|
2
6月 20
|
5461 | ||
|
1
5月 20
|
5218 | ||
|
1
5月 20
|
3197 |