view allocation graph view updated
This commit is contained in:
parent
acbb48375c
commit
9795f8e56d
|
@ -29,7 +29,7 @@
|
|||
'views/crm_view.xml',
|
||||
'views/sale_views.xml',
|
||||
'views/project_view.xml',
|
||||
'views/project_hours_view.xml',
|
||||
#'views/project_hours_view.xml',
|
||||
'views/hr_employee_views.xml',
|
||||
'views/hr_timesheet_templates.xml',
|
||||
'views/analytic_view.xml',
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<field name="name">project.consultant.hrs.report.graph</field>
|
||||
<field name="model">project.consultant.hrs.report</field>
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Consultant Allocation" type="bar" stacked="True" sample="1" disable_linking="1">
|
||||
<graph string="Consultant Allocation" type="bar" stacked="False" sample="1" disable_linking="1">
|
||||
<field name="project_id" type="row"/>
|
||||
<field name="hours" type="measure"/>
|
||||
</graph>
|
||||
|
@ -74,6 +74,7 @@
|
|||
<field name="context">{
|
||||
'search_default_project': 1,
|
||||
'search_default_consultant': 1,
|
||||
'search_default_group_by_hours_type': 1,
|
||||
}
|
||||
</field>
|
||||
</record>
|
||||
|
@ -88,7 +89,7 @@
|
|||
<button class="oe_stat_button" type="action" name="cor_custom.action_project_consultant_hrs_report"
|
||||
icon="fa-tasks"
|
||||
attrs="{'invisible':['|',('pricing_type','!=','employee_rate'),('project_type','!=','hours_in_consultant')]}"
|
||||
string="View Allocation1" widget="statinfo">
|
||||
string="View Allocation" widget="statinfo">
|
||||
</button>
|
||||
</div>
|
||||
</field>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
</field>
|
||||
</record>
|
||||
|
||||
<record id="project_consul_hours_view_form" model="ir.ui.view">
|
||||
<!--<record id="project_consul_hours_view_form" model="ir.ui.view">
|
||||
<field name="name">Project Consul Hours</field>
|
||||
<field name="model">project.project</field>
|
||||
<field name="inherit_id" ref="project.edit_project"/>
|
||||
|
@ -78,6 +78,6 @@
|
|||
</button>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
</record>-->
|
||||
|
||||
</odoo>
|
||||
|
|
Loading…
Reference in New Issue