Skip to content

Commit

Permalink
Fix : rowid was missing on expedition line so no origin id when creat…
Browse files Browse the repository at this point in the history
…ing an invoice
  • Loading branch information
atm-maxime committed Jul 31, 2015
1 parent 6adc3ba commit 9e05cec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/expedition/class/expedition.class.php
Expand Up @@ -1105,6 +1105,8 @@ function fetch_lines()
$obj = $this->db->fetch_object($resql);

$line->line_id = $obj->line_id;
$line->rowid = $obj->line_id; // TODO deprecated
$line->id = $obj->line_id;
$line->fk_origin_line = $obj->fk_origin_line;
$line->origin_line_id = $obj->fk_origin_line; // TODO deprecated
$line->entrepot_id = $obj->fk_entrepot;
Expand Down

0 comments on commit 9e05cec

Please sign in to comment.