This commit is contained in:
2026-01-17 09:47:06 +01:00
parent 18c3cf21c6
commit 8e38ceb13e

View File

@@ -376,7 +376,7 @@ class Fee(ModelSQL,ModelView):
Warning = Pool().get('res.user.warning')
warning_name = Warning.format("Lot ever received", [])
if Warning.check(warning_name):
raise Warning(warning_name,
raise UserWarning(warning_name,
"By clicking yes, an accrual for this fee will be created")
AccountMove = Pool().get('account.move')
account_move = move._get_account_stock_move_fee(record.id)