From c1818220206eed62ec489e10bff3ebe13a77628b Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Wed, 8 Feb 2023 14:46:35 +0100
Subject: [PATCH] [clean] pre-commit

---
 static/src/js/reconciliation_renderer.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/static/src/js/reconciliation_renderer.js b/static/src/js/reconciliation_renderer.js
index 53db3e4..03deab3 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;
             });
         },
 
-- 
GitLab