Commit Graph
3 Commits
Author SHA1 Message Date
Raphael Collet b7fd679a6c [FIX] *: sudo() -> with_user() 2019-07-04 11:32:22 +00:00
Lucas Lefèvre ca2c0b583f [IMP] hr: Keep employee name on user change
Purpose
=======

Managing people's names is hard.
The full name is stored in a single field.
But is it first name first? Last name first? How many names?

We don't want an onchange to automatically change names
for which we might have spent a lot of energy correctly
formatting in the database.

Specification
=============

Remove the automatic sync between the user's name
and the employee's name when a user is linked to
the employee.

TaskID: 1953003

closes odoo/odoo#32521

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-05-16 14:31:22 +00:00
Thibault Delavallée 6f2122a79c [ADD] hr: add employee-related tests
Purpose is to test user - employee synchronization, especially about
timezones that are often broken.
2018-09-13 12:20:14 +02:00