diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-03-05 22:25:36 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-03-05 22:25:36 +0100 |
| commit | 3de9d443c7140d5d3dc8dafce474dc0887d98697 (patch) | |
| tree | fed8d6f8b3732c17d3858115835f769c0750e877 | |
| parent | a34357275fe731634c45ea07607f744d8c44b36e (diff) | |
[FIX] account: typo self/this in reconciliation
| -rw-r--r-- | addons/account/static/src/js/reconciliation/reconciliation_renderer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js index e86b59ec88f..9d070bc3c46 100644 --- a/addons/account/static/src/js/reconciliation/reconciliation_renderer.js +++ b/addons/account/static/src/js/reconciliation/reconciliation_renderer.js @@ -428,7 +428,7 @@ var LineRenderer = Widget.extend(FieldManagerMixin, { var data = this.model.get(this.handleCreateRecord).data; this.model.notifyChanges(this.handleCreateRecord, state.createForm).then(function () { // FIXME can't it directly written REPLACE_WITH ids=state.createForm.analytic_tag_ids - this.model.notifyChanges(this.handleCreateRecord, {analytic_tag_ids: {operation: 'REPLACE_WITH', ids: []}}).then(function (){ + self.model.notifyChanges(self.handleCreateRecord, {analytic_tag_ids: {operation: 'REPLACE_WITH', ids: []}}).then(function (){ var defs = []; _.each(state.createForm.analytic_tag_ids, function (tag) { defs.push(self.model.notifyChanges(self.handleCreateRecord, {analytic_tag_ids: {operation: 'ADD_M2M', ids: tag}})); |
