Repository
OCA/bank-payment · module folder · Try on Runboat
Module version
1.0.0
Category
Banking addons
Folder size
0.15 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
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Víctor Martínez, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds a button on debit / payment orders to send an email to
each related partner with the details of their transactions.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_payment_order_form account.payment.order.form account.payment.order form Inherits account_payment_order.account_payment_order_form
account_payment_order_notification_form account.payment.order.notification.form account.payment.order.notification form New
account_payment_order_notification_search account.payment.order.notification.search account.payment.order.notification search New
account_payment_order_notification_tree account.payment.order.notification.tree account.payment.order.notification list New
wizard_account_payment_order_notification_form wizard.account.payment.order.notification.form wizard.account.payment.order.notification form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (2)
  • notification_count Integer
    compute='_compute_notification_count' string='Notification count'
  • notification_ids One2many → account.payment.order.notification
    comodel_name='account.payment.order.notification' inverse_name='order_id' string='Notifications'
Public methods (1)
  • action_view_notifications(self)

New fields (5)
  • company_id Many2one
    related='order_id.company_id'
  • display_name Char
    compute='_compute_display_name'
  • order_id Many2one → account.payment.order
    comodel_name='account.payment.order' required=True
  • partner_id Many2one → res.partner
    comodel_name='res.partner' required=True
  • payment_line_ids Many2many → account.payment.line
    comodel_name='account.payment.line'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (3)
  • line_ids One2many → wizard.account.payment.order.notification.line
    comodel_name='wizard.account.payment.order.notification.line' inverse_name='parent_id' string='Lines'
  • mail_template_id Many2one → mail.template
    comodel_name='mail.template' domain=[('model_id.model', '=', 'account.payment.order.notification')] required=True
  • order_id Many2one → account.payment.order
    comodel_name='account.payment.order' required=True
Public methods (2)
  • action_process(self)
  • default_get(self, fields)
    @api.model

New fields (4)
  • email Char
  • parent_id Many2one → wizard.account.payment.order.notification
    comodel_name='wizard.account.payment.order.notification' index=True ondelete='cascade'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' required=True string='Partner'
  • to_send Boolean
    string='To send'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…