Commit 062b9867 authored by Roque's avatar Roque

erp5_officejs_appstore_base: fix update alarm

parent 50b981b5
Pipeline #28326 passed with stage
in 0 seconds
......@@ -10,7 +10,11 @@ i = 0
for software_product in software_product_list:
web_site = software_product.SoftwareProduct_getRelatedWebSite()
version = web_site.getLayoutProperty('configuration_latest_version')
web_section = web_site[version]
try:
web_section = web_site[version]
except KeyError:
# ignore new apps in development version
return
manifest_url = web_section.getLayoutProperty('configuration_webapp_manifest_url', default=None)
# allow to have application without web manifest
if manifest_url is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment