Yes, but uid is wrong, why else do you have a field user_id on email.server
model ?
This is to make sure the model you specify is created as this user correct ?
So any mails that need processing should be done with the uid specified
in user_id instead of taking uid from the fetch_mail function (which is
global because you only have 1 call from ir.cron)
** Changed in: openobject-addons
Status: Invalid => New
--
[6.0] fetchmail module should use user_id defined in email.server to do
process_email
https://bugs.launchpad.net/bugs/680884
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: New
Bug description:
Currently fetchmail module executes email.server.tools.process_email function
as the user that called it (likely admin user due to ir.cron) it should instead
of uid pass user_id.id to this function.
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp