← Back to team overview

openerp-india team mailing list archive

[Bug 928799] [NEW] base_report_creator I can not include a filter on report on definition.

 

Public bug reported:


Steps (Server version OpenERP 6.0.3):
Define any report
Go to filter on fields tab
Push the button to select a new filter
Select a field --> accept

I obtain this error, so I can not include a filter on report on
definition.

Environment Information : 
System : Windows-32bit-SP1
OS Name : nt
Operating System Release : 
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : es_ES.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.3
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 636, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 663, in exp_execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 645, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 72, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_report_creator/wizard/wiz_set_filter_fields.py", line 153, in _set_form_value
    fields_dict = pooler.get_pool(cr.dbname).get(field_data.get('model')).fields_get(cr,uid,allfields=[field_data.get('name')])
TypeError: fields_get() got an unexpected keyword argument 'allfields'

Thank you:

Ana

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

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

Title:
  base_report_creator  I can not include a filter on report on
  definition.

Status in OpenERP Addons (modules):
  New

Bug description:
  
  Steps (Server version OpenERP 6.0.3):
  Define any report
  Go to filter on fields tab
  Push the button to select a new filter
  Select a field --> accept

  I obtain this error, so I can not include a filter on report on
  definition.

  Environment Information : 
  System : Windows-32bit-SP1
  OS Name : nt
  Operating System Release : 
  Operating System Version : 32bit
  Operating System Architecture : 32bit
  Operating System Locale : es_ES.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.3
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 636, in dispatch
      res = fn(db, uid, *params)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 663, in exp_execute
      return self._execute(db, uid, wiz_id, datas, action, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 645, in _execute
      return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 177, in execute
      res = self.execute_cr(cr, uid, data, state, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 72, in execute_cr
      action_res = action(self, cr, uid, data, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_report_creator/wizard/wiz_set_filter_fields.py", line 153, in _set_form_value
      fields_dict = pooler.get_pool(cr.dbname).get(field_data.get('model')).fields_get(cr,uid,allfields=[field_data.get('name')])
  TypeError: fields_get() got an unexpected keyword argument 'allfields'

  Thank you:

  Ana

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


Follow ups

References