[Trunk] Tax/Base amount on account move line must be calculated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 3 |
Bug Description
Hello,
Just a bit of context before explaning the issue :
Just before the v7 release we have added few financial constraints to prevent user errors which was leading to a general lack of confidence.
Thanks to these constraints, users have a much better feeling today ( I have just finished 2 projects 'OpenERP finance' v7).
Bug description :
When I post manually an journal entry I can enter the tax amount.
This can lead to severe errors in the tax report since the tax amount can be different from the debit or credit (except if there is a special tax coeficient)
Solution I propose :
This field must be read only, hidden from the move view and calculated this way :
tax amount = absolute value of debit or credit * coef (defined in the tax) .... IF there is a tax code on the move line otherwise is null.
Thanks
Frederic
Camptocamp
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
status: | New → Confirmed |
i don't think a constraint would be a good idea as they may be use cases where you want a different tax amount than the debit/credit * coeff (python code, fixed amount, child on children...).
on the other hand, maybe we should restrict the tax_amount field use in the manual encoding so that the user always use the tax field instead of filling by the hand tax amount and tax code. I'm not sure, actually... but in all case, this is not a bug, more a enhancement proposal ;-)