Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
ee1fc0d0
Commit
ee1fc0d0
authored
Jan 03, 2022
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_travel_expense: don't save if it's readonly
parent
7dc1b2b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.js
...teItem/web_page_module/gadget_hr_leave_request_view_js.js
+4
-0
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.xml
...eItem/web_page_module/gadget_hr_leave_request_view_js.xml
+3
-5
No files found.
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.js
View file @
ee1fc0d0
...
...
@@ -88,6 +88,7 @@
state
=
getWorkflowState
(
options
),
not_sync_checked
;
gadget
.
options
=
options
;
gadget
.
options
.
readonly
=
state
.
readonly
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
...
...
@@ -234,6 +235,9 @@
'
submit
'
,
false
,
function
(
submit_event
)
{
if
(
gadget
.
options
.
readonly
)
{
return
;
}
return
getSequentialID
(
gadget
,
'
LRR
'
)
.
push
(
function
(
source_reference
)
{
var
i
,
...
...
bt5/erp5_travel_expense/PathTemplateItem/web_page_module/gadget_hr_leave_request_view_js.xml
View file @
ee1fc0d0
...
...
@@ -66,9 +66,7 @@
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
contributor/person_module/2
</string>
</tuple>
<tuple/>
</value>
</item>
<item>
...
...
@@ -250,7 +248,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
99
4.55194.7094.631
29
</string>
</value>
<value>
<string>
99
6.48024.29057.432
29
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -268,7 +266,7 @@
</tuple>
<state>
<tuple>
<float>
163
1870226.12
</float>
<float>
163
9131883.77
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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