Account Banking - Payments Transfer Account
account_banking_payment_transfer · OCA/bank-payment
Health
50/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 101 months ago
-
Required by20/253 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
3
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.14 MB
Module directory on disk
Code analysis
12 migration notes
5 models
3 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
AccountMoveReconcile— 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) migration-api-multi-one · sourceBankPaymentLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourcePaymentLine— 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) 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. (16 methods) migration-api-multi-one · sourceview_payment_order_form_inherit— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE payment_order set date_sent=date_done` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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`) (2 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`) (2 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
- None
- System dependencies
- None
- Required by
- account_banking_tests, account_payment_transfer_reconcile_batch, account_reconcile_payment_order
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_payment_mode_form_inherit |
payment.mode.form.inherit | payment.mode | form | Inherits account_banking_payment_export.view_payment_mode_form_inherit |
view_payment_order_form_inherit |
account.payment.order.form (account_banking_payment_transfer) | payment.order | form | Inherits account_banking_payment_export.view_payment_order_form |
view_payment_order_tree |
account_banking_payment_transfer.payment.order.tree | payment.order | tree | Inherits account_banking_payment_export.view_payment_order_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (0)
No new fields.
Public methods (1)-
unlink(self)@api.multiWorkflow triggers upon unreconcile. This should go into the core.
New fields (2)
-
transfer_move_line_idMany2one → account.move.linecompute='_get_transfer_move_line'help='Counterpart move line on the transfer account'store=Truestring='Transfer move line counterpart' args: 'account.move.line' -
transit_move_line_idMany2one → account.move.linehelp='Move line through which the payment/debit order pays the invoice'readonly=Truestring='Transfer move line' args: 'account.move.line'
-
debit_reconcile(self)@api.oneReconcile a debit order's payment line with the the move line that it is based on. Called from payment_order.action_sent(). As the amount is derived directly from the counterpart move line, we do not expect a write off. Take partial reconciliations into account though. :param payment_line_id: the single id of the canceled payment line -
move_line_transfer_account_hashcode(self)@api.multiThis method is inherited in the module account_banking_sepa_direct_debit
New fields (2)
-
date_doneDatereadonly=Trueselect=True args: 'Date Confirmed' -
msgChardefault=''readonly=Truerequired=False args: 'Message'
-
payment_line_hashcode(self)@api.multiDon't group the payment lines that are attached to the same supplier but to move lines with different accounts (very unlikely), for easier generation/comprehension of the transfer move
New fields (3)
-
transfer_account_idMany2one → account.accountdomain=[('type', '!=', 'view'), ('reconcile', '=', True)]help='Pay off lines in sent orders with a move on this account. You can only select accounts of type regular that are marked for reconciliation'string='Transfer account' args: 'account.account' -
transfer_journal_idMany2one → account.journalhelp='Journal to write payment entries when confirming a debit order of this mode'string='Transfer journal' args: 'account.journal' -
transfer_move_optionSelectiondefault='date'string='Transfer move option' args: [('date', 'One move per payment date'), ('line', 'One move per payment line')]
No public methods.
New fields (9)
-
date_preferedSelectionstates={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]} -
date_scheduledDatestates={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]} -
date_sentDatereadonly=Truestring='Send date' -
line_idsOne2manystates={'open': [('readonly', True)], 'cancel': [('readonly', True)], 'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]} -
modeMany2onestates={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]} -
partial_reconcile_countIntegercompute='get_partial_reconcile_count'string='Partial Reconciles Counter' -
referenceCharstates={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]} -
stateSelectionselection_add=[('sent', 'Sent'), ('rejected', 'Rejected')]string='State' -
user_idMany2onestates={'sent': [('readonly', True)], 'rejected': [('readonly', True)], 'done': [('readonly', True)]}
-
action_done(self)@api.multi -
action_rejected(self)@api.multi -
action_sent(self)@api.oneCreate the moves that pay off the move lines from the debit order. This happens when the debit order file is generated. -
action_sent_no_move_line_hook(self, pay_line)@api.multiThis function is designed to be inherited -
get_partial_reconcile_count(self)@api.one -
get_partial_reconcile_ids(self)@api.multi -
get_transfer_move_line_ids(self, *args)@api.multiUsed in the workflow for trigger_expr_id -
partial(self)@api.multi -
test_done(self)@api.multiTest if all moves on the transfer account are reconciled. Called from the workflow to move to the done state when all transfer move have been reconciled through bank statements. -
test_undo_done(self)@api.multi