Brazilian Banking - Debit and Payments Export Infrastructure
l10n_br_account_banking_payment · OCA/l10n-brazil
Merged into l10n_br_account_payment_order in 12.0
Health
50/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 104 months ago
-
Required by20/252 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
10 migration notes
6 models
5 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
AccountMoveLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourcePaymentOrder— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) (2 occurrences in this file) migration-api-multi-one · sourcePaymentOrderCreate— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (5 methods) migration-api-multi-one · sourceResBank— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) (2 occurrences in this file) migration-api-multi-one · sourcepayment_order_populate_view_move_line_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (4 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- num2words
- System dependencies
- None
- Required by
- l10n_br_account_payment_mode, l10n_br_data_base
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_scheduledDatestring='Data Prevista' -
journal_entry_refCharcompute=_get_journal_entry_refstring='Journal Entry Ref'
-
get_balance(self)@api.multiReturn 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_interestFloatcompute='_compute_interest'digits=dp.get_precision('Account')string='Valor Juros' -
linha_digitavelCharstring='Linha Digitável' -
percent_interestFloatdigits=dp.get_precision('Account')string='Percentual de Juros'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
action_open(self)@api.multiValidacao para nao confirmar ordem de pagamento vazia
New fields (2)
-
all_posted_movesBooleandefault=True args: 'Títulos em aberto' -
schedule_dateDateargs: 'Data Programada'
-
create_payment(self)@api.multiThis 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.multiFilter 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.multiThis 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')