AIM : To Use the context of screen/action to the record which is getting imported (the context passed by client).
Change:
1. _update() of ir_model_data class has a new arguement context in its signature.
def _update(self,cr, uid, model, module, values, xml_id=False, store=True, noupdate=False, mode='init', res_id=False):
Will appear as
def _update(self,cr, uid, model, module, values, xml_id=False, store=True, noupdate=False, mode='init', res_id=False, context=None):
This context will be passed to OpenERP methods create(),browse(),read(),write() used withing _update().
Context is very important factor that comes into picture specially during translation.
|
thanks for sharing this site. there are various kinds of ebooks available from here
ReplyDeletehttp://feboook.blogspot.com
Although the blogs that you provide are more technical than explanatory but these serve the purpose for which they are written.Good job man!
ReplyDeleteLauren
sap testing tools
Thanks I was searching for it
ReplyDeleteCloud Dynamics