Skip to content
Snippets Groups Projects
Commit bd6d9b9d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1431 from Pfontaine/fix/state_id_on_contact

Add state_id in contact for individual third party
parents b1eef7cd 8ec10f8e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment