[Fix] mail: incorrect activity creation date
After an activity creation, if a user checks the activity's information, the creation date will be the current date. To reproduce the error: 1. Add an activity (e.g. a TODO activity) 2. In log notes, click on the activity's information icon => The "Created" field is actually the current date and not the activity's creation date. OPW-2412967 closes odoo/odoo#63233 X-original-commit: f25da5fef15d10b184d744bf5533b90364a35a81 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -43,7 +43,7 @@ function factory(dependencies) {
|
||||
if ('can_write' in data) {
|
||||
data2.canWrite = data.can_write;
|
||||
}
|
||||
if ('create_data' in data) {
|
||||
if ('create_date' in data) {
|
||||
data2.dateCreate = data.create_date;
|
||||
}
|
||||
if ('date_deadline' in data) {
|
||||
|
||||
Reference in New Issue
Block a user