← Back to team overview

openerp-india team mailing list archive

[Bug 997477] Re: [TRUNK]:kanban view not working in many2many field. like one2many

 

Hello,

I have tested this Issue with combination of varieties code....
Let's see one by one,
#test-1: I have tested the kanban view with "one2many" and "many2one"  field. And it's working fine.
	    for ex : In Project >> Task (kanban view).

#test-2: But when I have tested with "many2many". Then face the following Traceback. because In many2many filed return no ids.
==============================================================================
Client Traceback (most recent call last):
  File "/home/amb/rdtolls/client-web/trunk/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/amb/rdtolls/client-web/trunk/addons/web/controllers/main.py", line 1031, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/home/amb/rdtolls/client-web/trunk/addons/web/controllers/main.py", line 993, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/home/amb/rdtolls/client-web/trunk/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/home/amb/rdtolls/client-web/trunk/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/amb/rdtolls/client-web/trunk/addons/web/common/http.py", line 611, in send
    raise fault
------------------------------------------------------------------------------------------------------------------------
Server Traceback (most recent call last):
  File "/home/amb/rdtolls/client-web/trunk/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/amb/rdtolls/server/trunk/openerp/netsvc.py", line 362, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/amb/rdtolls/server/trunk/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/amb/rdtolls/server/trunk/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/amb/rdtolls/server/trunk/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/amb/rdtolls/server/trunk/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/amb/rdtolls/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/amb/rdtolls/server/trunk/openerp/osv/orm.py", line 2539, 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
====================================================================================

So, we should improve this things. That's why I am confirm this issue
with low Important.


Thanks for the reporting!

** Project changed: openerp-web => openobject-server

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
   Importance: Undecided => Low

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

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

Title:
  [TRUNK]:kanban view not working in many2many field. like one2many

Status in OpenERP Server:
  Confirmed

Bug description:
  Hello,

  due to many2many return list of ids  , kanban view is not working with
  many2many field.

  Thanks,
  Amit

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