[erp5_officejs_appstore_base] Drop appstore action from the software publication module
And so, simplify the code logic, as product is always created before the publication
Showing
return context.ERP5Site_createNewSoftwarePublication( | portal = context.getPortalObject() | ||
file=file, | |||
# Create the software product | |||
software_product = portal.software_product_module.newContent( | |||
portal_type="Software Product", | |||
product_line="software/application", | product_line="software/application", | ||
title=title, | title=title, | ||
version_title= str(DateTime()), | |||
changelog="", | |||
description=description, | description=description, | ||
**kw | source_value=portal.ERP5Site_getAuthenticatedMemberPersonValue() | ||
|
|||
) | ) | ||
return software_product.SoftwareProduct_updateApplication(file, changelog=description) |