openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16571
[Bug 1059561] Re: "plugin" bugs with prefixed emails
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1059561
Title:
"plugin" bugs with prefixed emails
Status in OpenERP Addons (modules):
In Progress
Bug description:
Hello,
In the current implementation of the "plugin" addon, in the file "plugin_handler.py", the function "partner_get" handles the search with:
('email', 'like', address_email)
This causes the partner with the email 'partner@xxxxxxxxxxx' to match with an existing 'other_partner@xxxxxxxxxxx'.
simply replacing the previous search statement with
('email', '=', address_email)
fixes the problem.
Reproduce:
Clean install of OERP 6.1
Install a mailer plugin (TB or outlook)
Clean install of Thunderbird or outlook
Create a partner/contact in OERP whose email corresponds to a prefixed version of one of the emails you have in your inbox.
Export the said email as a partner
Expected:
Mailer window proposing you to create a contact
Instead:
Opens a browser window with the "prefixed partner" displayed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1059561/+subscriptions
References