2.1.0 change model route

This commit is contained in:
SDE
2024-12-05 16:14:07 +03:00
parent b6c56b4890
commit a140ffe523
4 changed files with 100 additions and 25 deletions

View File

@@ -11,8 +11,9 @@ class Admin_Route(Admin_Trans_BaseModel):
'id', 'owner_type',
'rising_DT',
'receive_msg_by_email', 'type_transport', 'cargo_type',
'departure_DT', 'from_city', 'from_place',
'arrival_DT', 'to_city', 'to_place', 'owner',
'departure_DT', 'from_city', #'from_place',
'arrival_DT', 'to_city', #'to_place',
'owner',
'order', 'modifiedDT', 'createDT'
]
list_editable = ['rising_DT']
@@ -23,7 +24,8 @@ class Admin_Route(Admin_Trans_BaseModel):
'owner_type', 'type_transport',
'rising_DT',
'cargo_type',
'from_place', 'arrival_DT',
# 'from_place',
'arrival_DT',
'modifiedDT', 'createDT'
]