Nicolas Lempereur
cd2b07ea44
[FIX] pad: remove wrong warning at pad creation
...
When creating a pad before this change these were the steps:
- modify pad URL for new pad URL
- end of record loading
This caused an issue because modifying the record at this point would
mark it as dirty before displaying it (which would result in a erroneous
warning "The record has been modified, your changes will be discarded.
Are you sure you want to leave this page ?").
With this fix:
- modifying the pad URL is done after the record is ready
- deferred have been unified (to remove possible race conditions)
closes #15239
opw-702797
forward port note: this change is needed up to saas-15, over saas-15
only a small part is needed (because x2many views are loaded with the
root view and there is one widget instance per record).
code note: it would be better to modify load_record of form view and
delay `record_loaded` upto after x2many views are loaded, but possible
impacts have been judged too risky so this is done only in pad widget.
2017-04-26 18:32:18 +02:00
..
2017-04-24 13:27:02 +02:00
2017-01-22 03:25:31 +01:00
2017-04-09 02:54:13 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-16 00:30:18 +02:00
2017-04-16 02:54:21 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-02 00:32:12 +02:00
2017-04-16 00:30:18 +02:00
2017-04-21 14:05:52 +02:00
2017-04-23 00:31:08 +02:00
2017-04-16 02:54:21 +02:00
2017-03-12 02:54:51 +01:00
2017-01-22 03:25:31 +01:00
2017-04-09 02:54:13 +02:00
2017-03-26 00:31:50 +01:00
2017-04-23 00:31:08 +02:00
2017-04-16 00:30:18 +02:00
2017-04-23 00:31:08 +02:00
2017-04-16 02:54:21 +02:00
2017-04-02 00:32:12 +02:00
2017-03-19 00:31:31 +01:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-02 00:32:12 +02:00
2017-01-29 02:55:31 +01:00
2017-03-26 00:31:50 +01:00
2017-03-26 00:31:50 +01:00
2017-04-23 00:31:08 +02:00
2017-02-26 02:55:24 +01:00
2017-04-23 00:31:08 +02:00
2017-04-09 02:54:13 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-03-19 00:31:31 +01:00
2017-04-23 00:31:08 +02:00
2017-04-09 02:54:13 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-16 02:54:21 +02:00
2017-02-26 02:55:24 +01:00
2017-03-26 00:31:50 +01:00
2017-04-16 02:54:21 +02:00
2017-04-16 02:54:21 +02:00
2017-01-22 03:25:31 +01:00
2017-04-23 00:31:08 +02:00
2017-04-02 00:32:12 +02:00
2017-03-19 00:31:31 +01:00
2017-04-23 00:31:08 +02:00
2017-04-09 02:54:13 +02:00
2017-04-02 00:32:12 +02:00
2017-04-09 02:54:13 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 00:31:50 +01:00
2017-04-23 00:31:08 +02:00
2017-04-09 02:54:13 +02:00
2017-04-16 00:30:18 +02:00
2017-03-24 17:11:48 +01:00
2017-03-24 17:11:48 +01:00
2017-03-24 17:11:48 +01:00
2017-04-23 00:31:08 +02:00
2017-01-22 03:25:31 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-04-06 09:21:21 +02:00
2017-03-19 02:55:34 +01:00
2017-03-12 02:54:51 +01:00
2017-04-09 02:54:13 +02:00
2017-03-26 03:09:57 +02:00
2017-03-12 02:54:51 +01:00
2017-03-19 00:31:31 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-01-22 03:25:31 +01:00
2017-03-23 16:49:06 +01:00
2017-01-22 03:25:31 +01:00
2017-01-29 00:30:57 +01:00
2017-03-19 00:31:31 +01:00
2017-03-12 00:30:59 +01:00
2017-02-27 17:00:28 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-01-29 00:30:57 +01:00
2017-03-12 02:54:51 +01:00
2017-04-23 00:31:08 +02:00
2017-03-31 12:10:22 +02:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-02-26 02:55:24 +01:00
2017-03-19 02:55:34 +01:00
2017-03-19 00:31:31 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-26 00:31:50 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-19 02:55:34 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-04-01 02:56:03 +02:00
2017-03-12 00:30:59 +01:00
2017-03-19 02:55:34 +01:00
2017-03-12 00:30:59 +01:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-16 02:54:21 +02:00
2017-04-02 00:32:12 +02:00
2017-03-26 03:09:57 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-09 02:54:13 +02:00
2017-03-12 02:54:51 +01:00
2017-04-26 18:32:18 +02:00
2017-03-26 00:31:50 +01:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-02 00:32:12 +02:00
2017-04-23 00:31:08 +02:00
2017-04-16 02:54:21 +02:00
2017-04-09 02:54:13 +02:00
2017-03-26 00:31:50 +01:00
2017-04-23 00:31:08 +02:00
2017-04-24 11:40:25 +02:00
2017-04-06 14:46:56 +02:00
2017-03-26 00:31:50 +01:00
2017-04-23 00:31:08 +02:00
2017-04-02 02:56:31 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 00:31:50 +01:00
2017-04-16 02:54:21 +02:00
2017-04-09 00:30:47 +02:00
2017-04-01 02:56:03 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 00:31:50 +01:00
2017-04-16 02:54:21 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 00:31:50 +01:00
2017-03-26 00:31:50 +01:00
2017-04-02 00:32:12 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 03:09:57 +02:00
2017-04-09 02:54:13 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-09 00:30:47 +02:00
2017-03-19 00:31:31 +01:00
2017-03-12 00:30:59 +01:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 03:09:57 +02:00
2017-03-26 03:09:57 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 00:31:50 +01:00
2017-04-23 00:31:08 +02:00
2017-03-05 00:30:41 +01:00
2017-04-23 00:31:08 +02:00
2017-03-12 02:54:51 +01:00
2017-03-26 00:31:50 +01:00
2017-04-23 00:31:08 +02:00
2017-04-11 15:00:14 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 00:31:50 +01:00
2017-04-16 02:54:21 +02:00
2017-04-16 02:54:21 +02:00
2017-04-23 00:31:08 +02:00
2017-04-02 00:32:12 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-03-05 00:30:41 +01:00
2017-03-28 13:16:16 +02:00
2017-04-23 00:31:08 +02:00
2017-04-16 02:54:21 +02:00
2017-04-24 08:02:22 +02:00
2017-04-16 02:54:21 +02:00
2017-04-16 02:54:21 +02:00
2017-04-23 00:31:08 +02:00
2017-04-02 00:32:12 +02:00
2017-04-23 00:31:08 +02:00
2017-03-19 00:31:31 +01:00
2017-04-23 00:31:08 +02:00
2017-03-19 00:31:31 +01:00
2017-03-12 02:54:51 +01:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-02-26 00:31:32 +01:00
2017-04-02 00:32:12 +02:00
2017-04-02 00:32:12 +02:00
2017-04-09 02:54:13 +02:00
2017-04-23 00:31:08 +02:00
2017-04-02 00:32:12 +02:00
2017-04-23 00:31:08 +02:00
2017-03-12 00:30:59 +01:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 00:31:50 +01:00
2017-04-02 00:32:12 +02:00
2017-04-16 02:54:21 +02:00
2017-04-23 00:31:08 +02:00
2017-04-09 00:30:47 +02:00
2017-04-16 00:30:18 +02:00
2017-04-09 00:30:47 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 00:31:50 +01:00
2017-04-02 00:32:12 +02:00
2017-04-16 00:30:18 +02:00
2017-04-16 00:30:18 +02:00
2017-04-16 00:30:18 +02:00
2017-04-16 00:30:18 +02:00
2017-04-23 00:31:08 +02:00
2017-04-02 00:32:12 +02:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00
2017-03-26 00:31:50 +01:00
2017-04-16 02:54:21 +02:00
2017-01-17 16:11:05 +01:00
2017-04-23 00:31:08 +02:00
2017-04-23 00:31:08 +02:00