typo corrected
bzr revid: qdp-f7440b85a262ced588365e29d4c1b0f596a82e5f
This commit is contained in:
parent
096e340aa3
commit
1642577c02
|
@ -38,8 +38,8 @@ class report_account_analytic_planning(osv.osv):
|
|||
_columns = {
|
||||
'name': fields.char('Planning Name', size=32, required=True),
|
||||
'user_id': fields.many2one('res.users', 'Responsible', required=True),
|
||||
'date_from':fields.date('Start date', required=True),
|
||||
'date_to':fields.date('End date', required=True),
|
||||
'date_from':fields.date('Start Date', required=True),
|
||||
'date_to':fields.date('End Date', required=True),
|
||||
'line_ids': fields.one2many('report_account_analytic.planning.line', 'planning_id', 'Planning lines'),
|
||||
'stat_ids': fields.one2many('report_account_analytic.planning.stat', 'planning_id', 'Planning analysis', readonly=True),
|
||||
'stat_user_ids': fields.one2many('report_account_analytic.planning.stat.user', 'planning_id', 'Planning by user', readonly=True),
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<field name="model">report_account_analytic.planning</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Planning by account">
|
||||
<tree string="Planning by Account">
|
||||
<field name="name"/>
|
||||
<field name="user_id"/>
|
||||
<field name="date_from"/>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<field name="model">report_account_analytic.planning</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Planning by account">
|
||||
<form string="Planning by Account">
|
||||
<notebook>
|
||||
<page string="Planning">
|
||||
<field name="name" select="1"/>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<field name="date_from"/>
|
||||
<field name="date_to"/>
|
||||
<field name="line_ids" colspan="4" nolabel="1">
|
||||
<tree string="Planning line" editable="bottom">
|
||||
<tree string="Planning Line" editable="bottom">
|
||||
<field name="user_id"/>
|
||||
<field name="account_id"/>
|
||||
<field name="amount"/>
|
||||
|
@ -38,24 +38,24 @@
|
|||
</field>
|
||||
</page><page string="Analysis">
|
||||
<field name="stat_ids" colspan="4" nolabel="1" readonly="1">
|
||||
<tree string="Planning line" editable="bottom">
|
||||
<tree string="Planning Line" editable="bottom">
|
||||
<field name="user_id"/>
|
||||
<field name="account_id"/>
|
||||
<field name="sum_amount"/>
|
||||
<field name="sum_amount_real"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page><page string="Time by user">
|
||||
</page><page string="Time by User">
|
||||
<field name="stat_user_ids" colspan="4" nolabel="1">
|
||||
<tree string="Quantities by user">
|
||||
<tree string="Quantities by User">
|
||||
<field name="user_id"/>
|
||||
<field name="quantity" sum="Total Planned"/>
|
||||
<field name="sum_amount_real" sum="Total Timesheet"/>
|
||||
</tree>
|
||||
</field>
|
||||
</page><page string="Time by account">
|
||||
</page><page string="Time by Account">
|
||||
<field name="stat_account_ids" colspan="4" nolabel="1">
|
||||
<tree string="Quantities by account">
|
||||
<tree string="Quantities by Account">
|
||||
<field name="account_id"/>
|
||||
<field name="quantity" sum="Total Planned"/>
|
||||
<field name="sum_amount_real" sum="Total Timesheet"/>
|
||||
|
|
Loading…
Reference in New Issue