Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
78270d0f
Commit
78270d0f
authored
Jul 20, 2016
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_catalog: Use the _setArgument from SQL Method class to update arguments_src property
parent
8adda966
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
product/ERP5/ERP5Site.py
product/ERP5/ERP5Site.py
+4
-1
No files found.
product/ERP5/ERP5Site.py
View file @
78270d0f
...
...
@@ -1767,7 +1767,6 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
# Update properties and attributes of erp5_sql_catalog with the info
# data of same attributes of sql_method
erp5_sql_method
.
title
=
sql_method
.
title
erp5_sql_method
.
setArgument
(
sql_method
.
arguments_src
)
erp5_sql_method
.
setConnectionId
(
sql_method
.
connection_id
)
erp5_sql_method
.
setSrc
(
sql_method
.
src
)
...
...
@@ -1781,6 +1780,10 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
erp5_sql_method
.
setClassFile
(
sql_method
.
class_file_
)
erp5_sql_method
.
setClassName
(
sql_method
.
class_name_
)
# Update argument at last cause this will update other attributes by
# calling manage_edit for SQLMethod in ZRDB.DA
erp5_sql_method
.
_setArgument
(
sql_method
.
arguments_src
)
# Delete sql_method object from erp5_catalog and update the Id of
# erp5_catalog_object with the Id of sql_method
#erp5_catalog._delOb(id=method_id)
...
...
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