Skip to content

Commit

Permalink
Merge pull request #81 from acsone/use-readme-for-acsone-addons-too-sbi
Browse files Browse the repository at this point in the history
Use summary + README for non-OCA addons too
  • Loading branch information
sbidoul authored Sep 23, 2024
2 parents 1d848e7 + 9c7a512 commit ab5be16
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
13 changes: 11 additions & 2 deletions bobtemplates/odoo/addon/+addon.name+/README.rst.bob
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

{{{ addon.summary }}}

Purpose
=======

This module does this and that...

Explain the use case.

Configuration
=============

Expand All @@ -21,5 +28,7 @@ To use this module, you need to:
#. Go to ...


Changelog
=========
How to test
===========

...
8 changes: 1 addition & 7 deletions bobtemplates/odoo/addon/+addon.name+/__openerp__.py.bob
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@

{
'name': '{{{ addon.name_camelwords }}}',
{{% if addon.oca %}}
'summary': """
{{{ addon.summary }}}""",
{{% else %}}
'description': """
{{{ addon.summary }}}""",
{{% endif %}}
'summary': """{{{ addon.summary }}}""",
'version': '{{{ addon.version }}}',
'license': 'AGPL-3',
'author': '{{{ copyright.name }}}{{% if addon.oca %}},Odoo Community Association (OCA){{% endif %}}',
Expand Down

0 comments on commit ab5be16

Please sign in to comment.