← Back to team overview

openerp-india team mailing list archive

[Bug 1118231] [NEW] [Email]Group by partner gives a traceback.

 

Public bug reported:

Email menu, try to group by partner or user.
see the trace.

 File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/osv.py", line 169, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/osv.py", line 123, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/osv.py", line 179, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
    return fct_src(cr, uid, model, method, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/osv.py", line 166, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/orm.py", line 2632, in read_group
    assert groupby_def and groupby_def._classic_write, "Fields in 'groupby' must be regular database-persisted fields (no function or related fields), or function fields with store=True"
AssertionError: Fields in 'groupby' must be regular database-persisted fields (no function or related fields), or function fields with store=True

** Affects: openobject-addons
     Importance: Medium
     Assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1)
         Status: Confirmed

-- 
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/1118231

Title:
  [Email]Group by partner gives a traceback.

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Email menu, try to group by partner or user.
  see the trace.

   File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/osv.py", line 169, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/osv.py", line 123, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/osv.py", line 179, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/addons/audittrail/audittrail.py", line 514, in execute_cr
      return fct_src(cr, uid, model, method, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/osv.py", line 166, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/odoo/runbot/static/openerp-dev-trunk-3144/server/openerp/osv/orm.py", line 2632, in read_group
      assert groupby_def and groupby_def._classic_write, "Fields in 'groupby' must be regular database-persisted fields (no function or related fields), or function fields with store=True"
  AssertionError: Fields in 'groupby' must be regular database-persisted fields (no function or related fields), or function fields with store=True

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


Follow ups

References