← Back to team overview

openerp-india team mailing list archive

[Bug 1112575] [NEW] [CRM] - cant inserting demo in february month

 

Public bug reported:


Hi,

Installing the CRM addons with its demo file crm_lead_demo.xml causes
this error :

DataError: date/time field value out of range: "2013-02-30"


We can read, in l.363 this line :

363             <field eval="time.strftime('%Y-%m-30')"
name="date_deadline"/>


For sur, the 30th of february will never exists !  It would probably worth it to change that for the 28th.

Like that :

l.363 of addons/crm/crm_lead_demo.xml :
 <field eval="time.strftime('%Y-%m-28')" name="date_deadline"/>


regards

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Patch added: "corrected demo file"
   https://bugs.launchpad.net/bugs/1112575/+attachment/3510339/+files/crm_lead_demo.xml

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1112575

Title:
  [CRM] - cant inserting  demo  in february month

Status in OpenERP Addons (modules):
  New

Bug description:

  Hi,

  Installing the CRM addons with its demo file crm_lead_demo.xml causes
  this error :

  DataError: date/time field value out of range: "2013-02-30"


  We can read, in l.363 this line :

  363             <field eval="time.strftime('%Y-%m-30')"
  name="date_deadline"/>

  
  For sur, the 30th of february will never exists !  It would probably worth it to change that for the 28th.

  Like that :

  l.363 of addons/crm/crm_lead_demo.xml :
   <field eval="time.strftime('%Y-%m-28')" name="date_deadline"/>


  regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1112575/+subscriptions


Follow ups

References