更新site plan字段
This commit is contained in:
parent
f701a46563
commit
148373eea0
@ -3,7 +3,6 @@
|
|||||||
"allow_rename": 1,
|
"allow_rename": 1,
|
||||||
"autoname": "Prompt",
|
"autoname": "Prompt",
|
||||||
"creation": "2022-01-28 20:07:37.055861",
|
"creation": "2022-01-28 20:07:37.055861",
|
||||||
"pagetype": "PageType",
|
|
||||||
"editable_grid": 1,
|
"editable_grid": 1,
|
||||||
"engine": "InnoDB",
|
"engine": "InnoDB",
|
||||||
"field_order": [
|
"field_order": [
|
||||||
@ -88,8 +87,7 @@
|
|||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Price (USD)",
|
"label": "Price (USD)",
|
||||||
"options": "USD",
|
"options": "USD"
|
||||||
"reqd": 1
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"depends_on": "eval:pg.document_type == 'Site'",
|
"depends_on": "eval:pg.document_type == 'Site'",
|
||||||
@ -241,12 +239,13 @@
|
|||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-07-12 13:36:14.737846",
|
"modified": "2025-04-20 20:46:00.570720",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Jcloud",
|
"module": "Jcloud",
|
||||||
"name": "Site Plan",
|
"name": "Site Plan",
|
||||||
"naming_rule": "Set by user",
|
"naming_rule": "Set by user",
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
|
"pagetype": "PageType",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
{
|
{
|
||||||
"create": 1,
|
"create": 1,
|
||||||
@ -280,6 +279,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
|
"row_format": "Dynamic",
|
||||||
"sort_field": "price_usd",
|
"sort_field": "price_usd",
|
||||||
"sort_order": "ASC",
|
"sort_order": "ASC",
|
||||||
"states": [],
|
"states": [],
|
||||||
|
|||||||
@ -16,16 +16,11 @@ class SitePlan(Plan):
|
|||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
|
from jcloud.jcloud.pagetype.site_plan_allowed_app.site_plan_allowed_app import SitePlanAllowedApp
|
||||||
|
from jcloud.jcloud.pagetype.site_plan_release_group.site_plan_release_group import SitePlanReleaseGroup
|
||||||
from jingrow.core.pagetype.has_role.has_role import HasRole
|
from jingrow.core.pagetype.has_role.has_role import HasRole
|
||||||
from jingrow.types import DF
|
from jingrow.types import DF
|
||||||
|
|
||||||
from jcloud.jcloud.pagetype.site_plan_allowed_app.site_plan_allowed_app import (
|
|
||||||
SitePlanAllowedApp,
|
|
||||||
)
|
|
||||||
from jcloud.jcloud.pagetype.site_plan_release_group.site_plan_release_group import (
|
|
||||||
SitePlanReleaseGroup,
|
|
||||||
)
|
|
||||||
|
|
||||||
allow_downgrading_from_other_plan: DF.Check
|
allow_downgrading_from_other_plan: DF.Check
|
||||||
allowed_apps: DF.Table[SitePlanAllowedApp]
|
allowed_apps: DF.Table[SitePlanAllowedApp]
|
||||||
cluster: DF.Link | None
|
cluster: DF.Link | None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user