journal entry with tax included in price: wrong base amount

Bug #896377 reported by Lorenzo Battistini - Agile BG on 2011-11-25
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Won't Fix
Low
OpenERP Publisher's Warranty Team

Bug Description

openobject-addons/6.0 revno 4916

Steps:

 - Configure a tax included in price with amount 0.2
 - Go to accounting -> journal entries -> journal entries
 - Create a move line with credit = 100 and tax = the previously created tax
 - Save

You get 2 lines:
tax line with credit = 16.67 (correct)
base line with credit = 100 (wrong)

base line should be 83.33

Related branches

You may want to try the attached patch (for 6.0 series)

Amit Parik (amit-parik) on 2011-11-30
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Low
status: New → Confirmed
tags: added: maintenance
Changed in openobject-addons:
status: Confirmed → In Progress
Priyesh (OpenERP) (pso-openerp) wrote :

Hello Lorenzo Battistini,

Issue has been fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-50878-pso with rev-no: 4945
rev-id: <email address hidden>

Branch is under review and will be merged soon with Stable branch.

Thank you for your contribution,
Priyesh

Changed in openobject-addons:
status: In Progress → Fix Committed
nel (nel-tinyerp) wrote :

This will give a strange behavior to the system. Suppose a user, that doesn't know about this feature, enters a value 100(like in your example). This user expects the system to keep this value and not to calculate it. So that's why, we suppose that accountant or users that create vouchers basing on tax included, should enter right amounts in all cases.
We prefer avoid making such calculation on fillable fields because it could cause many problems.

Changed in openobject-addons:
status: Fix Committed → Won't Fix
Leonardo Pistone (lepistone) wrote :

Dear Nel, dear Naresh,
thanks for your reply.
as already discussed, we do not really understand your position: it seems to us that the bug we reported is for real. If you decided that this should not be fixed, a good idea could be to show us how taxes included in the price should be used in an invoice and payment.
Thanks

2012/2/27 nel <email address hidden>:
> This will give a strange behavior to the system. Suppose a user, that doesn't know about this feature, enters a value 100(like in your example). This user expects the system to keep this value and not to calculate it. So that's why, we suppose that accountant or users that create vouchers basing on tax included, should enter right amounts in all cases.
> We prefer avoid making such calculation on fillable fields because it could cause many problems.

Hello nel,

so, what's the meaning of the 16.67 line? Is it correct?

Moreover, as taxes included in price are not working on vouchers[1]
and now (6.1) it is explicitly explained on voucher form ("only for
tax excluded from price"), what's wrong with the proposed patch?

Thanks

[1] https://bugs.launchpad.net/openobject-addons/+bug/702320

Sukmaya (soekmo) wrote :

Dear Lorenzo,
so what should user enter the tax and where beside in the vouchers?

2012/3/9 Sukmaya <email address hidden>:
> Dear Lorenzo,
> so what should user enter the tax and where beside in the vouchers?

Sorry Sukmaya, I don't understand your question

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers