summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPinakin Nayi (OpenERP) <pna@tinyerp.com>2012-09-12 10:46:47 +0530
committerPinakin Nayi (OpenERP) <pna@tinyerp.com>2012-09-12 10:46:47 +0530
commit77efac80dde9cf19a00bdbf2f98afa24a87f5673 (patch)
tree2b1a07e21da9123922ece65353afdd6b1fb3b1e7
parentba4a192eebb65a0282450859b4d3b20c95f70ab7 (diff)
[IMP]thunderbird create partner pass context
bzr revid: pna@tinyerp.com-20120912051647-p3nk3iu5at4byxyc
-rw-r--r--addons/plugin/plugin_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/plugin/plugin_handler.py b/addons/plugin/plugin_handler.py
index 5c0d551fbb7..f713b2c8ee8 100644
--- a/addons/plugin/plugin_handler.py
+++ b/addons/plugin/plugin_handler.py
@@ -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