diff --git a/addons/base_module_publish/base_module_publish_wizard.xml b/addons/base_module_publish/base_module_publish_wizard.xml index 0c2a13007a2..6dc2238aa41 100644 --- a/addons/base_module_publish/base_module_publish_wizard.xml +++ b/addons/base_module_publish/base_module_publish_wizard.xml @@ -10,7 +10,7 @@ diff --git a/addons/base_module_publish/wizard/base_module_publish.py b/addons/base_module_publish/wizard/base_module_publish.py index 1cfaab61815..8fe4422e8aa 100644 --- a/addons/base_module_publish/wizard/base_module_publish.py +++ b/addons/base_module_publish/wizard/base_module_publish.py @@ -41,14 +41,15 @@ intro_form = ''' ''' intro_fields = { - 'text': {'string':'Introduction', 'type':'text', 'readonly':True, 'default': lambda *args: """ + 'text': {'string':'Introduction', 'type':'text', 'readonly':True, + 'default': lambda *args: """ This system will automatically publish the selected module to the Tiny ERP official website. You can use it to quickly publish a new module or update an existing one (new version). Make sure you read the publication manual and modules guidelines before continuing: - http://tinyerp.com + http://www.tinyerp.com Thank you for contributing ! """}, @@ -67,59 +68,69 @@ check_form = '''
- - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + ''' check_fields = { 'name': {'string':'Name', 'type':'char', 'size':64, 'readonly':True}, - 'shortdesc': {'string':'Small description', 'type':'char', 'size':200, 'readonly':True}, + 'shortdesc': {'string':'Small description', 'type':'char', 'size':200, + 'readonly':True}, 'author': {'string':'Author', 'type':'char', 'size':128, 'readonly':True}, 'website': {'string':'Website', 'type':'char', 'size':200, 'readonly':True}, 'url': {'string':'Download URL', 'type':'char', 'size':200, 'readonly':True}, - 'image': {'string':'Image file', 'type':'image'}, + 'image': {'string':'Image file', 'type':'image', 'help': 'support only .png files'}, 'description': {'string':'Description', 'type':'text', 'readonly':True}, 'version': {'string':'Version', 'type':'char', 'readonly':True}, - 'demourl': {'string':'Demo URL', 'type':'char', 'size':128}, - 'docurl': {'string':'Documentation URL', 'type':'char', 'size':128}, + 'demourl': {'string':'Demo URL', 'type':'char', 'size':128, + 'help': 'empty to keep existing value'}, + 'docurl': {'string':'Documentation URL', 'type':'char', 'size':128, + 'help': 'Empty to keep existing value'}, 'category': {'string':'Category', 'type':'selection', 'size':64, 'required':True, - 'selection': _get_selection - }, - 'licence': { + 'selection': _get_selection}, + 'license': { 'string':'Licence', 'type':'selection', 'size':64, 'required':True, - 'selection': [('GPL', 'GPL'), ('Other proprietary','Other proprietary')], - 'default': lambda *args: 'GPL' + 'selection': [('GPL-2', 'GPL-2'), ('Other proprietary','Other proprietary')], + 'default': lambda *args: 'GPL-2' }, + 'include_src': {'string': 'Include source', 'type': 'boolean', + 'default': lambda *a: True}, 'operation': { 'string':'Operation', 'type':'selection', 'readonly':True, 'selection':[('0','Creation'),('1','Modification')], }, - 'url_download': {'string':'Download URL', 'type':'char', 'size':128}, + 'url_download': {'string':'Download URL', 'type':'char', 'size':128, + 'help': 'Keep empty for an auto upload of the module'}, } upload_info_form = '''
-