Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4684 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 20
3513
2
jun 21
5348
0
sept 25
376
4
jul 25
2876
4
abr 25
9146