Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
141
Merge Requests
141
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
3b5fb4ac
Commit
3b5fb4ac
authored
Nov 04, 2021
by
Roque
2
Browse files
Options
Browse Files
Download
Plain Diff
erp5_travel_expense: remove leaves days counter
See merge request
nexedi/erp5!1505
parents
3379bd22
db138f5e
Pipeline
#18164
failed with stage
in 0 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
17 deletions
+4
-17
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_html.html
...em/web_page_module/gadget_hr_leave_request_list_html.html
+0
-3
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_html.xml
...tem/web_page_module/gadget_hr_leave_request_list_html.xml
+2
-2
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_js.js
...teItem/web_page_module/gadget_hr_leave_request_list_js.js
+0
-10
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_js.xml
...eItem/web_page_module/gadget_hr_leave_request_list_js.xml
+2
-2
No files found.
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_html.html
View file @
3b5fb4ac
...
@@ -13,9 +13,6 @@
...
@@ -13,9 +13,6 @@
<script
src=
"gadget_officejs_page_leave_request_record_list.js"
></script>
<script
src=
"gadget_officejs_page_leave_request_record_list.js"
></script>
<script
class=
"page-template"
type=
"text/x-handlebars-template"
>
<script
class=
"page-template"
type=
"text/x-handlebars-template"
>
{{
#
if
day_left
}}
<
p
data
-
i18n
=
"
Leaves days left:
"
>
Leaves
days
left
:
<
span
>
{{
day_left
}}
<
/span></
p
>
{{
/
if
}}
<
div
class
=
"
leave_request_listbox
"
><
/div
>
<
div
class
=
"
leave_request_listbox
"
><
/div
>
</script>
</script>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_html.xml
View file @
3b5fb4ac
...
@@ -280,7 +280,7 @@
...
@@ -280,7 +280,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
57.11901.58686.802
</string>
</value>
<value>
<string>
9
95.60736.17113.256
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -298,7 +298,7 @@
...
@@ -298,7 +298,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
486546513.23
</float>
<float>
1
636047630.35
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_js.js
View file @
3b5fb4ac
...
@@ -75,16 +75,6 @@
...
@@ -75,16 +75,6 @@
});
});
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
jio_allDocs
({
query
:
'
portal_type: "Leave Report Record"
'
,
select_list
:
[
"
confirmed_leaves_days_left
"
],
});
})
.
push
(
function
(
result
)
{
var
options
=
{};
if
(
result
.
data
.
total_rows
>
0
)
{
options
.
day_left
=
result
.
data
.
rows
[
0
].
value
.
confirmed_leaves_days_left
;
}
return
gadget
.
translateHtml
(
template
(
options
));
return
gadget
.
translateHtml
(
template
(
options
));
})
})
.
push
(
function
(
html
)
{
.
push
(
function
(
html
)
{
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_list_js.xml
View file @
3b5fb4ac
...
@@ -276,7 +276,7 @@
...
@@ -276,7 +276,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
57.11870.44460.28228
</string>
</value>
<value>
<string>
9
95.60736.17113.256
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -294,7 +294,7 @@
...
@@ -294,7 +294,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
486546441.25
</float>
<float>
1
636047628.06
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
Roque
@rporchetto
·
Nov 05, 2021
Developer
FYI
@cedric.leninivin
FYI @cedric.leninivin
👍
1
Cédric Le Ninivin
@cedric.leninivin
·
Nov 05, 2021
Maintainer
Thanks a lot.
Thanks a lot.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment