Jérome Maes
2df240ded0
[FIX] bus : notification should be committed before awake longtpolling thread
...
If calling more than once `sendmany` (or `sendone`) on the same http request, the `NOTIFY imbus` will tell pertinent polling thread to
fetch their notifications in the bus table, which will not contain the new notifications, since they are not yet committed. For some reason, this
doesn't happen when calling only once `sendmany`. Committing the notifications breaks the tests since no rollback is possible.
So, `self._cr.commit()` should not be called in a test environement.
In this case, we cannot use `isinstance(self._cr, TestCursor)` since TestCursor is only avaiblable for http request in test mode. Here the cursor is a normal cursor, and to determine if we are in test mode, there is no other option than checking the config of the odoo server.
2015-10-06 09:44:38 +02:00
..
2015-10-05 15:38:47 +02:00
2015-09-14 17:53:37 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-01 09:58:29 +02:00
2015-10-04 03:03:19 +02:00
2015-09-20 03:04:41 +02:00
2015-09-20 03:04:41 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 01:58:59 +02:00
2015-10-01 08:39:55 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-01 10:38:23 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-01 09:58:29 +02:00
2015-10-04 03:03:19 +02:00
2015-10-06 09:44:38 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 01:58:59 +02:00
2015-10-05 11:56:05 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 01:58:59 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 01:58:59 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-09-28 10:53:32 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 03:07:16 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-01 09:58:29 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-09-28 10:53:32 +02:00
2015-10-06 09:43:02 +02:00
2015-10-01 09:58:29 +02:00
2015-09-20 03:04:41 +02:00
2015-09-20 03:04:41 +02:00
2015-09-20 03:04:41 +02:00
2015-10-01 09:58:29 +02:00
2015-10-01 09:58:29 +02:00
2015-09-18 16:41:32 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 01:58:59 +02:00
2015-09-14 17:53:37 +02:00
2015-09-30 09:30:46 +02:00
2015-09-20 03:04:41 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 01:58:59 +02:00
2015-09-20 03:04:41 +02:00
2015-09-14 17:53:37 +02:00
2015-09-20 03:04:41 +02:00
2015-09-18 10:40:52 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-09-21 11:46:35 +02:00
2015-09-20 03:04:41 +02:00
2015-09-27 03:07:16 +02:00
2015-09-27 03:07:16 +02:00
2015-09-20 03:04:41 +02:00
2015-09-23 17:35:52 +02:00
2015-09-27 03:07:16 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 01:58:59 +02:00
2015-09-20 03:04:41 +02:00
2015-09-27 03:07:16 +02:00
2015-09-27 03:07:16 +02:00
2015-10-04 03:03:19 +02:00
2015-09-20 03:04:41 +02:00
2015-09-27 03:07:16 +02:00
2015-09-20 03:04:41 +02:00
2015-09-27 03:07:16 +02:00
2015-09-27 03:07:16 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 03:07:16 +02:00
2015-09-20 03:04:41 +02:00
2015-10-04 03:03:19 +02:00
2015-09-20 03:04:41 +02:00
2015-09-20 03:04:41 +02:00
2015-09-14 17:53:37 +02:00
2015-09-20 03:04:41 +02:00
2015-09-27 03:07:16 +02:00
2015-09-27 01:58:59 +02:00
2015-09-09 13:35:28 +02:00
2015-09-20 03:04:41 +02:00
2015-09-27 03:07:16 +02:00
2015-09-20 03:04:41 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-06 09:43:46 +02:00
2015-10-01 14:00:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-09-28 10:53:32 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-10-05 09:56:00 +02:00
2015-10-04 03:03:19 +02:00
2015-10-01 09:58:29 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 01:58:59 +02:00
2015-10-06 09:12:51 +02:00
2015-09-20 03:04:41 +02:00
2015-10-04 03:03:19 +02:00
2015-10-05 17:31:13 +02:00
2015-10-04 03:03:19 +02:00
2015-10-05 10:29:56 +02:00
2015-10-04 03:03:19 +02:00
2015-09-30 16:42:18 +02:00
2015-10-04 03:03:19 +02:00
2015-10-04 03:03:19 +02:00
2015-09-20 03:04:41 +02:00
2015-09-27 01:58:59 +02:00
2015-10-05 09:56:00 +02:00
2015-10-04 03:03:19 +02:00
2015-09-27 03:07:16 +02:00
2015-10-01 09:58:29 +02:00
2015-10-05 15:38:47 +02:00
2015-10-05 15:19:55 +02:00
2015-10-01 09:58:29 +02:00
2015-10-01 09:58:29 +02:00
2015-09-14 17:53:37 +02:00
2015-10-01 09:58:29 +02:00
2015-10-01 09:58:29 +02:00
2015-10-01 15:16:59 +02:00
2015-10-01 09:58:29 +02:00
2015-10-05 09:56:00 +02:00
2015-10-01 09:58:29 +02:00
2015-10-01 09:58:29 +02:00
2015-10-01 09:58:29 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 01:58:59 +02:00
2015-09-29 19:09:08 +02:00
2015-10-01 09:58:29 +02:00
2015-10-01 09:58:29 +02:00
2015-09-17 10:43:10 +02:00
2015-09-27 01:58:59 +02:00
2015-10-05 09:56:00 +02:00
2015-10-01 11:31:23 +02:00
2015-09-25 11:34:01 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 01:58:59 +02:00
2015-10-01 16:21:22 +02:00
2015-09-15 09:30:37 +02:00
2015-09-15 09:30:37 +02:00
2015-09-15 09:30:37 +02:00
2015-09-29 14:40:59 +02:00
2015-09-27 01:58:59 +02:00
2015-10-02 16:53:58 +02:00
2015-09-29 15:14:39 +02:00
2015-09-27 01:58:59 +02:00
2015-10-02 16:53:58 +02:00
2015-09-29 15:14:39 +02:00
2015-09-27 01:58:59 +02:00
2015-09-29 14:40:59 +02:00
2015-09-30 16:42:17 +02:00
2015-09-23 11:35:01 +02:00
2015-09-15 09:30:37 +02:00
2015-10-05 09:56:00 +02:00
2015-10-01 01:36:50 +02:00
2015-10-01 01:36:50 +02:00
2015-09-15 09:30:37 +02:00
2015-09-27 01:58:59 +02:00
2015-09-15 09:30:37 +02:00
2015-10-01 01:36:50 +02:00
2015-09-15 09:30:37 +02:00
2015-10-01 10:26:29 +02:00
2015-10-01 01:36:50 +02:00
2015-09-18 10:40:52 +02:00
2015-10-01 01:36:50 +02:00
2015-10-01 01:36:50 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 01:58:59 +02:00
2015-09-27 01:58:59 +02:00
2015-10-01 01:36:50 +02:00
2015-09-30 21:25:17 +02:00
2015-10-01 14:00:19 +02:00
2015-10-06 09:43:46 +02:00
2015-09-23 14:35:43 +02:00
2015-10-02 08:24:01 +02:00
2015-09-27 01:58:59 +02:00
2015-10-02 14:06:42 +02:00
2015-10-01 01:36:50 +02:00
2015-10-01 01:36:50 +02:00
2015-10-05 17:31:13 +02:00
2015-09-15 09:30:37 +02:00
2015-09-15 09:30:37 +02:00
2015-10-01 17:01:23 +02:00
2015-09-15 09:30:37 +02:00
2015-10-05 17:31:13 +02:00
2015-09-23 14:34:26 +02:00
2015-09-25 11:34:01 +02:00
2015-10-01 15:16:59 +02:00
2015-09-15 09:30:37 +02:00
2015-10-01 15:16:59 +02:00
2015-09-27 01:58:59 +02:00