Fix updating language thirdparty to member
This commit is contained in:
parent
183b205c32
commit
79af20cfc7
@ -1581,6 +1581,7 @@ class Societe extends CommonObject
|
|||||||
$lmember->phone = $this->phone;
|
$lmember->phone = $this->phone;
|
||||||
$lmember->state_id = $this->state_id;
|
$lmember->state_id = $this->state_id;
|
||||||
$lmember->country_id = $this->country_id;
|
$lmember->country_id = $this->country_id;
|
||||||
|
$lmember->default_lang = $this->default_lang;
|
||||||
|
|
||||||
$result = $lmember->update($user, 0, 1, 1, 1); // Use nosync to 1 to avoid cyclic updates
|
$result = $lmember->update($user, 0, 1, 1, 1); // Use nosync to 1 to avoid cyclic updates
|
||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user