TIP: You can type at any time to perform a new search.
Account Payment Order
account_payment_order · OCA/bank-payment
- Repository
- OCA/bank-payment · module folder · Try on Runboat
- Module version
- 1.0.5
- Category
- Banking addons
- Folder size
- 2.28 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/bank-payment
- Last tracking update
- 2026-08-07 09:06:34
- Authors
- Akretion, ACSONE SA/NV, Odoo Community Association (OCA), Therp BV, Tecnativa
- Maintainers
- Akretion, ACSONE SA/NV, Odoo Community Association (OCA), Therp BV, Tecnativa
- Committers
- Pedro M. Baeza, Carlos Lopez, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Julien Guenat, AlexGarS73
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_banking_mandate, account_banking_pain_base, account_payment_order_grouped_output, account_payment_order_notification, account_payment_return_import_iso20022, l10n_es_payment_order_confirming_aef
- Description
This module adds support for payment orders and debit orders.
Code Analysis ⓘ
Views touched (24)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_invoice_payment_line_multi_form |
account_invoice_payment_line_multi.form | account.invoice.payment.line.multi | form | New |
account_payment_line_create_form |
account_payment_line_create.form | account.payment.line.create | form | New |
account_payment_line_form |
account.payment.line.form | account.payment.line | form | New |
account_payment_line_form_readonly |
account.payment.line.form.readonly | account.payment.line | form | Inherits account_payment_order.account_payment_line_form |
account_payment_line_tree |
account.payment.line.tree | account.payment.line | list | New |
account_payment_method_form_view |
account.payment.method.form (in account_payment_order) | account.payment.method | form | Inherits account_payment_mode.account_payment_method_form |
account_payment_mode_form |
account_payment_order.account.payment.mode.form | account.payment.mode | form | Inherits account_payment_mode.account_payment_mode_form |
account_payment_mode_search |
account_payment_order.account.payment.mode.search | account.payment.mode | search | Inherits account_payment_mode.account_payment_mode_search |
account_payment_mode_tree |
account_payment_order.account.payment.mode.tree | account.payment.mode | tree | Inherits account_payment_mode.account_payment_mode_tree |
account_payment_order_form |
account.payment.order.form | account.payment.order | form | New |
account_payment_order_graph |
account.payment.order.graph | account.payment.order | graph | New |
account_payment_order_pivot |
account.payment.order.pivot | account.payment.order | pivot | New |
account_payment_order_search |
account.payment.order.search | account.payment.order | search | New |
account_payment_order_tree |
account.payment.order.tree | account.payment.order | list | New |
account_payment_update_view_form |
Update Payment Communication | account.payment.update | form | New |
print_account_payment_order_document |
print_account_payment_order_document | ir.ui.view | qweb | New |
print_account_payment_order_main |
print_account_payment_order_main | ir.ui.view | qweb | New |
view_account_payment_form |
account.payment.form | account.payment | form | Inherits account.view_account_payment_form |
view_account_payment_tree_payment_order |
account.payment.tree | account.payment | tree | Inherits account.view_account_payment_tree |
view_attachment_simplified_form |
ir.attachment.simplified.form | ir.attachment | form | New |
view_invoice_tree |
account_payment_order.view_invoice_tree | account.move | tree | Inherits account.view_invoice_tree |
view_move_form |
account_payment_order.view_move_form | account.move | form | Inherits account_payment_mode.view_move_form |
view_move_line_form |
account_payment_order.move_line_form | account.move.line | form | Inherits account_payment_mode.view_move_line_form |
view_move_line_tree |
account_payment_order.add.move_line_tree | account.move.line | tree | Inherits account.view_move_line_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (12)
New fields (0)
No new fields.
Public methods (1)-
run(self)
New fields (4)
-
payment_line_countIntegercompute='_compute_payment_line_count' -
payment_order_idMany2one → account.payment.ordercheck_company=Truecomodel_name='account.payment.order'copy=Falsereadonly=Truestring='Payment Order' -
payment_order_okBooleancompute='_compute_payment_order_ok' -
reference_typeSelectiondefault='none'readonly=Trueselection=[('none', 'Free Reference'), ('structured', 'Structured Reference')]
-
action_payment_lines(self) -
create_account_payment_line(self) -
get_account_payment_domain(self, payment_mode)
New fields (2)
-
partner_bank_idMany2one → res.partner.bankcheck_company=Truecomodel_name='res.partner.bank'compute='_compute_partner_bank_id'help='Bank account on which we should pay the supplier'readonly=Falsestore=Truestring='Partner Bank Account' -
payment_line_idsOne2many → account.payment.linecheck_company=Truecomodel_name='account.payment.line'inverse_name='move_line_id'string='Payment lines'
-
create_payment_line_from_move_line(self, payment_order)
New fields (4)
-
order_stateSelectionrelated='payment_order_id.state'string='Payment Order State' -
payment_line_dateDatecompute='_compute_payment_line_date' -
payment_line_idsMany2many → account.payment.linecomodel_name='account.payment.line' -
payment_order_idMany2one → account.payment.ordercomodel_name='account.payment.order'
-
update_payment_reference(self)
New fields (19)
-
amount_company_currencyMonetarycompute='_compute_amount_company_currency'currency_field='company_currency_id'string='Amount in Company Currency' -
amount_currencyMonetarycurrency_field='currency_id'string='Amount' -
bank_account_requiredBooleanreadonly=Truerelated='order_id.payment_method_id.bank_account_required' -
communicationCharhelp='Label of the payment that will be seen by the destinee'required=False -
communication_typeSelectiondefault='normal'required=Trueselection=[('normal', 'Free'), ('structured', 'Structured')] -
company_currency_idMany2onereadonly=Truerelated='order_id.company_currency_id'store=True -
company_idMany2onereadonly=Truerelated='order_id.company_id'store=True -
currency_idMany2one → res.currencycomodel_name='res.currency'default=<expr>required=Truestring='Currency of the Payment Transaction' -
dateDatestring='Payment Date' -
ml_maturity_dateDatereadonly=Truerelated='move_line_id.date_maturity' -
move_line_idMany2one → account.move.linecheck_company=Truecomodel_name='account.move.line'ondelete='restrict'string='Journal Item' -
nameCharcopy=Falsereadonly=Truestring='Payment Reference' -
order_idMany2one → account.payment.ordercheck_company=Truecomodel_name='account.payment.order'index=Trueondelete='cascade'string='Payment Order' -
partner_bank_acc_typeSelectionrelated='partner_bank_id.acc_type'string='Bank Account Type' -
partner_bank_idMany2one → res.partner.bankcheck_company=Truecomodel_name='res.partner.bank'ondelete='restrict'required=Falsestring='Partner Bank Account' -
partner_idMany2one → res.partnercheck_company=Truecomodel_name='res.partner'domain=[('parent_id', '=', False)]required=Truestring='Partner' -
payment_idsMany2many → account.paymentcomodel_name='account.payment'readonly=Truestring='Payment transaction' -
payment_typeSelectionreadonly=Truerelated='order_id.payment_type'store=True -
stateSelectionreadonly=Truerelated='order_id.state'store=Truestring='State'
-
action_open_business_doc(self) -
create(self, vals_list)@api.model_create_multi -
draft2open_payment_line_check(self) -
invoice_reference_type2communication_type(self)This method is designed to be inherited by localization modules -
move_line_id_change(self)@api.onchange('move_line_id') -
partner_id_change(self)@api.onchange('partner_id') -
payment_line_hashcode(self)
New fields (12)
-
date_typeSelectionrequired=Trueselection=[('due', 'Due Date'), ('move', 'Move Date')]string='Type of Date Filter' -
due_onSelectiondefault='<='required=Trueselection=[('<=', 'Before or equal'), ('=', 'Equal'), ('between', 'Between')]string='Due on' -
filter_dateDatedefault=fields.Date.context_today -
filter_date_endDatehelp="For 'Due on' 'Between', date between 'Filter Date' and 'Filter Date End'" -
invoiceBooleanstring='Linked to an Invoice or Refund' -
journal_idsMany2many → account.journalcomodel_name='account.journal'string='Journals Filter' -
move_line_domainBinarycompute='_compute_move_line_domain' -
move_line_idsMany2many → account.move.linecomodel_name='account.move.line'string='Move Lines' -
order_idMany2one → account.payment.ordercomodel_name='account.payment.order'string='Payment Order' -
partner_idsMany2many → res.partnercomodel_name='res.partner'domain=[('parent_id', '=', False)]string='Partners' -
payment_modeSelectionselection=[('same', 'Same'), ('same_or_null', 'Same or Empty'), ('any', 'Any')] -
target_moveSelectionselection=[('posted', 'All Posted Entries'), ('all', 'All Entries')]string='Target Moves'
-
create_payment_lines(self) -
default_get(self, field_list)@api.model -
populate(self)
New fields (1)
-
payment_order_onlyBooleandefault=Falsehelp='This option helps enforcing the use of payment orders for some payment methods.'string='Only for payment orders'
No public methods.
New fields (9)
-
default_date_preferedSelectionselection=[('now', 'Immediately'), ('due', 'Due Date'), ('fixed', 'Fixed Date')]string='Default Payment Execution Date' -
default_date_typeSelectiondefault='due'selection=[('due', 'Due'), ('move', 'Move')]string='Type of Date Filter' -
default_invoiceBooleandefault=Falsestring='Linked to an Invoice or Refund' -
default_journal_idsMany2many → account.journalcomodel_name='account.journal'domain="[('company_id', '=', company_id)]"string='Journals Filter' -
default_payment_modeSelectiondefault='same'selection=[('same', 'Same'), ('same_or_null', 'Same or empty'), ('any', 'Any')]string='Payment Mode on Invoice' -
default_target_moveSelectiondefault='posted'selection=[('posted', 'All Posted Entries'), ('all', 'All Entries')]string='Target Moves' -
group_linesBooleandefault=Truehelp="If this mark is checked, the transaction lines of the payment order will be grouped upon confirmation of the payment order.The grouping will be done only if the following fields matches:\n* Partner\n* Currency\n* Destination Bank Account\n* Payment Date\nand if the 'Communication Type' is 'Free'\n(other modules can set additional fields to restrict the grouping.)"string='Group Transactions in Payment Orders' -
no_debit_before_maturityBooleanhelp='If you activate this option on an Inbound payment mode, you will have an error message when you confirm a debit order that has a payment line with a payment date before the maturity date.'string='Disallow Debit Before Maturity Date' -
payment_order_okBooleandefault=Truestring='Selectable in Payment Orders'
-
payment_method_id_change(self)@api.onchange('payment_method_id')
New fields (23)
-
allowed_journal_idsMany2many → account.journalcomodel_name='account.journal'compute='_compute_allowed_journal_ids'string='Allowed journals' -
bank_account_linkSelectionreadonly=Truerelated='payment_mode_id.bank_account_link' -
company_currency_idMany2onereadonly=Truerelated='payment_mode_id.company_id.currency_id'store=True -
company_idMany2onereadonly=Truerelated='payment_mode_id.company_id'store=True -
company_partner_bank_idMany2onereadonly=Truerelated='journal_id.bank_account_id'string='Company Bank Account' -
date_generatedDatereadonly=Truestring='File Generation Date' -
date_preferedSelectiondefault='due'readonly=Truerequired=Trueselection=[('now', 'Immediately'), ('due', 'Due Date'), ('fixed', 'Fixed Date')]string='Payment Execution Date Type'tracking=True -
date_scheduledDatehelp="Select a requested date of execution if you selected 'Due Date' as the Payment Execution Date Type."readonly=Truestring='Payment Execution Date'tracking=True -
date_uploadedDatereadonly=Truestring='File Upload Date' -
descriptionChar -
generated_user_idMany2one → res.userscheck_company=Truecomodel_name='res.users'copy=Falseondelete='restrict'readonly=Truestring='Generated by' -
journal_idMany2one → account.journalcheck_company=Truecomodel_name='account.journal'ondelete='restrict'readonly=Truestring='Bank Journal'tracking=True -
move_countIntegercompute='_compute_move_count'string='Number of Journal Entries' -
move_idsOne2many → account.movecomodel_name='account.move'inverse_name='payment_order_id'readonly=Truestring='Journal Entries' -
nameCharcopy=Falsereadonly=Truestring='Number' -
payment_countIntegercompute='_compute_payment_count'string='Number of Payment Transactions' -
payment_idsOne2many → account.paymentcomodel_name='account.payment'inverse_name='payment_order_id'readonly=Truestring='Payment Transactions' -
payment_line_idsOne2many → account.payment.linecomodel_name='account.payment.line'inverse_name='order_id'readonly=Truestring='Transactions' -
payment_method_idMany2one → account.payment.methodcomodel_name='account.payment.method'readonly=Truerelated='payment_mode_id.payment_method_id'store=True -
payment_mode_idMany2one → account.payment.modecheck_company=Truecomodel_name='account.payment.mode'ondelete='restrict'readonly=Truerequired=Truetracking=True -
payment_typeSelectionreadonly=Truerequired=Trueselection=[('inbound', 'Inbound'), ('outbound', 'Outbound')] -
stateSelectioncopy=Falsedefault='draft'readonly=Trueselection=[('draft', 'Draft'), ('open', 'Confirmed'), ('generated', 'File Generated'), ('uploaded', 'File Uploaded'), ('cancel', 'Cancel')]string='Status'tracking=True -
total_company_currencyMonetarycompute='_compute_total'currency_field='company_currency_id'store=True
-
action_cancel(self) -
action_move_journal_line(self) -
action_uploaded_cancel(self) -
cancel2draft(self) -
check_date_scheduled(self)@api.constrains('date_scheduled') -
create(self, vals_list)@api.model_create_multi -
draft2open(self)Called when you click on the 'Confirm' button Set the 'date' on payment line depending on the 'date_prefered' setting of the payment.order Re-generate the account payments. -
generate_payment_file(self)Returns (payment file as string, filename) -
generated2uploaded(self) -
open2generated(self) -
payment_mode_id_change(self)@api.onchange('payment_mode_id') -
payment_order_constraints(self)@api.constrains('payment_type', 'payment_mode_id') -
post_and_reconcile(self)
New fields (1)
-
payment_referenceCharrequired=True
-
update_payment_reference(self)
New fields (0)
No new fields.
Public methods (1)-
get_bank_account_name(self, partner_bank)@api.model:param partner_bank: :return:
New fields (0)
No new fields.
Public methods (1)-
check_bic_length(self)@api.constrains('bic')
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…