>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.
45 lines
2.1 KiB
XML
45 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="view_config_settings" model="ir.ui.view">
|
|
<field name="name">project settings</field>
|
|
<field name="model">project.config.settings</field>
|
|
<field name="priority" eval="20"/>
|
|
<field name="arch" type="xml">
|
|
<form class="oe_form_configuration">
|
|
<header>
|
|
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
|
|
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
|
|
</header>
|
|
<group string="Project Management" name="project_management">
|
|
<field name="module_pad" widget="radio"/>
|
|
<label for="id" string="Forecasts"/>
|
|
<div>
|
|
<div>
|
|
<field name="module_project_forecast" widget="upgrade_boolean"/>
|
|
<label for="module_project_forecast"/>
|
|
<a href="https://www.youtube.com/watch?v=PWKez0gn6Ts" target="_blank"> More Info </a>
|
|
</div>
|
|
</div>
|
|
</group>
|
|
<group name="timesheets"/>
|
|
<group string="Helpdesk & Support">
|
|
<field name="module_rating_project" widget="radio"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_config_settings" model="ir.actions.act_window">
|
|
<field name="name">Configure Project</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">project.config.settings</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">inline</field>
|
|
</record>
|
|
|
|
<menuitem id="base.menu_project_general_settings" name="Settings" parent="menu_project_config"
|
|
sequence="0" action="action_config_settings" groups="base.group_system"/>
|
|
</data>
|
|
</openerp>
|