Repository
OCA/l10n-brazil · module folder · Try on Runboat
Module version
1.0.0
Category
Banking addons
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/odoo-brazil/odoo-brazil-banking
Last tracking update
2026-08-07 07:03:04
Authors
Odoo Community Association (OCA), KMEE
Maintainers
Odoo Community Association (OCA), KMEE
Committers
Magno
Odoo dependencies
Python dependencies
num2words
System dependencies
None
Required by
l10n_br_account_payment_mode, l10n_br_data_base
Description

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
l10n_br_banking_payment_order_form l10n_br_account.payment.order.form.banking payment.order form Inherits account_payment.view_payment_order_form
payment_order_populate_view_move_line_tree payment.order.populate.account.move.line.tree account.move.line tree New
view_create_payment_order payment.order.create.form.export payment.order.create form Inherits account_banking_payment_export.view_create_payment_order
view_create_payment_order_lines add.context.to.display.maturity.date payment.order.create Inherits account_payment.view_create_payment_order_lines
view_payments_mode_tree l10n_br_account_banking_payment.aml account.move.line tree Inherits account_due_list.view_payments_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (2)
  • date_scheduled Date
    string='Data Prevista'
  • journal_entry_ref Char
    compute=_get_journal_entry_ref string='Journal Entry Ref'
Public methods (1)
  • get_balance(self)
    @api.multi
    Return the balance of any set of move lines. Not to be confused with the 'balance' field on this model, which returns the account balance that the move line applies to.

New fields (3)
  • amount_interest Float
    compute='_compute_interest' digits=dp.get_precision('Account') string='Valor Juros'
  • linha_digitavel Char
    string='Linha Digitável'
  • percent_interest Float
    digits=dp.get_precision('Account') string='Percentual de Juros'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_open(self)
    @api.multi
    Validacao para nao confirmar ordem de pagamento vazia

New fields (2)
  • all_posted_moves Boolean
    default=True args: 'Títulos em aberto'
  • schedule_date Date
    args: 'Data Programada'
Public methods (5)
  • create_payment(self)
    @api.multi
    This method is a slightly modified version of the existing method on this model in account_payment. - pass the payment mode to line2bank() - allow invoices to create influence on the payment process: not only 'Free' references are allowed, but others as well - check date_to_pay is not in the past.
  • default_get(self, field_list)
    @api.model
  • extend_payment_order_domain(self, payment_order, domain)
    @api.multi
  • filter_lines(self, lines)
    @api.multi
    Filter move lines before proposing them for inclusion in the payment order. This implementation filters out move lines that are already included in draft or open payment orders. This prevents the user to include the same line in two different open payment orders. When the payment order is sent, it is assumed that the move will be reconciled soon (or immediately with account_banking_payment_transfer), so it will not be proposed anymore for payment. See also https://github.com/OCA/bank-payment/issues/93. :param lines: recordset of move lines :returns: list of move line ids
  • search_entries(self)
    @api.multi
    This method taken from account_payment module. We adapt the domain based on the payment_order_type

New fields (0)

No new fields.

Public methods (1)
  • check_bic_length(self)
    @api.multi@api.constrains('bic')

New fields (0)

No new fields.

Public methods (1)
  • check_bic_length(self)
    @api.multi@api.constrains('bank_bic')