wiki group

Bug #1048515 reported by Давид
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP Publisher's Warranty Team

Bug Description

wiki bug:
~~~~~~~~~

step1 : Create a wiki group [ name = `Testing` ],

step2 : Assign newly created group to new wiki page [create new 5 wiki page]

step3 : Open wiki group `Testing` in form view.

step4 : Display method : `tree` and then click on `Open wiki page` button.

After these steps I got server traceback.

 File "/home/openerp-stable/static/6.1/server/openerp/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 1054, in call_button
    return {'result': clean_action(req, action)}
  File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 704, in clean_action
    return fix_view_modes(action)
  File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 767, in fix_view_modes
    generate_views(action)
  File "/home/openerp-stable/static/6.1/server/openerp/addons/web/controllers/main.py", line 740, in generate_views
    view_modes, view_id, action))
ValueError: Non-db action dictionaries should provide either multiple view modes or a single view mode and an optional view id.

 Got view modes ['form', 'tree'] and view id 533 for action {'domain': [('group_id', '=', 7), ('parent_id', '=', False)], 'name': 'Wiki Page', 'view_type': 'tree', 'res_model': 'wiki.wiki', 'view_id': [533], 'nodestroy': True, 'view_mode': 'form,tree', 'flags': {}, 'type': 'ir.actions.act_window'}

 Here I have addons with revision no. : 6983

 Thanks,
 Давид

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :
Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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