Add state_id in contact for individual third party

This commit is contained in:
Peter Fontaine 2014-02-24 21:20:06 +01:00
parent b1eef7cd42
commit 8ec10f8efa

View File

@ -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;