Commit Graph
5 Commits
Author SHA1 Message Date
Florimond Husquinet (fhu) e2cecc0454 [IMP] mail_client_extension: download the logo from the IAP
When creating a new company, it now downloads the logo from the
url retrieved from the IAP.

closes odoo/odoo#58885

X-original-commit: c1e52740d73cebe29e677c5247484aeb2c7d733f
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-09-30 09:19:16 +00:00
Florimond Husquinet (fhu) 13df70cb54 [FIX] mail_client_extension: checks for empty list in iap data
Instead of not returning the key, the IAP returns an empty list
when there is no phone number or no email.

closes odoo/odoo#58880

X-original-commit: e497fa0f6de6ae3c0ab3ffe3c3dec43037944d17
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-09-30 07:49:26 +00:00
Florimond Husquinet (fhu) 0f547a1b8f [IMP] mail_client_extension: post note with iap additional info
When a company is created, a note is added with all the additional
info retrieved from the IAP. Just like when autocomplete is enabled.

closes odoo/odoo#58598

X-original-commit: 0cc87a9349ab3d4e0d51a837deb6630d692ac98f
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-09-28 10:25:50 +00:00
Florimond Husquinet (fhu) 7bd9d1a31e [FIX] mail_client_extension: link new company with existing partner
If the partner was created then the company, the api would return the
partner, find the corresponding company and return it with the
partner, but not actually link the newly found/created company with
the partner in the db.
Would happen for example if the user had no reveal credit when he
added the partner. Then credited his account and opened an email from
the same partner again, triggering the creation and enrichment of the
company.

closes odoo/odoo#57825

X-original-commit: 5879f7dede16c8ba574ed648e4c91ca438eb93fa
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-09-16 11:07:37 +00:00
Florimond Husquinet (fhu) c317232223 [ADD] mail_client_extension
This module provide routes to manage people, companies, and
leads from the outlook add-on. It could eventually be accessed by
add-ons for other mail clients.

closes odoo/odoo#44936

Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2020-08-21 14:47:37 +00:00