Impacted modules: project, rating_project, sale_service_rating and website_rating_project. Removed modules: rating_project and sale_service_rating. Move code to empty 'rating_project' module, in order to kill it. Code is not modified, simply copy/paste at the right place in 'project' module code. However, 'enable rating on task' options is convert into a res.groups that can be activated from the project settings.
14 lines
561 B
Python
14 lines
561 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import api, fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
module_hr_timesheet = fields.Boolean("Timesheets")
|
|
module_project_forecast = fields.Boolean(string="Forecasts")
|
|
group_subtask_project = fields.Boolean("Sub-tasks", implied_group="project.group_subtask_project")
|
|
group_project_rating = fields.Boolean("Use Rating on Project", implied_group='project.group_project_rating')
|