Skip to content

Commit

Permalink
[FIX] Default license
Browse files Browse the repository at this point in the history
[IMP] Add OCA as an author

[IMP] Add Bug Tracker section in description

[IMP] Update description template

[ADD] Initial version of prototype

[IMP] Add wizard for API version and templates. Update translation file

[ADD] Security template files

[ADD] Filters for data and demo data
  • Loading branch information
Maxime Chambreuil committed Oct 9, 2015
1 parent 2eebf02 commit 83855cc
Show file tree
Hide file tree
Showing 36 changed files with 1,370 additions and 7 deletions.
12 changes: 9 additions & 3 deletions module_prototyper/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ You will get a zip file containing your module ready to be installed and complia
conventions of the OCA. You can then provide the module to a developer who have to implement
things like default values or onchange methods.

Known issues / Roadmap
======================
Roadmap
=======

* `#104`_ - Include controllers.py and templates.xml from scaffold.
* Attach images to the prototype and export them to be used in the 'images' module manifest.
Expand All @@ -52,7 +52,13 @@ Known issues / Roadmap

.. _#104: https://github.com/OCA/server-tools/issues/104

Please report any idea or issue to https://github.com/OCA/server-tools/issues.
Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/server-tools/issues/new?body=module:%20module_prototyper%0Aversion:%200.3%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======
Expand Down
2 changes: 1 addition & 1 deletion module_prototyper/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
'name': 'Module Prototyper',
'version': '0.3',
'author': 'Savoir-faire Linux',
'author': 'Savoir-faire Linux, Odoo Community Association (OCA)',
'maintainer': 'Savoir-faire Linux',
'website': 'http://www.savoirfairelinux.com',
'license': 'AGPL-3',
Expand Down
12 changes: 10 additions & 2 deletions module_prototyper/models/default_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,19 @@
* https://www.odoo.com/forum/help-1
Known issues / Roadmap
======================
Roadmap
=======
* ...
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/{project_repo}/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/{project_repo}/issues/new?body=module:%20{module_name}%0Aversion:%20{version}%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
Expand Down
2 changes: 1 addition & 1 deletion module_prototyper/models/module_prototyper.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ModulePrototyper(models.Model):
('Other proprietary', 'Other Proprietary')
],
string='License',
default=licenses.AGPL3_L,
default=licenses.AGPL3,
)
name = fields.Char(
'Technical Name', required=True,
Expand Down
25 changes: 25 additions & 0 deletions prototype/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2010 - 2014 Savoir-faire Linux
# (<http://www.savoirfairelinux.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from . import (
models,
wizard
)
67 changes: 67 additions & 0 deletions prototype/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2010 - 2014 Savoir-faire Linux
# (<http://www.savoirfairelinux.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

{
'name': 'Prototype',
'version': '0.1',
'author': 'Savoir-faire Linux',
'maintainer': 'Savoir-faire Linux',
'website': 'http://www.savoirfairelinux.com',
'license': 'AGPL-3',
'category': 'Others',
'summary': 'Prototype your module',
'description': """
This module allows the administrator to prototype new features and export
them as module.
Usage
=====
Go to Settings > Modules > Prototype, create a new prototype, fill in the
information and export your module.
Contributors
============
* Maxime Chambreuil <[email protected]>
* Savoir-faire Linux <[email protected]>
More informations
-----------------
* Module developped and tested with Odoo version 8.0
* For questions, please contact our support services \
([email protected])
""",
'depends': [
'base',
],
'external_dependencies': {
'python': [],
},
'data': [
'wizard/prototype_module_export_view.xml',
'views/prototype_view.xml',
'views/ir_model_fields_view.xml',
'security/ir.model.access.csv',
],
'installable': True,
}
Loading

0 comments on commit 83855cc

Please sign in to comment.