[IMP]thunderbird create partner pass context
authorPinakin Nayi (OpenERP) <pna@tinyerp.com>
Wed, 12 Sep 2012 05:16:47 +0000 (10:46 +0530)
committerPinakin Nayi (OpenERP) <pna@tinyerp.com>
Wed, 12 Sep 2012 05:16:47 +0000 (10:46 +0530)
bzr revid: pna@tinyerp.com-20120912051647-p3nk3iu5at4byxyc

addons/plugin/plugin_handler.py

index 5c0d551..f713b2c 100644 (file)
@@ -116,7 +116,7 @@ class plugin_handler(osv.osv_memory):
         url = self._make_url(cr, uid, res_id, model)
         return (model, res_id, url, notify)
 
-    def contact_create(self, cr, uid, data, partner_id):
+    def contact_create(self, cr, uid, data, partner_id, context=None):
         """
             @param data : the data use to create the res.partner
                 [('field_name', value)], field name is required