[FIX] hw_posbox_homepage: In iot, remove sending an unused variable
In iot, when we send a request to the route '/hw_posbox_homepage/password' we pass a variable which is unused. And which therefore causes a warning in the iot logs. This commit removes the query parameter. closes odoo/odoo#151604 X-original-commit: f713d48f6393e58cf9c4b5fe08e1407ea2be8513 Signed-off-by: Yaroslav Soroko (yaso) <yaso@odoo.com> Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
url:'/hw_posbox_homepage/password',
|
||||
type: 'post',
|
||||
contentType: 'application/json',
|
||||
data: JSON.stringify({ params: {action: 'view'} }),
|
||||
data: JSON.stringify({}),
|
||||
}).done(function(password) {
|
||||
$('.password').val(password['result']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user