Fix doc
This commit is contained in:
parent
7e79cf2f0d
commit
8f819abd61
@ -898,6 +898,7 @@ class Expedition extends CommonObject
|
||||
* Add an expedition line.
|
||||
* If STOCK_WAREHOUSE_NOT_REQUIRED_FOR_SHIPMENTS is set, you can add a shipment line, with no stock source defined
|
||||
* If STOCK_MUST_BE_ENOUGH_FOR_SHIPMENT is not set, you can add a shipment line, even if not enough into stock
|
||||
* Note: For product that need a batch number, you must use addline_batch()
|
||||
*
|
||||
* @param int $entrepot_id Id of warehouse
|
||||
* @param int $id Id of source line (order line)
|
||||
|
||||
@ -79,6 +79,9 @@ class CommandeFournisseurDispatch extends CommonObjectLine
|
||||
*/
|
||||
public $fk_commandefourndet;
|
||||
|
||||
public $fk_reception;
|
||||
|
||||
|
||||
public $qty;
|
||||
public $qty_asked;
|
||||
|
||||
|
||||
@ -864,6 +864,7 @@ class Reception extends CommonObject
|
||||
$line->status = 1;
|
||||
$line->cost_price = $cost_price;
|
||||
$line->fk_reception = $this->id;
|
||||
|
||||
$this->lines[$num] = $line;
|
||||
|
||||
return $num;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user