bug-fix for the wiki, make section field in the wiki group woring

now on page section field will be display if the group is provides the 
section feature

bzr revid: mga@tinyerp.com-20090309115316-xkug11cz9i084hcf
This commit is contained in:
mga (Tiny/Axelor) 2009-03-09 17:23:16 +05:30
parent d9e235f049
commit 68069e31e4
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class wiz_timesheet_open(wizard.interface):
group = pool.get('wiki.groups.link').browse(cr, uid, group_ids[0])
value = {
'context': "{'group_id':%d}" % (group.group_id.id),
'context': "{'group_id':%d, 'section':%s}" % (group.group_id.id, group.group_id.section),
'domain': "[('group_id','child_of',[%s])]" % (group.group_id.id),
'name': 'Wiki Page',
'view_type': 'form',