diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index 436c98c294f..d7de5ffd7e8 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -535,7 +535,7 @@ if ($action == "addline") { } $idoflineadded = 0; - if (!empty($conf->global->TAKEPOS_GROUP_SAME_PRODUCT)) { + if (!empty($conf->global->TAKEPOS_GROUP_SAME_PRODUCT) && $line->special_code != "4") { foreach ($invoice->lines as $line) { if ($line->product_ref == $prod->ref) { if ($line->special_code==4) continue; // If this line is sended to printer create new line