Merge pull request #1431 from Pfontaine/fix/state_id_on_contact
Add state_id in contact for individual third party
This commit is contained in:
commit
bd6d9b9dad
@ -313,6 +313,7 @@ class Societe extends CommonObject
|
||||
$contact->zip = $this->zip;
|
||||
$contact->town = $this->town;
|
||||
$contact->phone_pro = $this->phone;
|
||||
$contact->state_id = $this->state_id;
|
||||
$result = $contact->create($user);
|
||||
if ($result < 0) {
|
||||
$this->error = $contact->error;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user