"""Module manifest — see core/modules/model.py and APPS_PLATFORM §4.""" from core.modules.model import DeviceApp, Limit, Module, Mount, Perm, SettingDef MODULE = Module( key='customer_display', kind='app', name='Customer display', description='Screen facing the customer at a counter POS: the sale, the total, the change, and an idle screen the venue designs (plan step 3.4).', depends=('pos_counter',), permissions=( Perm('customer_display.manage', 'Set up the customer display (idle screen, images)', roles=('owner', 'store_manager')), ), limits=( Limit('devices', 'Number of customer displays', free=0, licensed_default=1), ), settings=( SettingDef('customer_display.idle', '{}', 'What customer displays show between sales: style (name, logo, name_logo, blank, image, slideshow, qr), message, images, slide seconds, QR target, theme. Edited in Settings > Customer display.', type='json'), ), routers=( Mount('routers.customer_display', '/api/display'), ), device_app=DeviceApp(login_modes=('none',), scope=()), )