-
- Downloads
[FIX] point_of_sale: Sales Details timezone
The Sales Details report wizard gives the possibility to print the details of the POS orders between two dates. The fields in the wizard are of type `date`, while the orders dates are of type `datetime`. `00:00:00` and `23:59:59` were naively added to the `date_start` and `date_end` (respectively) to handle the case. But, this doesn't take care of the user time zone: When a user choose between February 24th and February 25th, it's within his time zone, and therefore, for the search, where the datetime are in UTC, adding `00:00:00` isn't enough, the dates have to be converted from the user time zone to UTC. opw-6698831
Please register or sign in to comment