[FIX] all: ressource -> resource
Courtesy of Kris Krnacs
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<group string="Shared ressources" name="company_share_ressources" attrs="{'invisible': [('group_light_multi_company','=',False)]}">
|
||||
<group string="Shared resources" name="company_share_resources" attrs="{'invisible': [('group_light_multi_company','=',False)]}">
|
||||
<field name="company_share_partner" class="oe_inline" />
|
||||
</group>
|
||||
<group string="Google Integration" name="google">
|
||||
|
||||
@@ -90,7 +90,7 @@ class gamification_challenge(osv.Model):
|
||||
|
||||
def _get_categories(self, cr, uid, context=None):
|
||||
return [
|
||||
('hr', 'Human Ressources / Engagement'),
|
||||
('hr', 'Human Resources / Engagement'),
|
||||
('other', 'Settings / Gamification Tools'),
|
||||
]
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
'category': 'hidden',
|
||||
'website': 'https://www.odoo.com/page/employees',
|
||||
'depends': ['gamification', 'hr'],
|
||||
'description': """Use the HR ressources for the gamification process.
|
||||
'description': """Use the HR resources for the gamification process.
|
||||
|
||||
The HR officer can now manage challenges and badges.
|
||||
This allow the user to send badges to employees instead of simple users.
|
||||
|
||||
@@ -11,7 +11,7 @@ class MailChatController(openerp.addons.bus.controllers.main.BusController):
|
||||
def _default_request_uid(self):
|
||||
""" For Anonymous people, they receive the access right of SUPERUSER_ID since they have NO access (auth=none)
|
||||
!!! Each time a method from this controller is call, there is a check if the user (who can be anonymous and Sudo access)
|
||||
can access to the ressource.
|
||||
can access to the resource.
|
||||
"""
|
||||
return request.session.uid and request.session.uid or SUPERUSER_ID
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ class MailThread(models.AbstractModel):
|
||||
Options:
|
||||
- _mail_flat_thread: if set to True, all messages without parent_id
|
||||
are automatically attached to the first message posted on the
|
||||
ressource. If set to False, the display of Chatter is done using
|
||||
resource. If set to False, the display of Chatter is done using
|
||||
threads, and no parent_id is automatically set.
|
||||
'''
|
||||
_name = 'mail.thread'
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<field name="model">base.config.settings</field>
|
||||
<field name="inherit_id" ref="base_setup.view_general_configuration"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='company_share_ressources']" position="inside">
|
||||
<xpath expr="//group[@name='company_share_resources']" position="inside">
|
||||
<field name="company_share_product" class="oe_inline"/>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
@@ -22,10 +22,10 @@ class Rating(models.Model):
|
||||
def new_access_token(self):
|
||||
return uuid.uuid4().hex
|
||||
|
||||
res_name = fields.Char(string='Resource Name', compute='_compute_res_name', store=True, help="The name of the rated ressource.")
|
||||
res_name = fields.Char(string='Resource Name', compute='_compute_res_name', store=True, help="The name of the rated resource.")
|
||||
res_model = fields.Char(string='Document Model', required=True, help="Model name of the rated object", index=True)
|
||||
res_id = fields.Integer(string='Document ID', required=True, help="Identifier of the rated object", index=True)
|
||||
rated_partner_id = fields.Many2one('res.partner', string="Rated Partner", help="Owner of the rated ressource")
|
||||
rated_partner_id = fields.Many2one('res.partner', string="Rated Partner", help="Owner of the rated resource")
|
||||
partner_id = fields.Many2one('res.partner', string='Customer', help="Author of the rating")
|
||||
rating = fields.Float(string="Rating", group_operator="avg", default=-1, help="Rating value")
|
||||
feedback = fields.Text('Feedback reason', help="Reason of the rating")
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
<record model="survey.label" id="choice_1_2_6">
|
||||
<field name="question_id" ref="feedback_1_2"/>
|
||||
<field name="sequence">6</field>
|
||||
<field name="value">Human Ressources</field>
|
||||
<field name="value">Human Resources</field>
|
||||
</record>
|
||||
<!-- Page 2 -->
|
||||
<record model="survey.page" id="feedback_2">
|
||||
|
||||
@@ -241,7 +241,7 @@ def manifest_glob(extension, addons=None, db=None, include_remotes=False):
|
||||
return r
|
||||
|
||||
def manifest_list(extension, mods=None, db=None, debug=None):
|
||||
""" list ressources to load specifying either:
|
||||
""" list resources to load specifying either:
|
||||
mods: a comma separated string listing modules
|
||||
db: a database name (return all installed modules in that database)
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user