Merge pull request #21276 from badre-agtaib/scru4
FIX bug :The properties product_tosell & product_tobuy do not exist on OrderLine
This commit is contained in:
commit
28234c6f44
@ -2123,9 +2123,9 @@ class Commande extends CommonOrder
|
|||||||
|
|
||||||
$line->product_ref = $objp->product_ref;
|
$line->product_ref = $objp->product_ref;
|
||||||
$line->product_label = $objp->product_label;
|
$line->product_label = $objp->product_label;
|
||||||
$line->product_desc = $objp->product_desc;
|
|
||||||
$line->product_tosell = $objp->product_tosell;
|
$line->product_tosell = $objp->product_tosell;
|
||||||
$line->product_tobuy = $objp->product_tobuy;
|
$line->product_tobuy = $objp->product_tobuy;
|
||||||
|
$line->product_desc = $objp->product_desc;
|
||||||
$line->product_tobatch = $objp->product_tobatch;
|
$line->product_tobatch = $objp->product_tobatch;
|
||||||
$line->product_barcode = $objp->product_barcode;
|
$line->product_barcode = $objp->product_barcode;
|
||||||
|
|
||||||
|
|||||||
@ -72,11 +72,23 @@ abstract class CommonOrderLine extends CommonObjectLine
|
|||||||
*/
|
*/
|
||||||
public $product_label;
|
public $product_label;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Boolean that indicates whether the product is available for sale '1' or not '0'
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
public $product_tosell=0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Boolean that indicates whether the product is available for purchase '1' or not '0'
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
public $product_tobuy=0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Product description
|
* Product description
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $product_desc;
|
public $product_desc;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Product use lot
|
* Product use lot
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user