Files
odoo_source/addons/project_issue/project_issue_config_settings.py
T
Mansi Gandhi 78643853ac [IMP] project: improvements in configuration,
>Remove the Sale Service option, because 'sale_service' module doesn't exist anymore.
	>Remove the option "Time on Tasks" and link the Time Scheduling (resource_calendar_id) to Forecast.
	>Hide the Timesheets section if the 'hr_timesheet_sheet' app is not installed.
	>Change the label "Timesheets on Issues" instead of "Timesheets Invoicing".
	>"Timesheets on Issues" shouldn't appear if hr_timesheet_sheet + project_issue apps are not installed.
2016-05-31 15:47:12 +02:00

15 lines
596 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from openerp import models, fields
class ProjectIssueConfiguration(models.TransientModel):
_inherit = 'project.config.settings'
module_project_issue_sheet = fields.Selection([
(0, "Do not track working hours on issues"),
(1, "Activate timesheets on issues")
], string="Timesheets on Issues",
help='Provides timesheet support for the issues/bugs management in project.\n'
'-This installs the module project_issue_sheet.')