>From my point of view, 9/05 and 10/05 are two days. To obtain the result you are saying, the end should be 09/05/11 23:59:59. I encoutered this bug working on a renting module. I used datetime fields, but a customer wanted to handle only dates.
So I used date widgets to show datetime field. And when he sets the start the 09/05/11 and end the 10/05/11, he expects the rent to be of 2 days. Moreover, settings 09/05/11 00:00:01 will switch the calendar to a 2-day event ! So, from what you are saying, an event like this : 09/05/11 00:00:00 to 10/05/11 00:00:00 is one day on the calendar view, but 09/05/11 00:00:00 to 10/05/11 00:00:01 is two days. I hope you understand my point of view ;-) Thanks for working on this. -- You received this bug notification because you are a member of OpenERP sa GTK client R&D, which is a bug assignee. https://bugs.launchpad.net/bugs/768962 Title: [6.0] invalid date_stop in calendar view Status in OpenERP GTK Client: Incomplete Status in OpenERP Web Client: Incomplete Bug description: In a calendar view, defined like this : <record model="ir.ui.view" id="rent_order_rtz_calendar_view"> <field name="name">rent.order.rtz.calendar</field> <field name="model">rent.order</field> <field name="type">calendar</field> <field name="priority" eval="14"/> <field name="arch" type="xml"> <calendar string="Rent Orders" color="partner_id" date_start="date_out_shipping" date_stop="date_in_shipping"> <field name="partner_id"/> <field name="description"/> </calendar> </field> </record> With, date_in_shipping = 22/04/11 00:00:00, the end date shown into the calendar is the 21/01/11. Setting the time to 1 minute, make the calendar show the end date correctly. Seems that 22/04/11 00:00:00 is considered to be 21/04/11 ! _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp

