Open houzefa-abba opened 5 months ago
Hi @tarteo, some modules you are maintaining are being modified, check this out!
I don't get the concept of "inverted date".
I don't get the concept of "inverted date".
Sorry I wasn't clear enough; this is when end date is before start date (in my example, March 21st ➔ March 19th).
Makes no sense, but at least with this change they won't be completely hidden.
I think that should be forbidden by a constraint (SQL or Python).
But the constraint in
project_timeline
should be added IMO.
Yes constraint and demo data, because demo data produces these "reversed dates"
I'll look into it soon
But the constraint in
project_timeline
should be added IMO.Yes constraint and demo data, because demo data produces these "reversed dates"
I'll look into it soon
Done with https://github.com/OCA/project/pull/1259 & https://github.com/OCA/project/pull/1260
Inverted dates make no functional sense, but when they do happen, this change allows displaying them as single points in the timeline (same as when begin=end).
We currently do have such demo data when installing project_timeline:![Screenshot at 2024-03-21 12-24-31](https://github.com/OCA/web/assets/6347423/10e59b04-5a0f-4f2f-a431-b9c360d55c96)
Before: office design tasks are missing
After: office design tasks are shown