VAT on payment

account_vat_on_payment
REPOSITORY
REPOSITORYOCA/account-payment
GIT
GIThttps://github.com/OCA/account-payment.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-payment/tree/10.0/account_vat_on_payment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSAgile Business Group
MAINTAINERS
MAINTAINERSAgile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
See 'account_voucher_cash_basis' description.

To activate the VAT on payment behaviour, this module adds a checkbox on
invoice form: 'Vat on payment'

Moreover, three things have to be configured:
 - On account object, Related account used for real registrations on a VAT on
    payment basis
 - On journal object, Related journal used for shadow registrations on a VAT on
    payment basis
 - On tax code object, Related tax code used for real registrations on a VAT on
    payment basis

Requirements: http://goo.gl/Nu0wDf

Howto:
http://planet.agilebg.com/en/2012/10/vat-on-payment-treatment-with-openerp/
Also, see demo and test data

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
invoice_form account.invoice.form account.invoice field Inherits account.invoice_form
invoice_supplier_form account.invoice.supplier.form account.invoice field Inherits account.invoice_supplier_form
view_account_form account.account.form account.account field Inherits account.view_account_form
view_account_journal_form account.journal.form account.journal field Inherits account.view_account_journal_form
view_account_settings_currency_xchange_form view_account_settings_currency_xchange_form account.config.settings xpath Inherits account_voucher_cash_basis.view_account_config_settings
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_partner_form account.fiscal.position.vat.default.view account.fiscal.position field Inherits account.view_account_position_form
view_tax_code_form account.tax.code.form account.tax.code field Inherits account.view_tax_code_form
view_vendor_payment_form_shadow_move account.voucher.payment.form.shadow.move account.voucher field Inherits account_voucher.view_vendor_payment_form
view_vendor_receipt_form_shadow_move account.voucher.receipt.form.shadow.move account.voucher field Inherits account_voucher.view_vendor_receipt_form
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

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

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • finalize_invoice_move_lines(self, cr, uid, ids, move_lines, context)
    Use shadow accounts for journal entry to be generated, according to account and tax code related records
  • onchange_partner_id(self, cr, uid, ids, inv_type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False, context=False)
    @api.cr_uid_ids

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 (3)
  • action_move_line_create(self, cr, uid, ids, context=None)
  • cancel_voucher(self, cr, uid, ids, context=None)
  • is_vat_on_payment(self, voucher)

New fields (0)

No new fields.

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/9.0/account_vat_on_payment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSAgile Business Group
MAINTAINERS
MAINTAINERSAgile Business Group
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
See 'account_voucher_cash_basis' description.

To activate the VAT on payment behaviour, this module adds a checkbox on
invoice form: 'Vat on payment'

Moreover, three things have to be configured:
 - On account object, Related account used for real registrations on a VAT on
    payment basis
 - On journal object, Related journal used for shadow registrations on a VAT on
    payment basis
 - On tax code object, Related tax code used for real registrations on a VAT on
    payment basis

Requirements: http://goo.gl/Nu0wDf

Howto:
http://planet.agilebg.com/en/2012/10/vat-on-payment-treatment-with-openerp/
Also, see demo and test data

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
invoice_form account.invoice.form account.invoice field Inherits account.invoice_form
invoice_supplier_form account.invoice.supplier.form account.invoice field Inherits account.invoice_supplier_form
view_account_form account.account.form account.account field Inherits account.view_account_form
view_account_journal_form account.journal.form account.journal field Inherits account.view_account_journal_form
view_account_settings_currency_xchange_form view_account_settings_currency_xchange_form account.config.settings xpath Inherits account_voucher_cash_basis.view_account_config_settings
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_partner_form account.fiscal.position.vat.default.view account.fiscal.position field Inherits account.view_account_position_form
view_tax_code_form account.tax.code.form account.tax.code field Inherits account.view_tax_code_form
view_vendor_payment_form_shadow_move account.voucher.payment.form.shadow.move account.voucher field Inherits account_voucher.view_vendor_payment_form
view_vendor_receipt_form_shadow_move account.voucher.receipt.form.shadow.move account.voucher field Inherits account_voucher.view_vendor_receipt_form
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

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

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • finalize_invoice_move_lines(self, cr, uid, ids, move_lines, context)
    Use shadow accounts for journal entry to be generated, according to account and tax code related records
  • onchange_partner_id(self, cr, uid, ids, inv_type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False, context=False)
    @api.cr_uid_ids

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 (3)
  • action_move_line_create(self, cr, uid, ids, context=None)
  • cancel_voucher(self, cr, uid, ids, context=None)
  • is_vat_on_payment(self, voucher)

New fields (0)

