openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15403
[Bug 1048515] Re: wiki group
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)
** Attachment added: "Step for reproduce"
https://bugs.launchpad.net/openobject-addons/+bug/1048515/+attachment/3305264/+files/Wiki_treeError.ogv
--
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/1048515
Title:
wiki group
Status in OpenERP Addons (modules):
Confirmed
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,
Давид
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1048515/+subscriptions
References