Add state_id in contact for individual third party
This commit is contained in:
parent
b1eef7cd42
commit
8ec10f8efa
@ -313,6 +313,7 @@ class Societe extends CommonObject
|
|||||||
$contact->zip = $this->zip;
|
$contact->zip = $this->zip;
|
||||||
$contact->town = $this->town;
|
$contact->town = $this->town;
|
||||||
$contact->phone_pro = $this->phone;
|
$contact->phone_pro = $this->phone;
|
||||||
|
$contact->state_id = $this->state_id;
|
||||||
$result = $contact->create($user);
|
$result = $contact->create($user);
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
$this->error = $contact->error;
|
$this->error = $contact->error;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user