← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 613286] Re: [stock] returned products from customers have price = 0

 

@Fabien:
The issue with the default value being 0 has been solved some time ago, and is still fixed, I just checked. 
The bug was reopened for unclear reasons.

@invitu:
You did not address the issue I explained in comment #9. There is no 'main company' in multi-company setups, so again, there could be different companies to consider. And since the currency of the 'cost price' is the main currency of the company the product belongs to, you only need multiple companies with different currencies to get in trouble.

Would you also care to explain why you reopened the bug stating it
affects v6? The fix is commited in v5 AND v6, and has been merged in
official addons (v6) since my last comment.

@Nhomar
Hold your horses ;-) The 'cost price' of the product at the time it was sent to the customer may not be relevant anymore when the product is returned from the customer. It could be 1 year later, and you don't want to compute an incorrect average price based on that. As there is no better value we must use the current average cost of the product as default... the user is free to change that value manually anyway.

@All
Keep in mind that we are only discussing the default value for a field in the Picking wizard, nothing else (hence the bug priority!), and the logistics officer is supposed to verify this properly every time!

** Changed in: openobject-addons/trunk
   Importance: High => Low

** Changed in: openobject-addons/trunk
       Status: Fix Committed => Fix Released

-- 
[stock] returned products from customers have price = 0
https://bugs.launchpad.net/bugs/613286
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: Fix Released
Status in OpenObject Addons 5.0 series: Fix Released
Status in OpenObject Addons trunk series: Fix Released

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.





Follow ups