From 4dd4b950fa89b99af2f0cfb5a32a3a7ad8021e1f Mon Sep 17 00:00:00 2001 From: Magno Costa Date: Fri, 13 Sep 2024 19:48:48 -0300 Subject: [PATCH] [REM] l10n_br_account_payment_brcobranca: Obsolet --- .../models/__init__.py | 1 - .../models/account_payment_mode.py | 22 ------------------- 2 files changed, 23 deletions(-) delete mode 100644 l10n_br_account_payment_brcobranca/models/account_payment_mode.py diff --git a/l10n_br_account_payment_brcobranca/models/__init__.py b/l10n_br_account_payment_brcobranca/models/__init__.py index da21c0cef894..572a2364d484 100644 --- a/l10n_br_account_payment_brcobranca/models/__init__.py +++ b/l10n_br_account_payment_brcobranca/models/__init__.py @@ -3,5 +3,4 @@ from . import account_payment_order from . import account_payment_line from . import account_journal -from . import account_payment_mode from . import l10n_br_cnab_config diff --git a/l10n_br_account_payment_brcobranca/models/account_payment_mode.py b/l10n_br_account_payment_brcobranca/models/account_payment_mode.py deleted file mode 100644 index e37f3b18463e..000000000000 --- a/l10n_br_account_payment_brcobranca/models/account_payment_mode.py +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) 2012-Today - KMEE (). -# @author Luis Felipe Miléo - mileo@kmee.com.br -# @author Renato Lima - renato.lima@akretion.com.br -# Copyright (C) 2021-Today - Akretion (). -# @author Magno Costa -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo import api, models - - -class AccountPaymentMode(models.Model): - """ - Override Account Payment Mode - """ - - _inherit = "account.payment.mode" - - @api.model - def _selection_cnab_processor(self): - selection = super()._selection_cnab_processor() - selection.append(("brcobranca", "BRCobrança")) - return selection