Merge pull request #26061 from elkoiko/undefined-property-pa_ht-class-contrat
fix: Undefined property: Contrat::$pa_ht
This commit is contained in:
commit
54f5317eab
1 changed files with 1 additions and 1 deletions
|
|
@ -1562,7 +1562,7 @@ class Contrat extends CommonObject
|
|||
|
||||
|
||||
// if buy price not defined, define buyprice as configured in margin admin
|
||||
if ($this->pa_ht == 0) {
|
||||
if ($pa_ht == 0) {
|
||||
if (($result = $this->defineBuyPrice($pu_ht, $remise_percent, $fk_product)) < 0) {
|
||||
return $result;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue