← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 613286] Re: [stock] returned products from customers have cost price of the day instead of historical cost price

 

hello everyone,

first i'd like to say that the fact this bug has changed his purpose and
summary may lead to confusion, and should be avoid in the future. So i
want to confirm that we treated (fix released), in stable as well as in
trunk, the initial problem which was with default value = 0 as cost
price of returned product. What follows only concern the proposal to
store the initial cost price of the product in the stock move and use
this one as default value instead of the current cost price.

We just cheked the fix done by rha, but his solution doesn't suit us (and, actually, doesn't fix the bug).. thus the fix won't be merged into trunk. Furthermore, we think that this issue can't be addressed for v6 because:
*it introduces a schema change in the database (and that's a bad idea because we are in rc process)
*it will be difficult to fix it in a proper way that won't break something else
*it doesn't affect that much use case.
*it is only a default value in a wizard.

so altough we agree this should be improved sooner or later, we can't do
it for the v6. If you want this feature asap, i can only encourage you
to make a vote for it in http://feedback.openerp.com


thanks for your understanding


** Changed in: openobject-addons/trunk
   Importance: Medium => Wishlist

** Changed in: openobject-addons/trunk
       Status: Confirmed => Won't Fix

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

Title:
  [stock] returned products from customers have cost price of the day instead of historical cost price

Status in OpenObject Addons Modules:
  Confirmed
Status in OpenObject Addons 5.0 series:
  Fix Released
Status in OpenObject Addons trunk series:
  Won't Fix

Bug description:
  When we return products from customers, the average price is updated with incoming products that have price = 0

Steps to reproduce :
- choose a "Outgoing Products" pack
- launch the "Return Packing" wizard --> a "Packing List" is created in "Available" state and is automatically opened
- click on "Validate" button --> the "Make Packing" wizard proposes to get the products in stock with Unit Price = 0 and no currency.

What we need :
When a sale is made, the cost price should be stored in order to be used if the product is returned. 

The wizard should at least take the cost price from product when the product is returned but it would be better to take the cost price at the time when the product was sold.