跳至内容
菜单
此问题已终结
2 回复
4753 查看

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?

 

形象
丢弃
最佳答案

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

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

形象
丢弃
编写者 最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
2
8月 20
3561
2
6月 21
5477
0
9月 25
465
4
7月 25
3002
4
4月 25
9608