Aaron Bohy
87133a8235
[FIX] web: BasicModel: correctly reload new records
...
Commit 7cd2f6370 (in 10.0) recently added attribute special='cancel'
on the 'Cancel' buttons of the Settings views in Odoo. The attribute
wasn't really supported in this case by the old web framework, so
this commit also slightly adapted it, and made it reload the whole
webclient when such a button is clicked.
This commit now needs to be forwardported in saas-16, so we have to
handle the case in the new views as well. Before this rev., it
crashed, because the BasicModel tried to reload a new record (the
one of the Settings form view), so basically it performed a 'read'
RPC on a virtual ID like 'virtual_123', and the server didn't really
appreciate.
This rev. handles the case where a new record is reloaded, and
simply performs a 'default_get' instead of a read. Bonus point:
with the new views, we don't have to reload the whole webclient.
2017-08-10 13:56:22 +02:00
..
2017-08-01 23:11:27 +02:00
2017-07-30 07:14:49 +02:00
2017-07-30 07:14:49 +02:00
2017-08-10 08:48:32 +02:00
2017-07-30 07:14:49 +02:00
2017-07-25 12:14:02 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-07-05 11:48:45 +02:00
2017-07-25 11:46:16 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 07:14:49 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-07-05 11:48:45 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-25 12:26:50 +02:00
2017-07-17 11:52:51 +02:00
2017-07-25 12:26:50 +02:00
2017-07-25 12:14:02 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-07-25 11:46:16 +02:00
2017-07-30 07:14:49 +02:00
2017-07-30 07:14:49 +02:00
2017-08-01 02:40:08 +02:00
2017-07-31 15:02:36 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-08-08 16:17:34 +02:00
2017-07-17 11:52:51 +02:00
2017-07-25 12:26:50 +02:00
2017-07-25 12:14:02 +02:00
2017-07-25 11:46:16 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 07:14:49 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-08-02 17:20:49 +02:00
2017-07-25 12:26:50 +02:00
2017-07-25 11:46:16 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 17:54:09 +02:00
2017-07-30 07:14:49 +02:00
2017-08-01 17:54:09 +02:00
2017-08-01 02:40:08 +02:00
2017-07-25 12:26:50 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-07-25 12:26:50 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 07:14:49 +02:00
2017-08-10 11:29:36 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-06-26 10:13:25 +02:00
2017-06-15 18:44:16 +02:00
2017-08-01 02:40:08 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-08-01 02:40:08 +02:00
2017-07-05 11:48:45 +02:00
2017-08-01 02:40:08 +02:00
2017-07-25 11:46:16 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 19:19:39 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-25 11:46:16 +02:00
2017-07-30 00:32:09 +02:00
2017-07-14 14:27:38 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-05 11:48:45 +02:00
2017-08-01 17:59:16 +02:00
2017-06-14 13:45:10 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-25 11:46:16 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-08-09 12:44:13 +02:00
2017-07-30 07:14:49 +02:00
2017-08-01 02:40:08 +02:00
2017-07-25 11:46:16 +02:00
2017-08-01 02:40:08 +02:00
2017-07-25 12:26:50 +02:00
2017-07-25 12:26:50 +02:00
2017-08-01 02:40:08 +02:00
2017-08-07 11:32:06 +02:00
2017-07-25 11:46:16 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-08-10 10:33:05 +02:00
2017-07-25 11:46:16 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-05 11:48:45 +02:00
2017-07-25 11:46:16 +02:00
2017-07-24 15:45:48 +02:00
2017-07-30 04:40:00 +02:00
2017-07-25 12:26:50 +02:00
2017-08-01 02:40:08 +02:00
2017-07-25 11:46:16 +02:00
2017-07-25 11:46:16 +02:00
2017-07-30 04:40:00 +02:00
2017-07-17 13:33:29 +02:00
2017-07-30 04:40:00 +02:00
2017-07-05 11:48:45 +02:00
2017-07-30 04:40:00 +02:00
2017-07-25 12:26:50 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 07:14:49 +02:00
2017-07-25 11:46:16 +02:00
2017-07-25 11:46:16 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-25 12:26:50 +02:00
2017-08-01 17:59:16 +02:00
2017-07-05 11:48:45 +02:00
2017-07-30 07:14:49 +02:00
2017-07-30 07:14:49 +02:00
2017-07-30 07:14:49 +02:00
2017-07-30 07:14:49 +02:00
2017-07-30 07:14:49 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 07:14:49 +02:00
2017-08-01 17:59:16 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-17 13:33:29 +02:00
2017-08-01 17:59:16 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 17:59:16 +02:00
2017-08-01 02:40:08 +02:00
2017-07-24 15:45:48 +02:00
2017-07-17 11:52:51 +02:00
2017-08-01 02:40:08 +02:00
2017-07-25 11:46:16 +02:00
2017-08-01 02:40:08 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-30 04:40:00 +02:00
2017-08-10 13:56:22 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 07:14:49 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 23:11:27 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 07:14:49 +02:00
2017-07-30 07:14:49 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-07-25 12:26:50 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 07:14:49 +02:00
2017-07-25 11:46:16 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 07:14:49 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00
2017-07-30 04:40:00 +02:00
2017-07-30 07:14:49 +02:00
2017-08-01 17:59:16 +02:00
2017-07-30 04:40:00 +02:00
2017-08-01 02:40:08 +02:00