← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 768962] Re: [6.0] invalid date_stop in calendar view

 

assigning proper project becuase the issue tends to arise from both the
clients (GTK & WEB).



** Project changed: openobject-server => openobject-client

** Changed in: openobject-client
     Assignee: OpenERP's Framework R&D (openerp-dev-framework) => OpenERP sa GTK client R&D (openerp-dev-gtk)

** Also affects: openobject-client-web
   Importance: Undecided
       Status: New

** Changed in: openobject-client-web
       Status: New => Confirmed

** Changed in: openobject-client-web
   Importance: Undecided => Medium

** Changed in: openobject-client-web
     Assignee: (unassigned) => OpenERP SA's Web Client R&D (openerp-dev-web)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/768962

Title:
  [6.0] invalid date_stop in calendar view

Status in OpenERP GTK Client:
  Confirmed
Status in OpenERP Web Client:
  Confirmed

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 !


References