Migration for account payment extension

account_payment_extension
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/8.0/account_payment_extension
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSAntiun Ingeniería S.L., Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSAntiun Ingeniería S.L., Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSStéphane Bidoul, Pedro M. Baeza, sebalix, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://www.antiun.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account_payment
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (1)

New fields (2)
  • customer_payment_mode Many2one → payment.mode
    company_dependent=True domain="[('sale_ok', '=', True)]" help='Select the default payment mode for this customer.' string='Customer Payment Mode' args: 'payment.mode'
  • supplier_payment_mode Many2one → payment.mode
    company_dependent=True domain="[('purchase_ok', '=', True)]" help='Select the default payment mode for this supplier.' string='Supplier Payment Mode' args: 'payment.mode'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/7.0/account_payment_extension
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Zikzakmedia SL
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Zikzakmedia SL
COMMITTERS
COMMITTERSYannick Vaucher, Guewen Baconnier, Lorenzo Battistini, Alexandre Fayolle, Raphaël Valyi, Stefan Rijnhart, Renato Lima, Maxime Chambreuil, Pedro M. Baeza, Luis Felipe Mileo, Sergio Teruel, Pablo, Rudolf Schnapka, moylop260, oihanecruce, Biel - txerpa.com
WEBSITE
WEBSITEwww.zikzakmedia.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - account_payment
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Account payment extension.
==========================

This module extends the account_payment module with a lot of features:
----------------------------------------------------------------------
    * Definition of payment types (cash, bank transfer, automatical
    bank transfer, ...). The payment type has a translatable name and note that
    can be shown in the invoices.
    * Two default payment types for partners (client and supplier).
    * Automatic selection of payment type in invoices. Now an invoice can have
    a payment term (30 days, 30/60 days, ...) and a payment type
    (cash, bank transfer, ...).
    * A default check field in partner bank accounts. The default partner bank
    accounts are selected in invoices and payments.
    * New menu/tree/forms to see payments to receive and payments to pay.
    * The payments show tree editable fields: Due date, bank account and a
    check field (for example to write down if a bank check in paper support
    has been received).
    * Two types of payment orders: Payable payment orders
    (from supplier invoices) and receivable payment orders
    (from client invoices). So we can make payment orders to receive the
    payments of our client invoices. Each payment order type has its own
    sequence.
    * The payment orders allow negative payment amounts. So we can have payment
    orders for supplier invoices (pay money) and refund supplier invoices
    (return or receive money). Or for client invoices (receive money) and
    refund client invoices (return or pay money).
    * Payment orders: Selected invoices are filtered by payment type, the
    second message communication can be set at the same time for several
    invoices.
Based on previous work of Pablo Rocandio & Zikzakmedia (version for 4.2).

Code Analysis

Views touched (20)
XML IDNameModelTypeStatus
invoice_form3 account.invoice.form3.payment_type account.invoice field Inherits account.invoice_form
invoice_form4 account.invoice.form4.payment_type account.invoice field Inherits account.invoice_form
invoice_supplier_form2 account.invoice.supplier.form2 account.invoice field Inherits account.invoice_supplier_form
payments_move_line_form account.payments.move.line.form account.move.line field Inherits account.view_move_line_form
view_create_payment_extension_order payment.extension.order.create.form payment.order.create field Inherits account_payment.view_create_payment_order
view_create_payment_extension_order_lines payment.extension.order.create.form payment.order.create xpath Inherits account_payment.view_create_payment_order_lines
view_move_line_tree_wiz account.move.line.tree account.move.line field Inherits account.view_move_line_tree
view_partner_bank_tree view.partner.bank.tree res.partner.bank field Inherits base.view_partner_bank_tree
view_partner_form res.partner field Inherits account.view_partner_property_form
view_partner_form2 res.partner tree Inherits account.view_partner_property_form
view_partner_form3 view.partner.form3 res.partner.bank field Inherits base.view_partner_bank_form
view_payment_line_form_ext1 payment.line.ext1 payment.line field Inherits account_payment.view_payment_line_form
view_payment_mode_form_require_bank_account payment.mode.form.require_bank_account payment.mode field Inherits account_payment.view_payment_mode_form
view_payment_order_form_ext1 payment.order.form.ext1 payment.order button Inherits account_payment.view_payment_order_form
view_payment_type_form payment.type.form payment.type form New
view_payment_type_res_partner_form1 res.partner.form.payment_type1 res.partner field Inherits account.view_partner_property_form
view_payment_type_res_partner_form2 res.partner.form.payment_type2 res.partner field Inherits account.view_partner_property_form
view_payment_type_tree payment.type.tree payment.type tree New
view_payments_filter Invoice Payments Select account.move.line search New
view_payments_tree Payments account.move.line tree New
Models touched (10)

