[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
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_
- 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
lp:~agilebg/account-payment/7.0-bug-1276077-elbati
- Ana Juaristi Olalde: Approve (code review)
- Omar (Pexego): Approve (code review)
- Yannick Vaucher @ Camptocamp: Approve (code review, no tests)
- Nicola Malcontenti - Agile BG: Pending requested
- Alex Comba - Agile BG: Pending requested
-
Diff: 101 lines (+55/-2)3 files modifiedaccount_voucher_cash_basis/__openerp__.py (+1/-0)
account_voucher_cash_basis/account_voucher.py (+13/-2)
account_voucher_cash_basis/voucher_view.xml (+41/-0)
lp:~domsense/account-payment/adding_account_vat_on_payment_7_fix_1276077
- Davide Corio: Pending requested
- Agile Business Group: Pending requested
-
Diff: 96 lines (+48/-18)1 file modifiedaccount_vat_on_payment/account.py (+48/-18)
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.