← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 778514] [NEW] OpenERPv6 - purchase_discount dont calculate properly

 

Public bug reported:

OpenERP-server 6 updated
OpenERP web-client updated
Ubuntu 10.04 + postgresql 8.4

I have installed purchase_discount to show and calculate discounts on
purchase order lines

The problems:

- subtotal are calculated correctly

- VAT (IVA) NOT, it is calculated over total amount, without discount,
VAT incorrect and total incorrect

- When I confirm purchase order, the discounts on invoice are missing,
with total amount

i.e:

Purchase order not confirmed:

1 product x 500 EUR + 50% discount   + 18% VAT

Amounts calculated:  
untaxed amount: 250
taxes:  90 (18% over 250 = 45, not 90)
total: 340 (total will have 295, not 340)


Purchase order confirmed  --> invoice generated
Invoice:
product order form (edit)
The %discount is 0  (dont save the discount on purchase order)


Thx.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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/778514

Title:
  OpenERPv6 - purchase_discount dont calculate properly

Status in OpenERP Modules (addons):
  New

Bug description:
  OpenERP-server 6 updated
  OpenERP web-client updated
  Ubuntu 10.04 + postgresql 8.4

  I have installed purchase_discount to show and calculate discounts on
  purchase order lines

  The problems:

  - subtotal are calculated correctly

  - VAT (IVA) NOT, it is calculated over total amount, without discount,
  VAT incorrect and total incorrect

  - When I confirm purchase order, the discounts on invoice are missing,
  with total amount

  i.e:

  Purchase order not confirmed:

  1 product x 500 EUR + 50% discount   + 18% VAT

  Amounts calculated:  
  untaxed amount: 250
  taxes:  90 (18% over 250 = 45, not 90)
  total: 340 (total will have 295, not 340)

  
  Purchase order confirmed  --> invoice generated
  Invoice:
  product order form (edit)
  The %discount is 0  (dont save the discount on purchase order)

  
  Thx.


Follow ups

References