Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4759 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
aug. 20
3566
2
jun. 21
5483
0
sep. 25
473
4
jul. 25
3018
4
apr. 25
9649