Code comment
This commit is contained in:
parent
f1b8941e27
commit
1e735c48aa
@ -1055,7 +1055,7 @@ class BOM extends CommonObject
|
|||||||
$tmpproduct->cost_price = 0;
|
$tmpproduct->cost_price = 0;
|
||||||
$tmpproduct->pmp = 0;
|
$tmpproduct->pmp = 0;
|
||||||
|
|
||||||
$result = $tmpproduct->fetch($line->fk_product, '', '', '', 0, 1, 1);
|
$result = $tmpproduct->fetch($line->fk_product, '', '', '', 0, 1, 1); // We discard selling price and language loading
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
$this->error = $tmpproduct->error;
|
$this->error = $tmpproduct->error;
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user