← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello.

@qdp @invitu

We made a lot of improvement "in a modular way" on our development branch
for mrp[1] :
We are trying all changes on it in a producton enviroment with REAL DATA,
and we invite to you to try our changes and merge (if you think it is
possible) to addons for v6:

Changes:
relevant module: mrp_stock_cost
-- Propose "production cost".
-- Propose "returned correctly cost"
And a lot more, are ver very separated every module to be understood.

Please check related blueprints to understand better:

I hope it can help almost evereybody.

When we finish this development we will post to addons-extra and we will
port to V6 if qdp can no make changes.

Cases used1:
-- make a Sale Order.
-- validate picking.
change "manually" cost on product-
-- return picking

result: cost is the original one.

Case used2:
-- Make a bill of material.
-- Make a production order.
-- Validate the pproduction order:
-- Asign a picking to resulting product

go to Incoming picking, select the last asigned, and receive it.

result: cost proposed is sum(move_in)/quantity_in_line.

We are improving a lot more cost management.
BTW, especifically this bug is solved, i really appreciate yor feedback.

[1]  lp:~openerp-venezuela/+junk/mrp_advanced<https://code.launchpad.net
/%7Eopenerp-venezuela/+junk/mrp_advanced>

2011/1/11 invitu <613286@xxxxxxxxxxxxxxxxxx>

> Dear Quentin
>
> First I apologize for our insistence on this bug.
>
> This bug has made us write a lot and took us much time to explain where
> the problem is..., we will go on
>
>
> We think that taking the cost price of the day instead of the historical
> cost in average price mode is a big mistake that has been done in the very
> beginning of the development. I should be corrected as the average cost
> price still features in the core.
>
> * "it introduces schema changes", you're right. But I don't agree on your
> argument saying we are in RC... have a look at the date when we opened the
> bug... october 2010...
> * The fact that fixing it is "difficult in a proper way" is a result as the
> bug was not well understood in the beginning and should not be taken as a
> good reason for putting this bug in "won't fix" state
> * By the way, this bug affects A LOT use case when average price is used
> for products for reasons we already exposed.
> * Of course, the default value can be changed by the user... but how can
> the user get the real value even if he has to enter it manually ? Does it
> mean that he should remember the cost price for each  product he sells in
> the case the customer would return it ? Our customers don't agree...
>
> We understand that the V6 is about to be released and you (OpenERP SA)
> don't have time enough to fix it in a good way... but please don't put
> it as "won't fix"... I am sure that everybody would understand a "delay"
> (as it actually does) but a "won't fix"... not sure
>
> Finally, I have to correct your words "improved" and "feature" by
> "fixed" and "correct behaviour"
>
> The feedback website (that is a good way to evaluate customers' needs)
> should not be used for fixing bugs... I hope it won't be a launchpad
> bis.
>
> Best regards
>
> Cyril
>
> --
> You received this bug notification because you are a member of OpenERP
> Drivers, which is subscribed to OpenObject Addons.
> 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.
>
>
>


-- 
Saludos Cordiales

Nhomar G. Hernandez M.
+58-414-4110269
Skype: nhomar00
Web-Blog: http://geronimo.com.ve
Servicios IT: http://openerp.com.ve <http://openerp.netquatro.com/>
Linux-Counter: 467724
Correos:
nhomar@xxxxxxxxxxxxxx <nhomar.hernandez@xxxxxxxxxxxxx>
nhomar@xxxxxxxxxxxxxxx

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





References