27 lines
946 B
Python
27 lines
946 B
Python
{
|
|
'name': 'POS IndexedDB Patch',
|
|
'version': '19.0.1.0.0',
|
|
'category': 'Technical',
|
|
'summary': 'Patches IndexedDB Logger connection issues in bus worker and main thread',
|
|
'description': """
|
|
This module patches the Logger class inside the bus module to handle IndexedDB connection closures gracefully, preventing POS crashes when the browser suspends/hibernates database connections.
|
|
""",
|
|
'author': 'Suherdy Yacob',
|
|
'depends': ['bus', 'point_of_sale'],
|
|
'data': [],
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'pos_indexeddb_patch/static/src/workers/patch_logger.js',
|
|
],
|
|
'web.assets_frontend': [
|
|
'pos_indexeddb_patch/static/src/workers/patch_logger.js',
|
|
],
|
|
'bus.websocket_worker_assets': [
|
|
'pos_indexeddb_patch/static/src/workers/patch_logger.js',
|
|
],
|
|
},
|
|
'installable': True,
|
|
'auto_install': False,
|
|
'license': 'LGPL-3',
|
|
}
|