From 2d1c5f1ee98283ea40233dd10f40e2a038746fed Mon Sep 17 00:00:00 2001 From: Carlos Silveira Date: Mon, 27 May 2024 14:18:00 -0300 Subject: [PATCH] =?UTF-8?q?a=C3=A7=C3=A3o=20j=C3=A1=20executada=20no=20onc?= =?UTF-8?q?hange=5Ffiscal=5Ftype?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- l10n_br_fiscal/models/product_mixin.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/l10n_br_fiscal/models/product_mixin.py b/l10n_br_fiscal/models/product_mixin.py index 6f7562b6bdd4..169c4c697797 100644 --- a/l10n_br_fiscal/models/product_mixin.py +++ b/l10n_br_fiscal/models/product_mixin.py @@ -31,6 +31,3 @@ def _onchange_ncm_id(self): r.fiscal_genre_id = self.env["l10n_br_fiscal.product.genre"].search( [("code", "=", r.ncm_id.code[0:2])] ) - - if r.fiscal_type == PRODUCT_FISCAL_TYPE_SERVICE: - r.ncm_id = self.env.ref(NCM_FOR_SERVICE_REF)