This commit is contained in:
2026-01-17 09:36:45 +01:00
parent a73564a24d
commit 18c3cf21c6

View File

@@ -370,8 +370,8 @@ class Fee(ModelSQL,ModelView):
#if reception of moves done we need to generate accrual for fee
StockMove = Pool().get('stock.move')
feelots = FeeLots.search(['fee','=',record.id])
for lot in feelots:
move = lot.get_received_move()
for fl in feelots:
move = fl.lot.get_received_move()
if move:
Warning = Pool().get('res.user.warning')
warning_name = Warning.format("Lot ever received", [])