Lucas Lefèvre
0d21735a92
[FIX] web: Send attachment ids on file loaded
...
This commit fixes a bug introduced when migrating
from jquery deferred to native JS Promises (ab56e63 ).
Steps to reproduce:
1. Go to the Expense app
2. Create a new expense
3. Click on "Attach Document" and upload a file
=> crash and infinite loading spinner
After loading files, the `attach_document` widget is
supposed to call a callback action with attachment ids
as argument.
Currently, attachement ids are not correclty retrieved.
They are retrieved via the `arguments` object but since ab56e63
`arguments` refers to the arguments of the Promise callback
function and no longer to the handler function `_onFileLoaded`
arguments.
closes odoo/odoo#33048
Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com >
2019-04-30 11:22:32 +00:00
..
2019-04-11 08:37:31 +00:00
2019-03-31 06:20:38 +02:00
2019-04-07 06:20:48 +02:00
2019-04-07 03:14:49 +02:00
2019-04-11 17:24:25 +02:00
2019-04-05 09:08:09 +00:00
2019-04-10 15:10:24 +02:00
2019-04-07 01:27:03 +02:00
2019-04-07 01:27:03 +02:00
2019-04-07 06:20:48 +02:00
2019-04-24 08:04:39 +00:00
2019-02-24 01:37:50 +01:00
2019-03-24 06:23:04 +01:00
2019-04-07 06:20:48 +02:00
2019-04-07 06:20:48 +02:00
2019-04-07 06:20:48 +02:00
2019-03-24 06:23:04 +01:00
2019-04-23 14:26:50 +00:00
2019-04-24 13:21:41 +00:00
2019-04-10 15:10:24 +02:00
2019-04-07 03:14:49 +02:00
2019-04-07 06:20:48 +02:00
2019-04-16 12:33:45 +00:00
2019-04-07 03:14:49 +02:00
2019-04-07 03:14:49 +02:00
2019-04-07 03:14:49 +02:00
2019-04-07 03:14:49 +02:00
2019-04-07 06:20:48 +02:00
2019-04-07 03:14:49 +02:00
2019-04-07 03:14:49 +02:00
2019-04-10 15:10:24 +02:00
2019-03-31 06:20:38 +02:00
2019-04-24 18:59:56 +00:00
2019-03-24 06:23:04 +01:00
2019-03-31 03:16:57 +02:00
2019-04-24 13:26:21 +00:00
2019-04-23 14:26:50 +00:00
2019-04-24 13:26:21 +00:00
2019-04-07 01:27:03 +02:00
2019-03-24 06:23:04 +01:00
2019-04-07 03:14:49 +02:00
2019-04-12 13:37:44 +02:00
2019-04-23 14:26:50 +00:00
2019-04-23 14:26:50 +00:00
2019-04-07 03:14:49 +02:00
2019-03-28 14:55:00 +00:00
2019-04-26 10:01:25 +00:00
2019-04-18 11:55:25 +00:00
2019-04-23 14:26:50 +00:00
2019-03-24 06:23:04 +01:00
2019-03-24 06:23:04 +01:00
2019-04-07 03:14:49 +02:00
2019-04-01 02:44:26 +02:00
2019-03-24 06:23:04 +01:00
2019-04-29 13:45:34 +00:00
2019-04-07 01:27:03 +02:00
2019-02-14 16:28:54 +01:00
2019-04-17 12:10:22 +00:00
2019-04-19 13:42:45 +00:00
2019-04-07 03:14:49 +02:00
2019-03-24 06:23:04 +01:00
2019-04-07 03:14:49 +02:00
2019-04-25 11:59:32 +00:00
2019-04-01 02:44:26 +02:00
2019-03-24 06:23:04 +01:00
2019-04-23 14:26:50 +00:00
2019-04-19 13:42:45 +00:00
2019-04-25 14:17:45 +00:00
2019-04-16 14:48:25 +00:00
2019-04-16 14:48:25 +00:00
2019-04-16 14:48:25 +00:00
2019-04-24 09:57:56 +00:00
2019-04-01 02:44:26 +02:00
2019-04-10 15:10:24 +02:00
2019-04-02 15:53:02 +02:00
2019-03-29 18:10:57 +01:00
2019-04-02 15:53:01 +02:00
2019-03-18 14:17:54 +01:00
2019-04-07 06:20:48 +02:00
2019-04-29 13:45:34 +00:00
2019-03-24 06:23:04 +01:00
2019-04-07 06:20:48 +02:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-04-12 13:37:44 +02:00
2019-04-05 09:08:09 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-12 09:25:15 +00:00
2019-03-12 09:25:15 +00:00
2019-02-28 12:39:03 +00:00
2019-03-14 14:13:47 +01:00
2019-02-28 12:39:03 +00:00
2019-03-29 18:10:57 +01:00
2019-03-21 13:58:37 +01:00
2019-04-05 10:50:56 +02:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-04-19 05:19:51 +00:00
2019-04-19 05:18:01 +00:00
2019-04-19 05:18:01 +00:00
2019-04-19 05:18:01 +00:00
2019-02-20 17:37:22 +01:00
2019-04-05 14:05:31 +00:00
2019-04-02 16:35:17 +02:00
2019-02-28 12:39:03 +00:00
2019-04-05 18:46:10 +02:00
2019-04-02 16:35:17 +02:00
2019-03-29 18:10:57 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-04-08 17:45:00 +02:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-25 18:28:16 +01:00
2019-02-28 12:39:03 +00:00
2019-02-19 07:59:25 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-04-15 09:26:23 +00:00
2019-04-07 06:20:48 +02:00
2019-04-29 13:45:34 +00:00
2019-04-07 06:20:48 +02:00
2019-04-07 06:20:48 +02:00
2019-04-16 13:52:22 +00:00
2019-03-24 06:23:04 +01:00
2019-03-24 06:23:04 +01:00
2019-03-24 06:23:04 +01:00
2019-03-24 06:23:04 +01:00
2019-04-19 13:42:45 +00:00
2019-04-25 09:14:13 +00:00
2019-04-24 08:13:56 +00:00
2019-04-07 03:14:49 +02:00
2019-04-03 13:52:22 +00:00
2019-04-07 06:20:48 +02:00
2019-03-24 06:23:04 +01:00
2019-04-07 03:14:49 +02:00
2019-03-24 06:23:04 +01:00
2019-04-24 13:21:41 +00:00
2019-04-29 13:45:34 +00:00
2019-03-26 10:33:26 +01:00
2019-04-05 18:46:10 +02:00
2019-03-29 19:47:46 +01:00
2019-04-01 02:44:26 +02:00
2019-03-29 19:47:46 +01:00
2019-04-18 13:51:45 +00:00
2019-03-24 06:23:04 +01:00
2019-03-24 06:23:04 +01:00
2019-04-01 02:44:26 +02:00
2019-03-24 06:23:04 +01:00
2019-03-24 06:23:04 +01:00
2019-04-18 07:11:57 +00:00
2019-04-19 12:41:43 +00:00
2019-04-07 03:14:49 +02:00
2019-03-31 03:16:57 +02:00
2019-04-10 15:10:24 +02:00
2019-04-01 02:44:26 +02:00
2019-03-24 06:23:04 +01:00
2019-04-07 06:20:48 +02:00
2019-04-07 03:14:49 +02:00
2019-04-01 02:44:26 +02:00
2019-04-29 13:45:03 +00:00
2019-04-07 03:14:49 +02:00
2019-04-07 03:14:49 +02:00
2019-04-07 06:20:48 +02:00
2019-04-23 14:26:50 +00:00
2019-03-24 06:23:04 +01:00
2019-04-29 13:45:34 +00:00
2019-03-24 06:23:04 +01:00
2019-04-03 13:53:52 +00:00
2019-04-12 13:37:44 +02:00
2019-03-24 06:23:04 +01:00
2019-04-12 13:37:44 +02:00
2019-04-01 02:44:26 +02:00
2019-04-11 08:37:31 +00:00
2019-04-19 13:42:45 +00:00
2019-04-11 08:37:31 +00:00
2019-04-23 14:26:50 +00:00
2019-04-01 15:08:01 +02:00
2019-04-07 03:14:49 +02:00
2019-04-07 01:27:03 +02:00
2019-04-15 14:00:22 +00:00
2019-04-07 01:27:03 +02:00
2019-04-01 02:44:26 +02:00
2019-04-12 13:37:44 +02:00
2019-03-24 06:23:04 +01:00
2019-04-11 10:30:09 +00:00
2019-04-11 08:37:31 +00:00
2019-04-15 09:32:11 +00:00
2019-04-24 13:26:21 +00:00
2019-03-24 06:23:04 +01:00
2019-04-11 19:27:36 +02:00
2019-04-07 01:27:03 +02:00
2019-03-24 06:23:04 +01:00
2019-04-24 13:22:50 +00:00
2019-04-12 13:37:44 +02:00
2019-04-11 14:55:50 +00:00
2019-04-07 06:20:48 +02:00
2019-04-07 06:20:48 +02:00
2019-04-25 14:17:45 +00:00
2019-02-28 12:39:03 +00:00
2019-04-26 10:28:09 +00:00
2019-03-11 15:44:32 +01:00
2019-04-04 08:44:59 +00:00
2019-03-24 06:23:04 +01:00
2019-02-28 12:39:03 +00:00
2019-03-24 06:23:04 +01:00
2019-03-31 06:20:38 +02:00
2019-04-07 06:20:48 +02:00
2019-04-30 11:22:32 +00:00
2019-03-24 06:23:04 +01:00
2019-04-29 13:45:34 +00:00
2019-02-28 12:39:03 +00:00
2019-04-24 13:21:41 +00:00
2019-04-24 15:17:42 +00:00
2019-04-29 13:45:34 +00:00
2019-04-29 13:45:34 +00:00
2019-04-05 11:34:19 +00:00
2019-04-19 10:39:21 +00:00
2019-04-23 14:26:50 +00:00
2019-04-07 06:20:48 +02:00
2019-04-05 11:34:19 +00:00
2019-03-31 03:16:57 +02:00
2019-04-07 06:20:48 +02:00
2019-01-14 13:33:35 +00:00
2019-04-19 10:39:21 +00:00
2019-04-19 10:39:21 +00:00
2019-04-19 13:42:45 +00:00
2019-04-07 03:14:49 +02:00
2019-03-24 06:23:04 +01:00
2019-04-19 10:39:21 +00:00
2019-04-04 08:44:59 +00:00
2019-04-07 03:14:49 +02:00
2019-04-01 02:44:26 +02:00
2019-04-07 01:27:03 +02:00
2019-04-01 02:44:26 +02:00
2019-04-16 13:19:32 +00:00
2019-04-29 13:45:03 +00:00
2019-04-01 02:44:26 +02:00
2019-04-29 13:45:34 +00:00
2019-04-10 06:27:36 +00:00
2019-04-29 13:45:34 +00:00
2019-04-16 13:26:11 +00:00
2019-04-12 13:37:44 +02:00
2019-04-02 08:00:34 +00:00
2019-04-07 03:14:49 +02:00
2019-04-01 02:44:26 +02:00
2019-04-07 01:27:03 +02:00
2019-03-24 06:23:04 +01:00
2019-04-16 13:19:32 +00:00
2019-03-24 06:23:04 +01:00
2019-04-19 06:22:02 +00:00
2019-04-02 11:45:44 +00:00
2019-04-16 13:26:11 +00:00
2019-04-29 13:45:34 +00:00
2019-04-07 06:20:48 +02:00
2019-04-25 14:17:45 +00:00
2019-04-07 06:20:48 +02:00
2019-04-07 03:14:49 +02:00