From 3216120f4403c7ec25b2bb04db8c51a915ccfc37 Mon Sep 17 00:00:00 2001 From: Francis Appels Date: Fri, 26 Feb 2021 15:38:02 +0100 Subject: [PATCH] MoLine origin is bomline not bom --- htdocs/mrp/class/mo.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/mrp/class/mo.class.php b/htdocs/mrp/class/mo.class.php index 0f5804490eb..2ee97e9e22a 100644 --- a/htdocs/mrp/class/mo.class.php +++ b/htdocs/mrp/class/mo.class.php @@ -656,7 +656,7 @@ class Mo extends CommonObject $moline->fk_mo = $this->id; $moline->origin_id = $line->id; - $moline->origin_type = 'bom'; + $moline->origin_type = 'bomline'; if ($line->qty_frozen) { $moline->qty = $line->qty; // Qty to consume does not depends on quantity to produce } else {