projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e6449
)
[REM] Removed a print statement.
author
Thibault Delavallée
<tde@openerp.com>
Thu, 19 Jul 2012 15:56:41 +0000
(17:56 +0200)
committer
Thibault Delavallée
<tde@openerp.com>
Thu, 19 Jul 2012 15:56:41 +0000
(17:56 +0200)
bzr revid: tde@openerp.com-
20120719155641
-a2ant2472swb3fhp
openerp/addons/base/res/res_partner.py
patch
|
blob
|
history
diff --git
a/openerp/addons/base/res/res_partner.py
b/openerp/addons/base/res/res_partner.py
index
bf985d5
..
f3985c7
100644
(file)
--- a/
openerp/addons/base/res/res_partner.py
+++ b/
openerp/addons/base/res/res_partner.py
@@
-322,7
+322,6
@@
class res_partner(osv.osv):
contact_regex_res = contact_regex.findall(name)
email_regex_res = email_regex.findall(name)
if contact_regex_res:
- print contact_regex_res
name = contact_regex_res[0][0].rstrip(' ') # remove extra spaces on the right
email = contact_regex_res[0][1]
rec_id = self.create(cr, uid, {self._rec_name: name, 'email': email}, context);