odoo/addons/website_gengo/models/base_gengo_translations.py

12 lines
444 B
Python

# -*- coding: utf-8 -*-
from openerp.osv import osv
class base_gengo_translations(osv.TransientModel):
_inherit = 'base.gengo.translations'
# update GROUPS, that are the groups allowing to access the gengo key.
# this is done here because in the base_gengo module, the various website
# groups do not exist, limiting the access to the admin group.
GROUPS = ['base.group_website_designer', 'base.group_website_publisher']