New fields (0)

No new fields.

Public methods (3)
  • action_move_create(self, cr, uid, ids, context=None)
  • onchange_partner_id(self, cr, uid, ids, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False)
  • onchange_payment_type(self, cr, uid, ids, payment_type, partner_id, result=None)

New fields (0)

No new fields.

Public methods (2)
  • amount_to_pay(self, cr, uid, ids, name, arg=None, context=None)
    Return amount pending to be paid taking into account payment lines and the reconciliation. Note that the amount to pay can be due to negative supplier refund invoices or customer invoices.
  • write(self, cr, uid, ids, vals, context=None, check=True, update_check=True)

New fields (0)

No new fields.

Public methods (1)
  • onchange_move_line(self, cr, uid, ids, move_line_id, payment_type_, date_prefered, date_scheduled, currency=False, company_currency=False, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • cancel_from_done(self, cr, uid, ids, context=None)
  • set_done(self, cr, uid, ids, context=None)
  • unlink(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (3)
  • create_payment(self, cr, uid, ids, context=None)
  • default_get(self, cr, uid, field_list, context=None)
    This function gets default values @param self: The object pointer @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security checks, @param fields: List of fields for default value @param context: A standard dictionary for contextual values @return : default values of fields.
  • search_entries(self, cr, uid, ids, context)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, cr, uid, vals, context=None)
  • write(self, cr, uid, ids, vals, context=None)
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/6.1/account_payment_extension
VERSION
VERSION 1.2
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Zikzakmedia SL
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Zikzakmedia SL
COMMITTERS
COMMITTERSStephane Wirtel, Fabien Pinckaers, Olivier Dony, Guewen Baconnier, Alexandre Fayolle, Raphaël Valyi, Stefan Rijnhart, Niels Huylebroeck, Maxime Chambreuil, Pedro M. Baeza, Bogdan Stanciu, Mantavya Gajjar, Olivier Laurent, Omar (pexego), Angel Moya, unknown, Mikel Martin, mikel, Santi Argueso (Pexego), Alexandre Fayolle @ camptocamp, Luis Felipe Mileo, HDA(OpenERP), mra (Open ERP), Jay(Open ERP), ksa (Open ERP), Borja L.S., Jordi Esteve, Albert Cervera i Areny, Jay (Open ERP), Sofia (Open ERP), mga (Tiny/Axelor), Mitesh Soni, gpa, Christophe Chauvet, Launchpad Translations on behalf of account-payment-team, JMA(OpenERP), Pieter J. Kersten
WEBSITE
WEBSITEwww.zikzakmedia.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:04:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - account
    - base_setup
    - product
    - process
    - decimal_precision
    - analytic
    - board
    - edi
    - email_template
    - mail
    - base_tools
    - account_payment
    - account_voucher
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Account payment extension.

This module extends the account_payment module with a lot of features:
    * Definition of payment types (cash, bank transfer, automatical bank
      transfer, ...). The payment type has a translatable name and note that
      can be shown in the invoices.
    * Two default payment types for partners (client and supplier).
    * Automatic selection of payment type in invoices. Now an invoice can have
      a payment term (30 days, 30/60 days, ...) and a payment type (cash, bank
      transfer, ...).
    * A default check field in partner bank accounts. The default partner bank
      accounts are selected in invoices and payments.
    * New menu/tree/forms to see payments to receive and payments to pay.
    * The payments show tree editable fields: Due date, bank account and a check
      field (for example to write down if a bank check in paper support has been
      received).
    * Two types of payment orders: Payable payment orders (from supplier
      invoices) and receivable payment orders (from client invoices). So we can
      make payment orders to receive the payments of our client invoices. Each
      payment order type has its own sequence.
    * The payment orders allow negative payment amounts. So we can have payment
      orders for supplier invoices (pay money) and refund supplier invoices
      (return or receive money). Or for client invoices (receive money) and
      refund client invoices (return or pay money).
    * Payment orders: Selected invoices are filtered by payment type, the second
      message communication can be set at the same time for several invoices.
Based on previous work of Pablo Rocandio & Zikzakmedia (version for 4.2).

Code Analysis

Views touched (21)
XML IDNameModelTypeStatus
invoice_form3 account.invoice.form3.payment_type account.invoice field Inherits account.invoice_form
invoice_form4 account.invoice.form4.payment_type account.invoice field Inherits account.invoice_form
invoice_supplier_form2 account.invoice.supplier.form2 account.invoice field Inherits account.invoice_supplier_form
pay_account_move_line_view Pay Journal Entries account.move.line.payment form New
view_create_payment_extension_order payment.extension.order.create.form payment.order.create field Inherits account_payment.view_create_payment_order
view_create_payment_extension_order_lines payment.extension.order.create.form payment.order.create xpath Inherits account_payment.view_create_payment_order_lines
view_partner_bank_tree view.partner.bank.tree res.partner.bank field Inherits base.view_partner_bank_tree
view_partner_form res.partner field Inherits account.view_partner_property_form
view_partner_form2 res.partner tree Inherits account.view_partner_property_form
view_partner_form3 view.partner.form3 res.partner.bank field Inherits base.view_partner_bank_form
view_payment_line_form_ext1 payment.line.ext1 payment.line field Inherits account_payment.view_payment_line_form
view_payment_mode_form_require_bank_account payment.mode.form.require_bank_account payment.mode field Inherits account_payment.view_payment_mode_form
view_payment_order_form_cancel payment.order.form.cancel payment.order button Inherits account_payment.view_payment_order_form
view_payment_order_form_ext1 payment.order.form.ext1 payment.order button Inherits account_payment.view_payment_order_form
view_payment_order_form_ext2 payment.order.form.ext2 payment.order field Inherits account_payment.view_payment_order_form
view_payment_type_form payment.type.form payment.type form New
view_payment_type_res_partner_form1 res.partner.form.payment_type1 res.partner field Inherits account.view_partner_property_form
view_payment_type_res_partner_form2 res.partner.form.payment_type2 res.partner field Inherits account.view_partner_property_form
view_payment_type_tree payment.type.tree payment.type tree New
view_payments_filter Invoice Payments Select account.move.line search New
view_payments_tree Payments account.move.line tree New
Models touched (10)

New fields (0)

No new fields.

Public methods (3)
  • action_move_create(self, cr, uid, ids, *args)
  • onchange_partner_id(self, cr, uid, ids, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False)
  • onchange_payment_type(self, cr, uid, ids, payment_type, partner_id, result=None)

New fields (0)

No new fields.

Public methods (4)
  • amount_to_pay(self, cr, uid, ids, name, arg={}, context=None)
    Return amount pending to be paid taking into account payment lines and the reconciliation. Note that the amount to pay can be due to negative supplier refund invoices or customer invoices.
  • fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False)
  • pay_move_lines(self, cr, uid, ids, context=None)
  • write(self, cr, uid, ids, vals, context=None, check=True, update_check=True)

New fields (0)

No new fields.

Public methods (1)
  • pay_move_lines(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (1)
  • onchange_move_line(self, cr, uid, ids, move_line_id, payment_type, date_prefered, date_scheduled, currency=False, company_currency=False, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • cancel_from_done(self, cr, uid, ids, context=None)
  • set_done(self, cr, uid, ids, context=None)
  • unlink(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (3)
  • create_payment(self, cr, uid, ids, context=None)
  • default_get(self, cr, uid, fields, context=None)
    This function gets default values @param self: The object pointer @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security checks, @param fields: List of fields for default value @param context: A standard dictionary for contextual values @return : default values of fields.
  • search_entries(self, cr, uid, ids, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, cr, uid, vals, context=None)
  • write(self, cr, uid, ids, vals, context=None)