Commit 98cdf79
committed
[FIX] hr: fix default work address
Steps to reproduce:
- Open the Employee app.
- Create a new employee in a company different from the current user's company.
Issue:
- The default address is taken from the current user's company
instead of the active company's address.
Fix:
- Default address now uses the active company's address
instead of the user's company.
task-5138714
closes odoo#235062
X-original-commit: 3af6e77
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: Rajat Mungra (rmun) <rmun@odoo.com>1 parent e1919b9 commit 98cdf79
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments