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
- Apskaita
- Atsarga
- PoS
- Project
- MRP
This question has been flagged
2
Replies
13308
Rodiniai
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
|
2
birž. 24
|
2274 | ||
|
|
4
lapkr. 21
|
5248 | ||
|
|
2
birž. 20
|
5915 | ||
|
|
1
geg. 20
|
5772 | ||
|
|
1
geg. 20
|
3591 |