Skip to content
Permalink
Browse files

Work on Dolibarr 11 support

  • Loading branch information
fappels committed Nov 27, 2019
1 parent d71a430 commit 94a9638496bbc736ad653fe26651e1cfc957fa8c
Showing with 5 additions and 1 deletion.
  1. +5 −1 extdirect/class/ExtDirectSociete.class.php
@@ -625,7 +625,11 @@ public function readSociete(stdClass $param)
$row->state = $this->state;
$row->stcomm_id = (int) $this->stcomm_id; // id statut commercial
$row->commercial_status = $this->statut_commercial; // libelle statut commercial
if (ExtDirect::checkDolVersion(0,'11.0')) {
$row->commercial_status = $this->status_prospect_label;
} else {
$row->commercial_status = $this->statut_commercial;
}
$row->email = $this->email;
$row->url = $this->url;

0 comments on commit 94a9638

Please sign in to comment.
You can’t perform that action at this time.