From 9896ac2361374dcc39055c4dcc050c173adbda59 Mon Sep 17 00:00:00 2001 From: pablone Date: Tue, 17 Sep 2024 08:21:29 +0200 Subject: [PATCH] fix: refs #7760 remove throw on ticket split --- db/routines/vn/procedures/ticket_splitItemPackingType.sql | 4 ---- 1 file changed, 4 deletions(-) diff --git a/db/routines/vn/procedures/ticket_splitItemPackingType.sql b/db/routines/vn/procedures/ticket_splitItemPackingType.sql index 6a974ea39..ec630d545 100644 --- a/db/routines/vn/procedures/ticket_splitItemPackingType.sql +++ b/db/routines/vn/procedures/ticket_splitItemPackingType.sql @@ -30,10 +30,6 @@ BEGIN WHERE t.id = vSelf AND i.itemPackingTypeFk = vOriginalItemPackingTypeFk; - IF NOT vHasItemPackingType THEN - CALL util.throw('The ticket has not sales with the itemPackingType'); - END IF; - CREATE OR REPLACE TEMPORARY TABLE tSalesToMove ( ticketFk INT, saleFk INT,