From 2c92cab3525db4b46c0ebf9ab47f63f06a4185f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Valyi?= Date: Fri, 12 Apr 2024 00:38:09 -0300 Subject: [PATCH] [REF] l10n_br_fiscal->l10n_br_fiscal_edi dep --- l10n_br_fiscal_closing/__manifest__.py | 2 +- l10n_br_fiscal_edi/models/document.py | 1 - l10n_br_fiscal_edi/models/document_serie.py | 2 +- l10n_br_nfe/__manifest__.py | 2 +- l10n_br_nfse/__manifest__.py | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/l10n_br_fiscal_closing/__manifest__.py b/l10n_br_fiscal_closing/__manifest__.py index b5fe8c04b458..4bb22bb20287 100644 --- a/l10n_br_fiscal_closing/__manifest__.py +++ b/l10n_br_fiscal_closing/__manifest__.py @@ -10,7 +10,7 @@ "author": "KMEE,Odoo Community Association (OCA)", "website": "https://github.com/OCA/l10n-brazil", "depends": [ - "l10n_br_fiscal", + "l10n_br_fiscal_edi", ], "data": [ "security/ir.model.access.csv", diff --git a/l10n_br_fiscal_edi/models/document.py b/l10n_br_fiscal_edi/models/document.py index 0a79142f38e0..567bb2f60f81 100644 --- a/l10n_br_fiscal_edi/models/document.py +++ b/l10n_br_fiscal_edi/models/document.py @@ -65,7 +65,6 @@ def action_document_send(self): ) if to_send: to_send._document_send() - pass to_send = self.filtered( lambda d: d.state_edoc in ( diff --git a/l10n_br_fiscal_edi/models/document_serie.py b/l10n_br_fiscal_edi/models/document_serie.py index c9702fb55734..7c8447208351 100644 --- a/l10n_br_fiscal_edi/models/document_serie.py +++ b/l10n_br_fiscal_edi/models/document_serie.py @@ -1,7 +1,7 @@ # Copyright (C) 2009 Renato Lima - Akretion # Copyright (C) 2014 KMEE - www.kmee.com.br # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html -from odoo import _, fields, models +from odoo import fields, models class DocumentSerie(models.Model): diff --git a/l10n_br_nfe/__manifest__.py b/l10n_br_nfe/__manifest__.py index 7e88f01a0da9..e1e01da4f86f 100644 --- a/l10n_br_nfe/__manifest__.py +++ b/l10n_br_nfe/__manifest__.py @@ -13,7 +13,7 @@ "development_status": "Beta", "version": "14.0.16.1.1", "depends": [ - "l10n_br_fiscal", + "l10n_br_fiscal_edi", "l10n_br_fiscal_certificate", "l10n_br_nfe_spec", "spec_driven_model", diff --git a/l10n_br_nfse/__manifest__.py b/l10n_br_nfse/__manifest__.py index 426277aff463..1e824555f09f 100644 --- a/l10n_br_nfse/__manifest__.py +++ b/l10n_br_nfse/__manifest__.py @@ -18,7 +18,7 @@ ], }, "depends": [ - "l10n_br_fiscal", + "l10n_br_fiscal_edi", "l10n_br_fiscal_certificate", ], "data": [