[7.0] account_vat_on_payment - impossible to compute VAT based on invoice total in case of write-off

Bug #1276077 reported by Lorenzo Battistini
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Additional payment, bank statement and voucher addons for OpenERP
Fix Released
Undecided
Lorenzo Battistini

Bug Description

lp:~domsense/account-payment/adding_account_vat_on_payment_7 revno 110

Steps:

 - Install account_vat_on_payment and configure it according to http://planet.agilebg.com/en/2012/10/vat-on-payment-treatment-with-openerp/
 - Create a new invoice with 'vat on payment' treatment and with total = 120€ (100 + 20 VAT)
 - Customer pays 100 and you do a discount (or you receive 100 because 20 are bank fee)
 - Pay it with 'paid amount' = 100 (full reconcile) and write-off = 20

Debit VAT is 16.6666666666667

In Italy, if the invoice is totally paid, you have to pay VAT based on the invoice's total, so debit VAT should be 20

Related branches

Changed in account-payment:
assignee: nobody → Lorenzo Battistini - Agile BG (elbati)
Changed in account-payment:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.