6.0.1 account_voucher - supplier vouchers - tax issue

Bug #706279 reported by Vadim - Enapps LTD
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 3

Bug Description

account_voucher > supplier vouchers - changing the calculated tax and total will not work properly and will give an error upon validation.

To replicate:

1 - create a new voucher.
2 - add a new expense line - lets say for EUR 100
3 - choose a tax code
4 - click on compute tax
5 - change the calculated tax amount (deduct 0.01)
6 - change the total (deduct 0.01)

Try to validate and it wont work.

The normal invoices work properly - you can change the calculated tax as you wish and you can validate, so I believe this should be updated to follow the same logic.

Revision history for this message
Azazahmed Saiyed (OpenERP) (saz-openerp) wrote :

Hello,

Thanks for your suggestion!

Here you are changing the base amount directly from the voucher instead of tax object. So it did not allow you to validate the voucher as the value is computed from original tax object.

But this trouble can be prevented by putting constraint on modification of such amount, So I am confirming this bug.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Vadim,

You are chaining the calculated amount of tax and total on voucher. So we can not change it manually. We can put it readonly on these two fields.
So when you try to validate voucher it raise error for non-balanced entry.

And for invoices we can not change the tax amount on it because its readonly for user.

So i agree with you and we will try to fix it in next version.

Thanks,
mra

Changed in openobject-addons:
status: In Progress → Confirmed
importance: Low → Wishlist
Revision history for this message
Vadim - Enapps LTD (vadim-enapps) wrote :

Hi Mustufa,
> And for invoices we can not change the tax amount on it because its readonly for user.

you CAN change the tax on invoices, and it will be ideal if you can apply the exatly same logic on purchase/sales vouchers.

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.