Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4002 Lượt xem

We have several customers that record Leads in Odoo after they have already been created in another system (some road-warriors for example that only record their work from time to time an not in real-time). Is there a way to allow the user to specify the Create Date of the Lead (and all related records) different from current date/time?

I have tried forcing the create_date when creating/writing to a record in models.py but it seems that there is a number of fields that get created/updated when a new lead is created (date_open, date_last_stage_update, mail.thread date time fields, etc.).


This seems to be such an obvious need but I cannot find anyone talking about this...


Is this possible? Is there a module that does this? Has anyone done anything like this before?


Thanks in advance for any lead you might give me!

Fernando

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I would like a solution to this as well.

Ảnh đại diện
Huỷ bỏ
Tác giả

Hello Ben,

I ended up creating a new field called request_date that is filled up by default with current date. Then we use that field in our report to measure some of the KPIs regarding Lead durantion from creation to sale or lost sale.

Fernando

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 18
6944
1
thg 6 24
3310
2
thg 9 22
3184
2
thg 10 19
3621
0
thg 7 25
2781