Hello.

I made the change, only recording the valu when it is calculated with average 
price as we are asking for.
Please try patch.

Note: I can see around work on this a little of things.
1.- We can propose on manuals avoid the use of "Process Now" with security 
(roles), in this way if you need automate all process of receptions without 
errors only hide this buttons, Is this possible?
2.- After this patch is applied, we can develop an extra module that use this 
value to check the returned picking.

@Invitu.
We thought one time like you that Lots are needed to know the cost original 
used, but is more simple, if I am returning an _specific_ picking i need a 
field that relate a picking with other (exactly as backorder does a recursive 
relation) with this is possible obtain the cost, as you can see the logic can 
be complicated, for this reason I think that record the cost used on wizard in 
core ensure that you can install whatever you want the extra module that wi 
will make and you will can check this values to back.

I'm proposing the _first_ part for this issue, the second part should be
record the cost that has the product exactly in the time it go out from
the inventory.

regards..... I hope it helps.

** Patch added: "Recording cost used on wizard."
   
https://bugs.launchpad.net/openobject-addons/+bug/527120/+attachment/1693700/+files/patch_stock_historical.patch

-- 
Refund Invoice takes the actual price of the products to make the cost of sales 
move
https://bugs.launchpad.net/bugs/527120
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: Confirmed

Bug description:
Whenever you make a Refund Invoice (in my country, aka Credit Notes)  for a 
sale, and the client send back some products, the accounting move for the cost 
of sale (using anglo-saxon account mode) made by openerp takes into account the 
last (current) cost of sale - in my case the last (current) average price- of 
the product and not the previous one used when sale was made, this happens 
whenever there have been a purchase in the meantime,with different prices for 
the products involved, between the sale and the credit note.

The accounting people has advised me that the cost of sale should be the same 
one when the product was invoiced and not the current one.

They say this should be the correct behaviour for the Refund Invoice and not 
the one used right now, because if the full sale is refunded then there will be 
mismatches between the movelines for the cost of sale in the Client Invoice 
account move and the Refund Invoice Account Move 

Thank in advance for your attention,



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to