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:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
2
Replies
13325
Tampilan
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
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 | |
|---|---|---|---|---|
|
|
2
Jun 24
|
2290 | ||
|
|
4
Nov 21
|
5251 | ||
|
|
2
Jun 20
|
5928 | ||
|
|
1
Mei 20
|
5777 | ||
|
|
1
Mei 20
|
3599 |