This question has been flagged
1 Reply
3050 Views

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
Discard
Best Answer

I would like a solution to this as well.

Avatar
Discard
Author

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