Fix missing unit parameter
Prevented the input of supplier invoices lines from working
This commit is contained in:
parent
3b38949fc5
commit
7b538d8842
@ -1291,7 +1291,7 @@ class FactureFournisseur extends CommonInvoice
|
|||||||
else $sql.= ", fk_product = null";
|
else $sql.= ", fk_product = null";
|
||||||
$sql.= ", product_type = ".$product_type;
|
$sql.= ", product_type = ".$product_type;
|
||||||
$sql.= ", info_bits = ".$info_bits;
|
$sql.= ", info_bits = ".$info_bits;
|
||||||
$sql.= ", ".($fk_unit ? "'".$this->db->escape($fk_unit)."'":"null");
|
$sql.= ", fk_unit = ".($fk_unit ? "'".$this->db->escape($fk_unit)."'":"null");
|
||||||
$sql.= " WHERE rowid = ".$id;
|
$sql.= " WHERE rowid = ".$id;
|
||||||
|
|
||||||
dol_syslog(get_class($this)."::updateline", LOG_DEBUG);
|
dol_syslog(get_class($this)."::updateline", LOG_DEBUG);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user