* Fix PR #28989, create shipment line * Fix Phan * Update changelog * Fix stan --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
1f512873ff
commit
e23ccabf36
3 changed files with 3 additions and 2 deletions
|
|
@ -37,6 +37,7 @@ The following changes may create regressions for some external modules, but were
|
|||
* Removed trigger BILLREC_CREATEBILL. This trigger was not a CRUD event. If you used it, you can already use the trigger BILL_CREATE and
|
||||
test that ($object->fac_rec > 0) to know if creation trigger is from a recurring invoice or not. Also this old trigger was never enabled
|
||||
into table llx_c_action_trigger.
|
||||
* Renamings in expedition line table and class, fk_origin_line is now fk_elementdet in table and class.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5107,7 +5107,7 @@ class Form
|
|||
* @param int<0,3> $outputmode 0=HTML select string, 1=Array with full label only, 2=Array extended, 3=Array with full picto + label
|
||||
* @param int<0,1> $include [=0] Removed or 1=Keep only
|
||||
* @param string $morecss More CSS
|
||||
* @param int $useempty 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries.
|
||||
* @param int<0,2> $useempty 0=No empty value, 1=Add an empty value in list, 2=Add an empty value in list only if there is more than 2 entries. Default is 1.
|
||||
* @return string|array<int,string>|array<int,array{id:int,fulllabel:string,color:string,picto:string}>|array<int,array{rowid:int,id:int,fk_parent:int,label:string,description:string,color:string,position:string,visible:int,ref_ext:string,picto:string,fullpath:string,fulllabel:string}> String list or Array of categories
|
||||
* @see select_categories()
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -2892,7 +2892,7 @@ class ExpeditionLigne extends CommonObjectLine
|
|||
$sql .= $this->fk_expedition;
|
||||
$sql .= ", ".(empty($this->entrepot_id) ? 'NULL' : $this->entrepot_id);
|
||||
$sql .= ", ".((int) $this->fk_elementdet);
|
||||
$sql .= ", ".(empty($this->element_type) ? 'order' : $this->element_type);
|
||||
$sql .= ", '".(empty($this->element_type) ? 'order' : $this->db->escape($this->element_type))."'";
|
||||
$sql .= ", ".price2num($this->qty, 'MS');
|
||||
$sql .= ", ".((int) $ranktouse);
|
||||
$sql .= ")";
|
||||
|
|
|
|||
Loading…
Reference in a new issue