v6 and trunk - account_voucher - purchase voucher - incorrect logic

Bug #741592 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

When you try to create a new purchase voucher with multiple lines on, it will not group the tax lines as with the invoice object. Shouldnt this be kept consistent to follow the same logic as the invoice?

Example:

purchase invoice with 2 invoice lines - exp 1 ($50) and exp 2 ($30). both use tax code n - 20%
Account_move_line entries will be:
dr exp 1 $50
dr exp 2 $30
dr purchase tax $16 (10+6)
cr creditors $96

purchase voucher with 2 invoice lines - exp 1 ($50) and exp 2 ($30). both use tax code n - 20%
Account_move_line entries will be:
dr exp 1 $50
dr purchase tax $10
cr creditors $60
dr exp 2 $30
dr purchase tax $6
cr creditors $36

Thanks,

Vadim

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
Changed in openobject-addons:
status: In Progress → Confirmed
Changed in openobject-addons:
importance: Low → Wishlist
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.