Skip to content

Commit

Permalink
Remove newline on top of template
Browse files Browse the repository at this point in the history
  • Loading branch information
glrf committed May 10, 2022
1 parent 07f2be5 commit 907bfaf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions description_templates/_compute.gotmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{template "_compute" . -}}
{{- template "_compute" . -}}
{{- define "_compute" -}}
{{$s:="\u2001"}}{{/*We need to use unicode whitespaces to make Odoo render them*/}}
{{- $s:="\u2001" -}}{{- /*We need to use unicode whitespaces to make Odoo render them*/ -}}
Compute

Qty: {{.Quantity | printf "%.2f"}} {{.Unit}}-Minutes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Compute

Qty: 87955674.09 UNIT-Minutes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Compute

Qty: 87955674.09 UNIT-Minutes
Expand Down

0 comments on commit 907bfaf

Please sign in to comment.