Skip to content

Commit

Permalink
[FIX] l10n_br_account_payment_order: tracking parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed Sep 17, 2022
1 parent 1038ea0 commit 6d11bd1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ class AccountPaymentLine(models.Model):

payment_mode_id = fields.Many2one(
comodel_name="account.payment.mode",
tracking=True,
)

# Campo não usado no BRCobranca
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class AccountPaymentMode(models.Model):
_name = "account.payment.mode"
_inherit = [
"account.payment.mode",
"mail.thread",
"l10n_br_cnab.boleto.fields",
"l10n_br_cnab.payment.fields",
"mail.thread",
]

auto_create_payment_order = fields.Boolean(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

class L10nBrCNABBoletoFields(models.Model):
_name = "l10n_br_cnab.boleto.fields"
_inherit = "mail.thread"
_description = "CNAB - Boleto Fields."

invoice_print = fields.Boolean(string="Gerar relatorio na conclusão da fatura?")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class L10nBrCNABMovInstructionCode(models.Model):
_name = "l10n_br_cnab.mov.instruction.code"
_inherit = "l10n_br_cnab.data.abstract"
_inherit = ["l10n_br_cnab.data.abstract", "mail.thread"]
_description = "CNAB Movement Instruction Code"

bank_ids = fields.Many2many(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class L10nBrCNABReturnMoveCode(models.Model):
_name = "l10n_br_cnab.return.move.code"
_inherit = "l10n_br_cnab.data.abstract"
_inherit = ["l10n_br_cnab.data.abstract", "mail.thread"]
_description = "CNAB Return Move Code"

bank_ids = fields.Many2many(
Expand Down

0 comments on commit 6d11bd1

Please sign in to comment.