@steedos/standard-object-database 2.3.0-beta.35 → 2.3.0-beta.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -323,12 +323,20 @@ fields:
|
|
|
323
323
|
type: number
|
|
324
324
|
scale: 0
|
|
325
325
|
defaultValue: 5
|
|
326
|
+
is_system:
|
|
327
|
+
type: boolean
|
|
328
|
+
label: System
|
|
329
|
+
# omit: true
|
|
330
|
+
readonly: true
|
|
331
|
+
visible_on: "{{global.mode ==='read' ? true : false}}"
|
|
332
|
+
disabled: true
|
|
326
333
|
list_views:
|
|
327
334
|
all:
|
|
328
335
|
columns:
|
|
329
336
|
- label
|
|
330
337
|
- object_name
|
|
331
338
|
- profiles
|
|
339
|
+
- is_system
|
|
332
340
|
label: All
|
|
333
341
|
filter_scope: space
|
|
334
342
|
actions:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: baozhoutao@steedos.com
|
|
3
3
|
* @Date: 2022-03-28 09:35:34
|
|
4
4
|
* @LastEditors: baozhoutao@steedos.com
|
|
5
|
-
* @LastEditTime: 2022-
|
|
5
|
+
* @LastEditTime: 2022-10-27 15:49:00
|
|
6
6
|
* @Description:
|
|
7
7
|
*/
|
|
8
8
|
module.exports = {
|
|
@@ -34,7 +34,7 @@ module.exports = {
|
|
|
34
34
|
return Creator.baseObject.actions.standard_new.visible() && record.is_system;
|
|
35
35
|
},
|
|
36
36
|
copy: function(object_name, record_id){
|
|
37
|
-
let newRecord = _.clone(Creator.getListView(Session.get("object_name"), record_id));
|
|
37
|
+
let newRecord = null; // _.clone(Creator.getListView(Session.get("object_name"), record_id));
|
|
38
38
|
if(!newRecord){
|
|
39
39
|
let doc = Creator.odata.get(object_name, record_id);
|
|
40
40
|
if(!doc.columns || !doc.columns.length){
|
|
@@ -84,7 +84,6 @@ module.exports = {
|
|
|
84
84
|
data._filters_function = data.filters;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
|
|
88
87
|
Steedos.Page.Form.StandardNew.render(Session.get("app_id"), 'object_listviews', t("creator_list_copy_list_view"), data, {});
|
|
89
88
|
},
|
|
90
89
|
copyVisible: function(object_name, record_id, record_permissions, record){
|
|
@@ -273,6 +273,13 @@ fields:
|
|
|
273
273
|
type: number
|
|
274
274
|
scale: 0
|
|
275
275
|
defaultValue: 100
|
|
276
|
+
is_system:
|
|
277
|
+
type: boolean
|
|
278
|
+
label: System
|
|
279
|
+
# omit: true
|
|
280
|
+
readonly: true
|
|
281
|
+
visible_on: "{{global.mode ==='read' ? true : false}}"
|
|
282
|
+
disabled: true
|
|
276
283
|
paging:
|
|
277
284
|
enabled: false
|
|
278
285
|
list_views:
|
|
@@ -283,6 +290,7 @@ list_views:
|
|
|
283
290
|
- shared
|
|
284
291
|
- owner
|
|
285
292
|
- modified
|
|
293
|
+
- is_system
|
|
286
294
|
label: All List View
|
|
287
295
|
filter_scope: space
|
|
288
296
|
actions:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-object-database",
|
|
3
|
-
"version": "2.3.0-beta.
|
|
3
|
+
"version": "2.3.0-beta.37",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"description": "steedos package",
|
|
13
13
|
"repository": {},
|
|
14
14
|
"license": "MIT",
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "5e1dc58290142d1d7deb0fbe2e171d79c5029cdd"
|
|
16
16
|
}
|