c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00239
[Bug 527120] Re: Refund Invoice takes the actual price of the products to make the cost of sales move
ok, I took time to re-read carefully this thread.
Everything seems to converge on the same problem than in https://bugs.launchpad.net/openobject-addons/+bug/613286
The solution for both bugs seems to be adding extra fields in output pickings.
About old comment #6, the question was "which cost_sale should we take to make the credit note when the return concerns an invoice that contains several pickings?"
If you make credit notes from return pickings, you won't have the problem as you will return the product from the original output picking (as long as we store the cost price in it). In real life, if you don't manage production lots, it will be impossible to identify from which output picking the product is, so let the user make the choice.
If you make credit notes directly from invoices without making return picking, you won't be able to have a right cost_price. I would suggest to take the product.cost_price (it's better than nothing).
Note that we are talking here about returns from customers and not about
returns to suppliers which is totally different (there is no
move_value_cost for input pickings)
--
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,