diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-10-27 16:51:48 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-10-30 12:21:19 +0100 |
| commit | bb8f41d2a619b300b7cc9274bc6e82e314df0adb (patch) | |
| tree | 3a1e8ec2431bcb050ef33fe0c90a2637d5fe22d5 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | f476d069f456fda0ca263a14e3e93a23be7541de (diff) | |
[FIX] account_asset: do not create move
- Create an asset, post one line.
- Go back to the asset => the button is green
- Click again on the line => the button is orange
There is no protection to prevent the user to post the same entry
several times (a new account move is created every time it is clicked).
We fix the JS widget, but we add an extra layer of protection at the
Python level.
opw-778756
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
