From e28400b3f0e8964154b15411f0a4de131cf62363 Mon Sep 17 00:00:00 2001 From: Diego Paradeda Date: Mon, 4 Nov 2024 15:36:57 -0300 Subject: [PATCH] [FIX] l10n_br_account_payment_order: cnab config copy --- .../models/l10n_br_cnab_boleto_fields.py | 1 + l10n_br_account_payment_order/models/l10n_br_cnab_config.py | 1 + 2 files changed, 2 insertions(+) diff --git a/l10n_br_account_payment_order/models/l10n_br_cnab_boleto_fields.py b/l10n_br_account_payment_order/models/l10n_br_cnab_boleto_fields.py index 09214195c76b..80f7641f6cf5 100644 --- a/l10n_br_account_payment_order/models/l10n_br_cnab_boleto_fields.py +++ b/l10n_br_account_payment_order/models/l10n_br_cnab_boleto_fields.py @@ -145,6 +145,7 @@ class L10nBrCNABBoletoFields(models.AbstractModel): own_number_sequence_id = fields.Many2one( comodel_name="ir.sequence", string="Sequência do Nosso Número", + copy=False, help="Para usar essa Sequencia é preciso definir o campo Tipo do " "Nosso Número como Sequencial Único por Carteira no cadastro da " "empresa", diff --git a/l10n_br_account_payment_order/models/l10n_br_cnab_config.py b/l10n_br_account_payment_order/models/l10n_br_cnab_config.py index abe3e333e858..2b969cdd9e0d 100644 --- a/l10n_br_account_payment_order/models/l10n_br_cnab_config.py +++ b/l10n_br_account_payment_order/models/l10n_br_cnab_config.py @@ -43,6 +43,7 @@ class L10nBRCNABConfig(models.Model): comodel_name="ir.sequence", string="Sequencia do Arquivo CNAB", tracking=True, + copy=False, ) bank_id = fields.Many2one(