← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 891909] [NEW] Wrong margin calculation in SO

 

Public bug reported:

V6.0.3

Create a SO for a product with procurement method = on order (SP = 21.48, qty = 10, disc = 40%). In SO line record, margin = 59.58% and purchase_price is null.
Open the PQ record and change the purchase price to $18. Convert to PO.
Receipt stock & process AP invoice
Despatch goods and confirm sales invoice.

On SO line, margin now -14.22 and purchase_price still null.

1. Margin calculation wrong - should be -39.66
2. purchase_price not updated.

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

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

Title:
  Wrong margin calculation in SO

Status in OpenERP Addons (modules):
  New

Bug description:
  V6.0.3

  Create a SO for a product with procurement method = on order (SP = 21.48, qty = 10, disc = 40%). In SO line record, margin = 59.58% and purchase_price is null.
  Open the PQ record and change the purchase price to $18. Convert to PO.
  Receipt stock & process AP invoice
  Despatch goods and confirm sales invoice.

  On SO line, margin now -14.22 and purchase_price still null.

  1. Margin calculation wrong - should be -39.66
  2. purchase_price not updated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/891909/+subscriptions


Follow ups

References