~openerp-chinese-team/openerp-china/openerp-china

« back to all changes in this revision

Viewing changes to oecn_help/oecn_help.py

  • Committer: JoshuaJan
  • Date: 2012-05-14 09:16:32 UTC
  • mfrom: (60.1.1 openerp-china)
  • Revision ID: joshua@openerp.cn-20120514091632-hh0dir8tfl50edpk
mergeĀ fromĀ 61

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    def open_oecn_help(self, cr, uid, ids, context=None):
9
9
        return {
10
10
            'type':'ir.actions.act_url',
11
 
            'url':'http://www.openerp-china.org/wiki/index.php?title='+self.browse(cr, uid, ids, context)[0].name or '',
 
11
            'url':'http://www.openerp-china.org/help.php?page='+self.browse(cr, uid, ids, context)[0].name or '',
12
12
            'target':'new',
13
13
        }
14
14
oecn_help()