summaryrefslogtreecommitdiff
path: root/addons/share
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2013-04-15 12:23:49 +0200
committerVo Minh Thu <vmt@openerp.com>2013-04-15 12:23:49 +0200
commite69326ee3b32bf50805bf1aca73d941a3bbcd2fe (patch)
tree5f8338b9378a6e70a1bfa1276b88730c4b1cd4ef /addons/share
parent53f168daaf989d97a4e514934afc7fe04d21193b (diff)
[REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
Diffstat (limited to 'addons/share')
-rw-r--r--addons/share/res_users.py2
-rw-r--r--addons/share/wizard/share_wizard.py1
2 files changed, 0 insertions, 3 deletions
diff --git a/addons/share/res_users.py b/addons/share/res_users.py
index 25fd25c234f..30200133f8e 100644
--- a/addons/share/res_users.py
+++ b/addons/share/res_users.py
@@ -34,7 +34,6 @@ class res_groups(osv.osv):
domain.append(('share', '=', False))
return super(res_groups, self).get_application_groups(cr, uid, domain=domain, context=context)
-res_groups()
class res_users(osv.osv):
_name = 'res.users'
@@ -43,6 +42,5 @@ class res_users(osv.osv):
'share': fields.boolean('Share User', readonly=True,
help="External user with limited access, created only for the purpose of sharing data.")
}
-res_users()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py
index 813a8a80e88..3a26dcb9e6b 100644
--- a/addons/share/wizard/share_wizard.py
+++ b/addons/share/wizard/share_wizard.py
@@ -902,7 +902,6 @@ class share_wizard(osv.TransientModel):
options = dict(title=opt_title, search=opt_search)
return {'value': {'embed_code': self._generate_embedded_code(wizard, options)}}
-share_wizard()
class share_result_line(osv.osv_memory):
_name = 'share.wizard.result.line'