- 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
20 lines
454 B
Python
20 lines
454 B
Python
"""
|
|
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 |