No new fields.

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/8.0/account_vat_on_payment
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSStéphane Bidoul, Lorenzo Battistini, eLBati, Fekete Mihai, GitHub, Stéphane Bidoul (ACSONE), Alex Comba, OCA Transbot, dufresnedavid, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - account_voucher_cash_basis
odoo/odoo:
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
invoice_form account.invoice.form account.invoice field Inherits account.invoice_form
invoice_supplier_form account.invoice.supplier.form account.invoice field Inherits account.invoice_supplier_form
view_account_form account.account.form account.account field Inherits account.view_account_form
view_account_journal_form account.journal.form account.journal field Inherits account.view_account_journal_form
view_account_settings_currency_xchange_form view_account_settings_currency_xchange_form account.config.settings xpath Inherits account_voucher_cash_basis.view_account_config_settings
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_partner_form account.fiscal.position.vat.default.view account.fiscal.position field Inherits account.view_account_position_form
view_tax_code_form account.tax.code.form account.tax.code field Inherits account.view_tax_code_form
view_vendor_payment_form_shadow_move account.voucher.payment.form.shadow.move account.voucher field Inherits account_voucher.view_vendor_payment_form
view_vendor_receipt_form_shadow_move account.voucher.receipt.form.shadow.move account.voucher field Inherits account_voucher.view_vendor_receipt_form
Models touched (10)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (5)
  • allocated_amounts_grouped_by_invoice(self, cr, uid, bank_line, mv_line_dicts, context=None)
    See allocated_amounts_grouped_by_invoice method of accout.voucher
  • cancel(self, cr, uid, ids, context=None)
  • get_write_off_vals(self, cr, uid, mv_line_dicts, context=None)
    Assuming we will have only one item of mv_line_dicts without counterpart_move_line_id
  • is_vat_on_payment(self, cr, uid, mv_line_dicts)
  • process_reconciliation(self, cr, uid, id, mv_line_dicts, context=None)

New fields (0)

No new fields.

Public methods (2)
  • onchange_company_id(self, cr, uid, ids, company_id, context=None)
  • onchange_vat_payment_line(self, cr, uid, ids, vat_payment_lines, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • finalize_invoice_move_lines(self, cr, uid, ids, move_lines, context)
    Use shadow accounts for journal entry to be generated, according to account and tax code related records
  • onchange_partner_id(self, cr, uid, ids, inv_type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False, context=False)
    @api.cr_uid_ids

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 (4)
  • action_move_line_create(self, cr, uid, ids, context=None)
  • cancel_voucher(self, cr, uid, ids, context=None)
  • is_vat_on_payment(self, voucher)
  • unreconcile_documents(self, cr, uid, ids, model='account.voucher', context=None)
    document can be voucher or bank statement line, as they share field names

New fields (0)

No new fields.

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_vat_on_payment
VERSION
VERSION 2.0
CATEGORY
CATEGORYGeneric Modules/Accounting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group
COMMITTERS
COMMITTERSLorenzo Battistini, Alexandre Fayolle, Joao Alfredo Gama Batista, Alex Comba, Rudolf Schnapka, dufresnedavid
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-payment:
    - account_voucher_cash_basis
odoo/odoo:
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
See 'account_voucher_cash_basis' description.

To activate the VAT on payment behaviour, this module adds a checkbox on
invoice form: 'Vat on payment'

Moreover, three things have to be configured:
 - On account object, Related account used for real registrations on a VAT on
    payment basis
 - On journal object, Related journal used for shadow registrations on a VAT on
    payment basis
 - On tax code object, Related tax code used for real registrations on a VAT on
    payment basis

Requirements: http://goo.gl/Nu0wDf

Howto:
http://planet.agilebg.com/en/2012/10/vat-on-payment-treatment-with-openerp/
Also, see demo and test data

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
invoice_form account.invoice.form account.invoice field Inherits account.invoice_form
invoice_supplier_form account.invoice.supplier.form account.invoice field Inherits account.invoice_supplier_form
view_account_form account.account.form account.account field Inherits account.view_account_form
view_account_journal_form account.journal.form account.journal field Inherits account.view_account_journal_form
view_account_settings_currency_xchange_form view_account_settings_currency_xchange_form account.config.settings xpath Inherits account_voucher_cash_basis.view_account_config_settings
view_move_line_form account.move.line.form account.move.line field Inherits account.view_move_line_form
view_partner_form account.fiscal.position.vat.default.view account.fiscal.position field Inherits account.view_account_position_form
view_tax_code_form account.tax.code.form account.tax.code field Inherits account.view_tax_code_form
view_vendor_payment_form_shadow_move account.voucher.payment.form.shadow.move account.voucher field Inherits account_voucher.view_vendor_payment_form
view_vendor_receipt_form_shadow_move account.voucher.receipt.form.shadow.move account.voucher field Inherits account_voucher.view_vendor_receipt_form
Models touched (9)

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)
  • finalize_invoice_move_lines(self, cr, uid, invoice_browse, move_lines)
    Use shadow accounts for journal entry to be generated, according to account and tax code related records
  • onchange_partner_id(self, cr, uid, ids, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False)

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 (3)
  • action_move_line_create(self, cr, uid, ids, context=None)
  • cancel_voucher(self, cr, uid, ids, context=None)
  • is_vat_on_payment(self, voucher)

New fields (0)

No new fields.

Public methods (0)

No public methods.