Coverage for src/backend/InvenTree/build/events.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-07 17:47 +0000

1"""Event definitions and triggers for the build app.""" 

2 

3from generic.events import BaseEventEnum 

4 

5 

6class BuildEvents(BaseEventEnum): 

7 """Event enumeration for the Build app.""" 

8 

9 # Build order events 

10 HOLD = 'build.hold' 

11 ISSUED = 'build.issued' 

12 CANCELLED = 'build.cancelled' 

13 COMPLETED = 'build.completed' 

14 OVERDUE = 'build.overdue_build_order' 

15 

16 STOCK_REQUIRED = 'build.stock_required' 

17 

18 # Build output events 

19 OUTPUT_CREATED = 'buildoutput.created' 

20 OUTPUT_COMPLETED = 'buildoutput.completed'