Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cgscop_timesheet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hervé Silvant - CGScop
cgscop_timesheet
Commits
06a4bef3
Commit
06a4bef3
authored
5 years ago
by
Benjamin - Le Filament
Browse files
Options
Downloads
Patches
Plain Diff
[cgscop #146] impression feuille de temps paysage + ajout description + ajour visa
parent
41c45bb7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
report/report_hr_timesheet.xml
+35
-1
35 additions, 1 deletion
report/report_hr_timesheet.xml
with
35 additions
and
1 deletion
report/report_hr_timesheet.xml
+
35
−
1
View file @
06a4bef3
...
...
@@ -46,6 +46,7 @@
<td><span
t-field=
"line.date"
/></td>
<td><span
t-field=
"line.project_id"
/></td>
<td><span
t-field=
"line.partner_id"
/></td>
<td><span
t-field=
"line.name"
/></td>
<td><span
t-field=
"line.ur_financial_system_id"
/></td>
<td
class=
"text-right"
><span
t-field=
"line.unit_amount"
t-options=
"{'widget': 'duration', 'digital': True, 'unit': 'hour', 'round': 'minute'}"
/></td>
</tr>
...
...
@@ -54,12 +55,29 @@
<td
/>
<td
/>
<td
/>
<td
/>
<td
class=
"text-right"
><strong>
Total
</strong></td>
<td
class=
"text-right"
><strong
t-esc=
"o.total_hour"
t-options=
"{'widget': 'duration', 'digital': True, 'unit': 'hour', 'round': 'minute'}"
/></td>
</tr>
</tbody>
</table>
<div
t-if=
"o.state == 'draft'"
>
Cette feuille de temps a été éditée en brouillon.
</div>
<div
t-else=
""
>
<table
style=
"float: right;"
>
<tr>
<td
style=
"width: 300px; border-bottom: 1px solid #495057; text-align: center;"
>
Visa salarié
</td>
<td
style=
"width: 300px; border-bottom: 1px solid #495057; text-align: center;"
>
Visa direction
</td>
</tr>
<tr>
<td><br/><br/><br/></td>
<td><br/><br/><br/></td>
</tr>
</table>
</div>
</div>
</t>
</template>
...
...
@@ -72,14 +90,30 @@
</t>
</template>
<!-- Paper format -->
<record
id=
"cgscop_paperformat_a4_landscape"
model=
"report.paperformat"
>
<field
name=
"name"
>
A4 Paysage
</field>
<field
name=
"default"
eval=
"True"
/>
<field
name=
"format"
>
A4
</field>
<field
name=
"orientation"
>
Landscape
</field>
<field
name=
"margin_top"
>
10
</field>
<field
name=
"margin_bottom"
>
25
</field>
<field
name=
"margin_left"
>
10
</field>
<field
name=
"margin_right"
>
10
</field>
<field
name=
"header_line"
eval=
"False"
/>
<field
name=
"header_spacing"
>
0
</field>
<field
name=
"dpi"
>
90
</field>
</record>
<!-- QWeb Reports -->
<report
id=
"cgscop_timesheet_sheet_report"
model=
"cgscop.timesheet.sheet"
string=
"Feuille de Temps"
string=
"
CG Scop -
Feuille de Temps"
report_type=
"qweb-pdf"
name=
"cgscop_timesheet.report_timesheet_sheet"
file=
"cgscop_timesheet.report_timesheet_sheet"
paperformat=
"cgscop_paperformat_a4_landscape"
menu=
"False"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment