From f2704036cdb5585e7d7e71679e22f86ef9e4a2f1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 13 Apr 2020 16:00:41 +0200 Subject: [PATCH] FIX #13517 --- htdocs/reception/class/reception.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/reception/class/reception.class.php b/htdocs/reception/class/reception.class.php index 260a3744e2e..5552d45380e 100644 --- a/htdocs/reception/class/reception.class.php +++ b/htdocs/reception/class/reception.class.php @@ -206,6 +206,8 @@ class Reception extends CommonObject $this->brouillon = 1; $this->tracking_number = dol_sanitizeFileName($this->tracking_number); if (empty($this->fk_project)) $this->fk_project = 0; + if (empty($this->weight_units)) $this->weight_units = 0; + if (empty($this->size_units)) $this->size_units = 0; $this->user = $user;