diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-06-14 16:20:36 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-06-14 17:29:51 +0200 |
| commit | 131e478ae6ff96f922f154723eeb196cb7ee50fc (patch) | |
| tree | 5fe8c0273a298f55f6c65fb85e33d63a53004066 | |
| parent | 34a8754d4f0a6dca7cf612859d5702bcae1f90d6 (diff) | |
[FIX] account: avoid usage of `this` in closure
Oversight of previous forward-port.
| -rw-r--r-- | addons/account/static/src/js/reconciliation/reconciliation_renderer.js | 4 |
1 files changed, 2 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 01e18865480..e6be300714d 100644 --- a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js +++ b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js @@ -478,9 +478,9 @@ var LineRenderer = Widget.extend(FieldManagerMixin, { }); if (state.to_check) { // Set the to_check field to true if global to_check is set - this.$('.create_to_check input').prop('checked', state.to_check).change(); + self.$('.create_to_check input').prop('checked', state.to_check).change(); } - return true; + return true; }); }); } |
