feat: Implement modular plugin architecture
- Convert invcount to self-contained module - Add Module Manager for install/uninstall - Create module_registry database table - Support hot-reloading of modules - Move data imports into invcount module - Update all templates and routes to new structure Version bumped to 0.16.0
This commit is contained in:
20
modules/conssheets/__init__.py
Normal file
20
modules/conssheets/__init__.py
Normal file
@@ -0,0 +1,20 @@
|
||||
"""
|
||||
Consumption Sheets Module
|
||||
Handles production lot tracking and consumption reporting
|
||||
"""
|
||||
from flask import Blueprint
|
||||
|
||||
def create_blueprint():
|
||||
"""Create and return the conssheets blueprint"""
|
||||
bp = Blueprint(
|
||||
'conssheets',
|
||||
__name__,
|
||||
template_folder='templates',
|
||||
url_prefix='/conssheets'
|
||||
)
|
||||
|
||||
# Import and register routes
|
||||
from .routes import register_routes
|
||||
register_routes(bp)
|
||||
|
||||
return bp
|
||||
Reference in New Issue
Block a user