Comment 17 for bug 613286

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote : 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!