summaryrefslogtreecommitdiff
path: root/addons/account/static/src/js/reconciliation/reconciliation_renderer.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2018-02-26 10:14:00 +0100
committerChristophe Matthieu <chm@odoo.com>2018-02-27 15:35:23 +0100
commitbdfd1ebf0cd1bb391044602664aec80c6dbc116a (patch)
tree48c5779b1907d409edc3142f5a99432fe4eed877 /addons/account/static/src/js/reconciliation/reconciliation_renderer.js
parent39780b503744197fc86d14a40126d0dd144f42b1 (diff)
[REF] account: create 'account.reconciliation.widget' model
Contains widget reconciliation methods. This refactoring does not modify the feature, some errors have been notified in the code but not modified.
Diffstat (limited to 'addons/account/static/src/js/reconciliation/reconciliation_renderer.js')
-rw-r--r--addons/account/static/src/js/reconciliation/reconciliation_renderer.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js
index 189304b6747..d68d4e9d693 100644
--- a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js
+++ b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js
@@ -637,6 +637,7 @@ var LineRenderer = Widget.extend(FieldManagerMixin, {
},
/**
* @private
+ * @param {input event} event
*/
_onFilterChange: function (event) {
this.trigger_up('change_filter', {'data': _.str.strip($(event.target).val())});
@@ -688,7 +689,7 @@ var LineRenderer = Widget.extend(FieldManagerMixin, {
* @param {MouseEvent} event
*/
_onSelectMoveLine: function (event) {
- var $el = $(event.target)
+ var $el = $(event.target);
this._destroyPopover($el);
var moveLineId = $el.closest('.mv_line').data('line-id');
this.trigger_up('add_proposition', {'data': moveLineId});
@@ -698,7 +699,7 @@ var LineRenderer = Widget.extend(FieldManagerMixin, {
* @param {MouseEvent} event
*/
_onSelectProposition: function (event) {
- var $el = $(event.target)
+ var $el = $(event.target);
this._destroyPopover($el);
var moveLineId = $el.closest('.mv_line').data('line-id');
this.trigger_up('remove_proposition', {'data': moveLineId});