Nicolas Martinelli
4ce309dfab
[FIX] web: deactivate buttons
...
To reproduce:
- Get a slow connection, e.g. activate throttling in debug mode of the
browser.
- Create an invoice with at least one tax.
- Change a price unit.
- Click on 'Save' then repeatedly on 'Validate'
The tax lines are duplicated.
The issue comes from two identical `write` calls whose purpose is to
delete the existing tax line and create a new tax line.
The two calls are issued by the click on 'Save' and the click on
'Validate', which triggers a 'Save' since it doesn't consider the form
as being saved yet.
There were several issues:
- The buttons from the statusbar were not disabled
- The buttons were enabled too soon. They should be enabled again when
the form is reloaded, otherwise the call to 'Validate' doesn't
consider the form saved.
This is an extension of commit
https://github.com/odoo/odoo/commit/bbbf3db581b5cf883
opw-710642
2017-03-07 11:57:14 +01:00
..
2017-03-05 02:55:35 +01:00
2017-01-22 03:25:31 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-05 00:31:18 +01:00
2017-03-05 00:30:41 +01:00
2017-01-29 00:30:57 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-01-22 03:25:31 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 02:55:35 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 02:55:35 +01:00
2017-02-12 00:31:19 +01:00
2017-02-26 00:31:32 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 00:31:32 +01:00
2017-02-26 02:55:24 +01:00
2017-01-29 02:55:31 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 02:55:35 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 02:55:35 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 00:31:32 +01:00
2017-02-26 02:55:24 +01:00
2017-03-06 11:29:04 +01:00
2017-01-22 03:25:31 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-19 02:54:42 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-02-05 02:54:43 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 02:55:35 +01:00
2017-01-29 00:30:57 +01:00
2017-03-05 00:30:41 +01:00
2017-01-22 03:25:31 +01:00
2017-01-22 00:39:31 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 02:55:35 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 02:55:35 +01:00
2017-02-05 00:31:18 +01:00
2017-01-29 00:30:57 +01:00
2017-03-05 02:55:35 +01:00
2017-01-22 00:39:31 +01:00
2017-03-05 02:55:35 +01:00
2017-01-22 03:25:31 +01:00
2017-01-29 00:30:57 +01:00
2017-01-22 03:25:31 +01:00
2017-01-29 00:30:57 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-02-27 17:00:28 +01:00
2017-01-29 00:30:57 +01:00
2017-01-30 15:27:15 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2016-11-20 02:58:43 +01:00
2017-01-29 00:30:57 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 02:55:35 +01:00
2017-01-29 00:30:57 +01:00
2016-11-20 02:58:43 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-02-22 09:30:30 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-02-26 02:55:24 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-02-26 02:55:24 +01:00
2017-01-29 00:30:57 +01:00
2017-02-26 02:55:24 +01:00
2017-01-29 00:30:57 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 02:55:35 +01:00
2016-12-25 00:30:02 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-03-01 12:23:57 +01:00
2017-02-26 00:31:32 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 00:31:32 +01:00
2016-12-04 02:57:30 +01:00
2017-02-26 00:31:32 +01:00
2017-01-01 00:30:05 +01:00
2017-03-05 02:55:35 +01:00
2017-02-05 00:31:18 +01:00
2017-01-29 00:30:57 +01:00
2017-02-05 00:31:18 +01:00
2017-02-05 00:31:18 +01:00
2017-03-06 10:37:49 +01:00
2017-02-05 00:31:18 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 02:55:35 +01:00
2017-02-26 02:55:24 +01:00
2017-02-19 02:54:42 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-19 00:30:54 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2017-03-01 02:54:50 +01:00
2017-03-05 00:30:41 +01:00
2017-02-19 02:54:42 +01:00
2017-03-05 02:55:35 +01:00
2017-02-26 00:31:32 +01:00
2017-02-26 02:55:24 +01:00
2016-12-04 00:32:08 +01:00
2017-03-02 12:40:45 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-03-06 11:42:18 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 00:31:32 +01:00
2017-01-29 00:30:57 +01:00
2017-01-29 00:30:57 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-03-03 10:57:46 +01:00
2017-03-05 00:30:41 +01:00
2017-02-19 00:30:54 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-01-30 16:51:29 +01:00
2016-12-04 02:57:30 +01:00
2017-03-05 00:30:41 +01:00
2017-03-06 14:35:20 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 02:55:35 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 00:30:41 +01:00
2017-02-05 00:31:18 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 02:55:35 +01:00
2017-03-07 11:57:14 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 02:55:35 +01:00
2017-02-26 00:31:32 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 00:30:41 +01:00
2017-01-29 02:55:31 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 00:31:32 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 00:31:32 +01:00
2017-02-19 00:30:54 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 02:55:35 +01:00
2017-02-26 02:55:24 +01:00
2017-02-19 00:30:54 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 00:31:32 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2016-11-20 00:39:36 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 00:30:41 +01:00
2017-03-05 00:30:41 +01:00
2017-02-26 00:31:32 +01:00
2017-02-05 02:54:43 +01:00
2017-01-17 16:11:05 +01:00
2017-03-06 11:29:04 +01:00
2017-02-26 00:31:32 +01:00