From d5ae9ca15a02f1f55282d05e7699b760f2acea8a Mon Sep 17 00:00:00 2001 From: "ksa (Open ERP)" Date: Thu, 6 May 2010 11:35:59 +0530 Subject: [PATCH] [IMP]: wiki: Apply Remaining changes in yml file for wiki module bzr revid: ksa@tinyerp.co.in-20100506060559-ei5hb4fkz0rfsn6s --- addons/wiki/test/wiki_test00.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/wiki/test/wiki_test00.yml b/addons/wiki/test/wiki_test00.yml index a8208119a29..277b8479a43 100755 --- a/addons/wiki/test/wiki_test00.yml +++ b/addons/wiki/test/wiki_test00.yml @@ -33,10 +33,9 @@ ids = self.search(cr, uid, []) self.wiki_do_index(cr, uid, ids , {'active_ids': [ref('wiki_wiki_openerpwikiediting0')]}) - - # Remaining Act window I check the page history for the current page by clicking on "Page History".After that find difference between history. - - # !act_window {name: Page History,view_type: form,id: act_wiki_wiki_history,res_model: wiki.wiki.history,src_model: wiki.wiki,view_mode: tree,key2: client_action_multi,target: new} + !act_window {name: Page History,view_type: form,id: act_wiki_wiki_history,domain: "[('wiki_id', '=', active_id)]",res_model: wiki.wiki.history,src_model: wiki.wiki,view_mode: tree,key2: client_action_multi,target: new} - I create a new wiki group on the Given Home Page - @@ -50,7 +49,10 @@ ids = self.search(cr, uid, []) self.open_wiki_page(cr, uid, ids, {'active_ids': [ref('wiki_groups_wikigroupediting0')]}) - - # Remaining beacuse of Act window (I search the page by clicking on the "search page".) + I search the page by clicking on the "search page". +- + !act_window {name: Search Page,view_type: form,id: act_wiki_group_open,domain: "[('group_id', '=', active_id)]",res_model: wiki.wiki,src_model: wiki.groups,view_mode: tree,key2: client_action_multi,target: new} +- In order to create a menu I will create wizard data - !record {model: wiki.groups, id: wiki.wiki_groups_wikiformatting0}: