diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-08-19 08:39:16 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-08-19 08:49:25 +0000 |
| commit | e1128c93872d060cc4557b7508d1e8da79599879 (patch) | |
| tree | 6589e2a79e966ff022878ccfcfdebf52cb7ce99e /odoo/addons/base/data/ir_module_module.xml | |
| parent | d928580d230ec2ea42e1372941b43cf9a9a69574 (diff) | |
[FIX] base: create partner from email
Call the method `find_or_create` with `email` equals to
`"Raoul Grosbedon <r.g@grosbedon.fr>"`
The partner created has the name `r.g@grosbedon.fr` instead of
`Raoul Grosbedon`.
The method `name_create` is capable of handling such a use case, so we
take advantage of it.
opw-2052997
closes odoo/odoo#35797
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'odoo/addons/base/data/ir_module_module.xml')
0 files changed, 0 insertions, 0 deletions
