← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 741592] Re: v6 and trunk - account_voucher - purchase voucher - incorrect logic

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/741592

Title:
  v6 and trunk - account_voucher - purchase voucher - incorrect logic

Status in OpenERP Modules (addons):
  In Progress

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



References