diff --git a/static/src/js/reconciliation_renderer.js b/static/src/js/reconciliation_renderer.js index 53db3e456bd7a7d0256b4f64e9324bf731eb8ddd..03deab3b8a3c0273198376c8ea8d6e896885e679 100644 --- a/static/src/js/reconciliation_renderer.js +++ b/static/src/js/reconciliation_renderer.js @@ -12,11 +12,11 @@ odoo.define("cgscop_account.reconciliation_renderer", function (require) { /* * Surcharge la fonction parente pour ne pas permettre la création depuis * le widget - */ - start: function() { + */ + start: function () { var self = this; - return this._super.apply(this, arguments).then(function (res) { - self.fields.partner_id.can_create = false + return this._super.apply(this, arguments).then(function () { + self.fields.partner_id.can_create = false; }); },