2
0
forked from Wavyzz/dolibarr

Fix regression Product ref not visible

This commit is contained in:
Laurent Destailleur
2016-03-19 19:13:27 +01:00
parent aa7eb4935c
commit f0eb8ac794
2 changed files with 2 additions and 0 deletions

View File

@@ -2836,6 +2836,7 @@ class Propal extends CommonObject
$this->lines[$i]->description = $obj->description;
$this->lines[$i]->fk_product = $obj->fk_product;
$this->lines[$i]->ref = $obj->ref;
$this->lines[$i]->product_ref = $obj->ref;
$this->lines[$i]->entity = $obj->entity; // Product entity
$this->lines[$i]->product_label = $obj->product_label;
$this->lines[$i]->product_desc = $obj->product_desc;

View File

@@ -1125,6 +1125,7 @@ class Facture extends CommonInvoice
$line->label = $objp->custom_label; // deprecated
$line->desc = $objp->description; // Description line
$line->product_type = $objp->product_type; // Type of line
$line->ref = $objp->product_ref; // Ref product
$line->product_ref = $objp->product_ref; // Ref product
$line->libelle = $objp->product_label; // TODO deprecated
$line->product_label = $objp->product_label; // Label product