diff --git a/fusion-plating/fusion_plating/models/fp_process_node.py b/fusion-plating/fusion_plating/models/fp_process_node.py index 78f2e5bb..b893de95 100644 --- a/fusion-plating/fusion_plating/models/fp_process_node.py +++ b/fusion-plating/fusion_plating/models/fp_process_node.py @@ -104,10 +104,35 @@ class FpProcessNode(models.Model): string='Internal Notes', help='Internal notes (not shown to customers).', ) - icon = fields.Char( + icon = fields.Selection( + [ + ('fa-flask', 'Flask / Chemistry'), + ('fa-industry', 'Industry / Line'), + ('fa-sitemap', 'Sitemap / Process'), + ('fa-wrench', 'Wrench / Operation'), + ('fa-cog', 'Gear / General'), + ('fa-cogs', 'Gears / System'), + ('fa-paint-brush', 'Paint / Masking'), + ('fa-eraser', 'Eraser / De-Masking'), + ('fa-th', 'Grid / Racking'), + ('fa-fire', 'Fire / Bake'), + ('fa-bolt', 'Bolt / Electric'), + ('fa-diamond', 'Diamond / Plating'), + ('fa-tint', 'Tint / Rinse'), + ('fa-shower', 'Shower / Clean'), + ('fa-bullseye', 'Target / Blast'), + ('fa-search', 'Search / Inspect'), + ('fa-check-circle', 'Check / Approve'), + ('fa-clock-o', 'Clock / Wait'), + ('fa-sun-o', 'Sun / Dry'), + ('fa-thermometer-half', 'Temp / Heat'), + ('fa-eye', 'Eye / Visual'), + ('fa-hand-paper-o', 'Hand / Manual'), + ('fa-cube', 'Cube / Part'), + ('fa-shield', 'Shield / Protect'), + ], string='Icon', default='fa-cog', - help='Font Awesome icon class.', ) color = fields.Integer( string='Colour',