← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

2010/10/13 Olivier Dony (OpenERP) <613286@xxxxxxxxxxxxxxxxxx>

> Reminder: if you have doubts about bugs and severities, please refresh
> your memories here:
>
> http://doc.openerp.com/contribute/15_guidelines/contribution_guidelines.html
> #definition-of-a-bug :-)
>
Do you remember we were woking together on this guidelines on the workshop?
;-)
Well,
*Critical*: security issue (e.g. system compromised or arbitrary code
execution possible), or system completely unusable, for many users. Any kind
of data loss.
Any kind of data loss.


> --


If we don't record the cost in the transaction and overwrite with a future
move the cost on the product we are "lossing data" for an unsecure
implementation of code excecuted,  or not?

.....
regards.

-- 
[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.





References