Account Payment Mode Default Account

account_payment_mode_default_account
REPOSITORY
REPOSITORYOCA/bank-payment
GIT
GIThttps://github.com/OCA/bank-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/bank-payment/tree/14.0/account_payment_mode_default_account
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAkim Juillerat, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/bank-payment
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
account_payment_mode_form account.payment.mode.form.inherit account.payment.mode group Inherits account_payment_mode.account_payment_mode_form
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • generate_properties(self, acc_template_ref, company)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • default_payable_account_id Many2one → account.account
    domain="[('deprecated', '=', False), ('company_id', '=', company_id),('user_type_id.type', '=', 'payable')]" help='This account will be used instead of the default one as the payable account on invoices using this payment mode' args: 'account.account'
  • default_receivable_account_id Many2one → account.account
    domain="[('deprecated', '=', False),('company_id', '=', company_id),('user_type_id.type', '=', 'receivable')]" help='This account will be used instead of the default one as the receivable account on invoices using this payment mode' args: 'account.account'
Public methods (0)

No public methods.

New fields (4)
  • property_account_payable_id Many2one
    company_dependent=False compute='_compute_property_account_payable_id' inverse='_inverse_property_account_payable_id'
  • property_account_receivable_id Many2one
    company_dependent=False compute='_compute_property_account_receivable_id' inverse='_inverse_property_account_receivable_id'
  • property_stored_account_payable_id Many2one → account.account
    company_dependent=True domain="[('internal_type', '=', 'payable'), ('deprecated', '=', False), ('company_id', '=', current_company_id)]" string='Account payable' args: 'account.account'
  • property_stored_account_receivable_id Many2one → account.account
    company_dependent=True domain="[('internal_type', '=', 'receivable'), ('deprecated', '=', False), ('company_id', '=', current_company_id)]" string='Account Receivable' args: 'account.account'
Public methods (0)

No public methods.