Merge lp:~openerp-dev/openobject-server/6.0-opw-576744-rha into lp:openobject-server/6.0
Proposed by
Rifakat Husen (OpenERP)
Status: | Merged |
---|---|
Merged at revision: | 3634 |
Proposed branch: | lp:~openerp-dev/openobject-server/6.0-opw-576744-rha |
Merge into: | lp:openobject-server/6.0 |
Diff against target: |
46 lines (+26/-5) 1 file modified
bin/addons/base/res/res_user.py (+26/-5) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-server/6.0-opw-576744-rha |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Dony (Odoo) | Pending | ||
Review via email: mp+117371@code.launchpad.net |
Description of the change
Hello,
It doesn't let any user to login when MRP scheduler is running through cron job(ir.cron).
If user's row is currently aquire by scheduler then login() will not go through and prevents
updating the last login date, it's simpler to try to get the lock and if that fails, we skip
the login date update for once, that's no big deal.
It's a backport of server r4049, <email address hidden>
Regards,
Rifakat Haradwala
To post a comment you must log in.
Looks good to me, but as this does not seem to fix the problem for the customer, I suggest we avoid the risk of merging it until we find the proper fix. Marking as rejected to avoid clustering the lists on Launchpad, feel free to reset the status if we later need it.
Thanks,