Merge pull request #2841 from fappels/develop
Fix: update supplier orderline + rm deprecated prop
This commit is contained in:
commit
64b64d69d8
@ -2066,7 +2066,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
$sql.= ",total_localtax2='".price2num($total_localtax2)."'";
|
$sql.= ",total_localtax2='".price2num($total_localtax2)."'";
|
||||||
$sql.= ",total_ttc='".price2num($total_ttc)."'";
|
$sql.= ",total_ttc='".price2num($total_ttc)."'";
|
||||||
$sql.= ",product_type=".$type;
|
$sql.= ",product_type=".$type;
|
||||||
$sql.= ($fk_unit ? "'".$this->db->escape($fk_unit)."'":"null");
|
$sql.= ($fk_unit ? ",fk_unit='".$this->db->escape($fk_unit)."'":", fk_unit=null");
|
||||||
$sql.= " WHERE rowid = ".$rowid;
|
$sql.= " WHERE rowid = ".$rowid;
|
||||||
|
|
||||||
dol_syslog(get_class($this)."::updateline", LOG_DEBUG);
|
dol_syslog(get_class($this)."::updateline", LOG_DEBUG);
|
||||||
|
|||||||
@ -170,6 +170,7 @@ ErrorGlobalVariableUpdater4=SOAP client failed with error '%s'
|
|||||||
ErrorGlobalVariableUpdater5=No global variable selected
|
ErrorGlobalVariableUpdater5=No global variable selected
|
||||||
ErrorFieldMustBeANumeric=Field <b>%s</b> must be a numeric value
|
ErrorFieldMustBeANumeric=Field <b>%s</b> must be a numeric value
|
||||||
ErrorFieldMustBeAnInteger=Field <b>%s</b> must be an integer
|
ErrorFieldMustBeAnInteger=Field <b>%s</b> must be an integer
|
||||||
|
ErrorMandatoryParametersNotProvided=Mandatory parameter(s) not provided
|
||||||
|
|
||||||
# Warnings
|
# Warnings
|
||||||
WarningMandatorySetupNotComplete=Mandatory setup parameters are not yet defined
|
WarningMandatorySetupNotComplete=Mandatory setup parameters are not yet defined
|
||||||
|
|||||||
@ -59,12 +59,6 @@ class Product extends CommonObject
|
|||||||
var $id ;
|
var $id ;
|
||||||
//! Ref
|
//! Ref
|
||||||
var $ref;
|
var $ref;
|
||||||
/**
|
|
||||||
* Product label
|
|
||||||
* @var string
|
|
||||||
* @deprecated use $label
|
|
||||||
*/
|
|
||||||
var $libelle;
|
|
||||||
/**
|
/**
|
||||||
* Product label
|
* Product label
|
||||||
* @var string
|
* @var string
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user