cor report issue fixed

This commit is contained in:
projectsodoo 2020-12-21 15:11:21 +05:30
parent ce9f79b032
commit c56533b48e
4 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@
'views/project_view.xml',
'views/hr_timesheet_templates.xml',
# 'views/analytic_view.xml',
#'report/project_profitability_report_analysis_views.xml',
'report/project_profitability_report_analysis_views.xml',
'views/views.xml',
'views/templates.xml',
'wizard/project_create_sale_order_views.xml',

View File

@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
#from . import project_profitability_report_analysis
from . import project_profitability_report_analysis

View File

@ -19,7 +19,7 @@ class ProfitabilityAnalysis(models.Model):
partner_id = fields.Many2one('res.partner', string='Customer', readonly=True)
line_date = fields.Date("Date", readonly=True)
# cost
budgeted_unit_amount = fields.Float("Budgeted Duration", digits=(16, 2), readonly=True, group_operator="sum")
#budgeted_unit_amount = fields.Float("Budgeted Duration", digits=(16, 2), readonly=True, group_operator="sum")
timesheet_unit_amount = fields.Float("Timesheet Duration", digits=(16, 2), readonly=True, group_operator="sum")
timesheet_cost = fields.Float("Timesheet Cost", digits=(16, 2), readonly=True, group_operator="sum")
expense_cost = fields.Float("Other Costs", digits=(16, 2), readonly=True, group_operator="sum")

View File

@ -10,7 +10,7 @@
<field name="amount_untaxed_to_invoice" type="measure"/>
<field name="amount_untaxed_invoiced" type="measure"/>
<field name="timesheet_cost" type="measure"/>
<field name="budgeted_unit_amount" type="measure"/>
<!--<field name="budgeted_unit_amount" type="measure"/>-->
</pivot>
</field>
</record>