コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
12690 ビュー

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

アバター
破棄
最善の回答
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
1605
4
11月 21
4632
2
6月 20
5454
1
5月 20
5202
1
5月 20
3184