Repository
OCA/account-payment · module folder · Try on Runboat
Module version
1.0.0
Category
Generic Modules/Accounting
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.agilebg.com
Last tracking update
2026-08-07 07:17:47
Authors
Agile Business Group
Maintainers
Agile Business Group
Committers
Pedro M. Baeza, Stéphane Bidoul (ACSONE)
Odoo dependencies
None
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits account.invoice_form
invoice_supplier_form account.invoice.supplier.form account.invoice form Inherits account.invoice_supplier_form
view_account_form account.account.form account.account form Inherits account.view_account_form
view_account_journal_form account.journal.form account.journal form Inherits account.view_account_journal_form
view_account_settings_currency_xchange_form view_account_settings_currency_xchange_form account.config.settings form Inherits account_voucher_cash_basis.view_account_config_settings
view_move_line_form account.move.line.form account.move.line form Inherits account.view_move_line_form
view_partner_form account.fiscal.position.vat.default.view account.fiscal.position form Inherits account.view_account_position_form
view_tax_code_form account.tax.code.form account.tax.code form Inherits account.view_tax_code_form
view_vendor_payment_form_shadow_move account.voucher.payment.form.shadow.move account.voucher form Inherits account_voucher.view_vendor_payment_form
view_vendor_receipt_form_shadow_move account.voucher.receipt.form.shadow.move account.voucher form Inherits account_voucher.view_vendor_receipt_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

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.

Loading…

Loading…

Loading…