Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3911 Tampilan

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

Avatar
Buang
Jawaban Terbai

I would like a solution to this as well.

Avatar
Buang
Penulis

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

Post Terkait Replies Tampilan Aktivitas
1
Jan 18
6833
1
Jun 24
3171
2
Sep 22
3065
2
Okt 19
3548
0
Jul 25
2714