▲ 4 r/Odoo
Hi everyone,
I’m working on Odoo (Purchase module) and I’m trying to remove the time component from the Expected Arrival field in Purchase Orders, so that users only work with the date.
Here’s what I’ve tried so far:
- Used Odoo Studio to modify the field display (date instead of datetime)
- Adjusted the view so it looks like a date-only field
However:
- In the user view, the time still appears (or is implicitly handled)
- When creating or editing a PO, Odoo still expects a datetime value, not just a date. The system keeps enforcing the time internally even if it’s not visible
What I’m trying to achieve:
- Only work with dates (no time at all) for Expected Arrival
- Avoid confusing users with unnecessary time precision
- Ideally make the field behave like a pure
dateinstead ofdatetime
My questions:
- Has anyone successfully converted this field to a pure date?
- Is this even possible without custom development?
- Would the correct approach be to override the field (
date_planned) at the model level? I tried, but I had the message, "The properties of the database fields cannot be modified this way! Please modify them using Python code, preferably via a custom module!" - Any impact on stock moves or lead time calculations if I force it to date-only?
Any advice or best practices would be really appreciated 🙏
Thanks!
u/CarlosMidoriya — 17 days ago