mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Add 'CableTypes' (#406)
* Move relevant fields and create migration to autogen cable types * CRUD and ordering * FIX: Prevent creating duplicate cable types * FIX: pep8/remove debug print * FIX: Meta migrations... :> * FIX: Update tests to match new UX * Move cabletype menu links into 'Assets' dropdown * Fix migration * Specify version of reportlab Should fix CI - looks like I went a bit too ham-handed in my requirements.txt purge last time...
This commit is contained in:
@@ -82,12 +82,9 @@ class AssetForm(FormPage):
|
||||
'category': (regions.SingleSelectPicker, (By.ID, 'id_category')),
|
||||
'status': (regions.SingleSelectPicker, (By.ID, 'id_status')),
|
||||
|
||||
'plug': (regions.SingleSelectPicker, (By.ID, 'id_plug')),
|
||||
'socket': (regions.SingleSelectPicker, (By.ID, 'id_socket')),
|
||||
'cable_type': (regions.SingleSelectPicker, (By.ID, 'id_cable_type')),
|
||||
'length': (regions.TextBox, (By.ID, 'id_length')),
|
||||
'csa': (regions.TextBox, (By.ID, 'id_csa')),
|
||||
'circuits': (regions.TextBox, (By.ID, 'id_circuits')),
|
||||
'cores': (regions.TextBox, (By.ID, 'id_cores'))
|
||||
}
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user