@steedos/standard-object-database 2.7.0-beta.12 → 2.7.0-beta.15
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.
package/main/default/objectTranslations/object_fields.en/object_fields.en.objectTranslation.yml
CHANGED
|
@@ -169,7 +169,7 @@ fields:
|
|
|
169
169
|
description:
|
|
170
170
|
auto_fill_mapping:
|
|
171
171
|
label: Auto Fill Mapping
|
|
172
|
-
help:
|
|
172
|
+
help: In a form, after you fill in one field, other fields are automatically filled according to preset rules. For example, in the New Payment history form, after selecting a contract, the amount of the contract is automatically filled into the payment amount field.
|
|
173
173
|
description:
|
|
174
174
|
auto_fill_mapping.$:
|
|
175
175
|
label: Auto Fill Mapping
|
|
@@ -587,11 +587,16 @@ fields:
|
|
|
587
587
|
}else if (fromField) {
|
|
588
588
|
currentFilter.push(['type', 'in', fieldFilters[fromField.type] || fromField.type.split()]);
|
|
589
589
|
if (fromField.type == "lookup" || fromField.type == "master_detail") {
|
|
590
|
-
if
|
|
591
|
-
currentFilter.push(['reference_to', '=',
|
|
590
|
+
if(fromField.reference_to === "users"){
|
|
591
|
+
currentFilter.push([['reference_to', '=', "users"],"or", ['reference_to', '=', "space_users"]]);
|
|
592
592
|
}
|
|
593
|
-
|
|
594
|
-
|
|
593
|
+
else{
|
|
594
|
+
if (fromField.reference_to) {
|
|
595
|
+
currentFilter.push(['reference_to', '=', fromField.reference_to]);
|
|
596
|
+
}
|
|
597
|
+
if (fromField.reference_to_field) {
|
|
598
|
+
currentFilter.push(['reference_to_field', '=', fromField.reference_to_field]);
|
|
599
|
+
}
|
|
595
600
|
}
|
|
596
601
|
}
|
|
597
602
|
}
|
|
@@ -964,6 +969,8 @@ list_views:
|
|
|
964
969
|
- readonly
|
|
965
970
|
- is_system
|
|
966
971
|
- is_customize
|
|
972
|
+
extra_columns:
|
|
973
|
+
- reference_to #GraphQL查询对象字段时,如果过滤条件中有按reference_to过滤,要查询返回的字段不配置reference_to的话过滤结果不对,解决了#6649
|
|
967
974
|
sort:
|
|
968
975
|
- field_name: sort_no
|
|
969
976
|
order: asc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-object-database",
|
|
3
|
-
"version": "2.7.0-beta.
|
|
3
|
+
"version": "2.7.0-beta.15",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"description": "steedos package",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@steedos-widgets/amis-lib": "^1.0.22",
|
|
15
|
-
"@steedos/metadata-core": "2.7.0-beta.
|
|
16
|
-
"@steedos/standard-objects": "2.7.0-beta.
|
|
15
|
+
"@steedos/metadata-core": "2.7.0-beta.15",
|
|
16
|
+
"@steedos/standard-objects": "2.7.0-beta.15"
|
|
17
17
|
},
|
|
18
18
|
"repository": {},
|
|
19
19
|
"license": "MIT",
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "c1913615a0a0b12e3fd943346d5cf535506577d5"
|
|
21
21
|
}
|