[UPD] Add a new file for default value decription field
parent
aeb05be280
commit
d44e189797
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_DESCRIPTION = """
|
DEFAULT_DESCRIPTION = """
|
||||||
|
===========
|
||||||
Module name
|
Module name
|
||||||
===========
|
===========
|
||||||
|
|
||||||
|
@ -49,6 +50,13 @@ To use this module, you need to:
|
||||||
|
|
||||||
* go to ...
|
* go to ...
|
||||||
|
|
||||||
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||||
|
:alt: Try me on Runbot
|
||||||
|
:target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch}
|
||||||
|
|
||||||
|
.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
|
||||||
|
.. branch is "8.0" for example
|
||||||
|
|
||||||
For further information, please visit:
|
For further information, please visit:
|
||||||
|
|
||||||
* https://www.odoo.com/forum/help-1
|
* https://www.odoo.com/forum/help-1
|
||||||
|
|
|
@ -85,66 +85,7 @@ class ModulePrototyper(models.Model):
|
||||||
help=('Enter the description of your module, what it does, how to'
|
help=('Enter the description of your module, what it does, how to'
|
||||||
'install, configure and use it, the roadmap or known issues.'
|
'install, configure and use it, the roadmap or known issues.'
|
||||||
'The description will be exported in README.rst'),
|
'The description will be exported in README.rst'),
|
||||||
default="""
|
default=get_default_description
|
||||||
Module name
|
|
||||||
===========
|
|
||||||
|
|
||||||
This module was written to extend the functionality of ... to support ...
|
|
||||||
and allow you to ...
|
|
||||||
|
|
||||||
Installation
|
|
||||||
============
|
|
||||||
|
|
||||||
To install this module, you need to:
|
|
||||||
|
|
||||||
* do this ...
|
|
||||||
|
|
||||||
Configuration
|
|
||||||
=============
|
|
||||||
|
|
||||||
To configure this module, you need to:
|
|
||||||
|
|
||||||
* go to ...
|
|
||||||
|
|
||||||
Usage
|
|
||||||
=====
|
|
||||||
|
|
||||||
To use this module, you need to:
|
|
||||||
|
|
||||||
* go to ...
|
|
||||||
|
|
||||||
For further information, please visit:
|
|
||||||
|
|
||||||
* https://www.odoo.com/forum/help-1
|
|
||||||
|
|
||||||
Known issues / Roadmap
|
|
||||||
======================
|
|
||||||
|
|
||||||
* ...
|
|
||||||
|
|
||||||
Credits
|
|
||||||
=======
|
|
||||||
|
|
||||||
Contributors
|
|
||||||
------------
|
|
||||||
|
|
||||||
* Firsname Lastname <email.address@example.org>
|
|
||||||
|
|
||||||
Maintainer
|
|
||||||
----------
|
|
||||||
|
|
||||||
.. image:: http://odoo-community.org/logo.png
|
|
||||||
:alt: Odoo Community Association
|
|
||||||
:target: http://odoo-community.org
|
|
||||||
|
|
||||||
This module is maintained by the OCA.
|
|
||||||
|
|
||||||
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
||||||
mission is to support the collaborative development of Odoo features and
|
|
||||||
promote its widespread use.
|
|
||||||
|
|
||||||
To contribute to this module, please visit http://odoo-community.org.
|
|
||||||
"""
|
|
||||||
)
|
)
|
||||||
author = fields.Char('Author', required=True, help=('Enter your name'))
|
author = fields.Char('Author', required=True, help=('Enter your name'))
|
||||||
maintainer = fields.Char(
|
maintainer = fields.Char(
|
||||||
|
|
Loading…
Reference in New Issue