This question has been flagged
2 Replies
3483 Views

I am using V7 with Anglo Saxon accounting and FIFO module.

When i attempt to deliver order for an increasing number of products I get the error message

Something went wrong finding stock moves [][]1.01152

This error message is generated from Line 580 of the custom module 7.0-lifo-fifo-qdp/product_fifo_lifo/stock.py custom module.

The product QOH = 2 and I want to deliver 1 item. If I do a manual reconciliation of stock moves the QOH is correct.

The error arises on all products where the QOH <= number of items which have been delivered and returned. Although stock moves quantities are correctly processed this block of code fails to match returns.

How do I get around this to enable me to deliver the order?

 

Avatar
Discard
Best Answer

hi John, you can get the correct code by this link:

https://github.com/alephobjects/ao-openerp/blob/master/product_fifo_lifo/stock.py

Avatar
Discard
Author Best Answer

hi Vasanth , thanks for your reply. This is the code I am using. The code works OK for most cases the exception being when products have been returned and the QOH <= returned amount. Note that if I raise a Purchase Order and Receive Products for x items I can deliver x items until the returned items threshold reached.

Avatar
Discard