[IMP] res_partner: more fault tolerant name_create
authorJacques-Etienne Baudoux <jba@openerp.com>
Fri, 27 Jun 2014 14:47:20 +0000 (16:47 +0200)
committerMartin Trigaux <mat@openerp.com>
Fri, 27 Jun 2014 14:48:40 +0000 (16:48 +0200)
commitdf40926d2a57c101a3e2d221ecfd08fbb4fea30e
tree4aa4a45ecf5e14f390134c6ff99ac30dcb17cf0c
parent95cff0ba3426932b687db333a73b8e4ef097b0ef
[IMP] res_partner: more fault tolerant name_create

In case of invalid format such as 'name email@server' (missing chevrons), the parsing would be failing due to a strict behaviour of getaddresses (returns nameemail@server).
With the patch this format is accepted.
opw 607312
openerp/addons/base/res/res_partner.py