db_all, trunk, traceback when going to Sales menu

Bug #1227552 reported by Aline (OpenERP)
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
High
Unassigned

Bug Description

go to runbot, db all, go to sales main menu :

Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/web/http.py", line 314, in dispatch
    response["result"] = self._call_function(**self.params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/web/http.py", line 174, in _call_function
    return self.func(*args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/web/http.py", line 1053, in nfunc
    return func(*args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/web/controllers/main.py", line 1024, in search_read
    return self.do_search_read(model, fields, offset, limit, domain, sort)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/web/controllers/main.py", line 1057, in do_search_read
    records = Model.read(ids, fields or False, request.context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/web/http.py", line 581, in proxy
    result = meth(cr, request.uid, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/osv/orm.py", line 3652, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/osv/orm.py", line 3767, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/osv/fields.py", line 1164, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/sale_crm/sale_crm.py", line 67, in _get_invoices_data
    res[id] = self.__get_bar_values(cr, uid, obj, created_domain, ['price_total', 'date'], 'price_total', 'date', context=context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/addons/crm/crm.py", line 123, in __get_bar_values
    group_obj = obj.read_group(cr, uid, domain, read_fields, groupby_field, context=context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-20478/server/openerp/osv/orm.py", line 2739, in read_group
    groupby_datetime = datetime.datetime.strptime(alldata[d['id']][groupby], '%Y-%m-%d')
  File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime
    (data_string, format))
ValueError: time data '2013-09' does not match format '%Y-%m-%d'

Changed in openerp-web:
status: New → Confirmed
importance: Undecided → High
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
Changed in openerp-web:
assignee: OpenERP R&D Web Team (openerp-dev-web) → Xavier (Open ERP) (xmo)
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello Aline,

Its working fine with trunk latest build. I can't able to reproduce this traceback any more. So, I am marking it as a "Fix released " bug.

Thanks.

Changed in openerp-web:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.