Skip to content
Browse files

[IMP] sale_timesheet: add Overview on form

Before this commit, Checking overview of the Project was possible from only kanban view as the `overview` button was present on that view only.

With this commit, we add the `Overview` button on from view as well.
  • Loading branch information
sswapnesh committed Mar 25, 2020
1 parent e4ebd3e commit 8b4d4b9c70b3826af80429b4f48e1bd44d0a6706
Showing with 4 additions and 0 deletions.
  1. +4 −0 addons/sale_timesheet/views/project_task_views.xml
@@ -6,6 +6,10 @@
<field name="model">project.project</field>
<field name="inherit_id" ref="hr_timesheet.project_invoice_form"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button class="oe_stat_button" name="action_view_timesheet" type="object" icon="fa-line-chart"
string="Overview" attrs="{'invisible': [('allow_timesheets', '=', False)]}" groups="project.group_project_manager"/>
<xpath expr="//header" position="inside">
<button name="action_make_billable" string="Create Sales Order" type="object" attrs="{'invisible': [('display_create_order', '=', False)]}" groups="sales_team.group_sale_salesman"/>

0 comments on commit 8b4d4b9

Please sign in to comment.
You can’t perform that action at this time.