Skip to content

Commit

Permalink
[IMP] prototype: added helper fields and placeholders on new fields.
Browse files Browse the repository at this point in the history
[IMP] prototype: no more bug when no icon, commented no implemented page in the view.

[IMP] prototype: better management of special cases.

[IMP] prototype: prototype.py removed print statement and shadowing of "fields".

[IMP] prototype -> module_prototyper

[IMP] module_prototyper: gathered menuitems that is helpfull to create a prototype under the menu 'Module Prototypes'

[IMP] module_prototyper: more comment and docstrings.

[IMP] module_prototyper: translations.

[FIX] module_prototyper: pep8

[IMP] update module_prototyper:

* pump up the version of the module to 0.3
* replace ir.ui.model by ir.ui.view in generated xml views
* improve pep8 compatibility of generation of models

[IMP] update module_prototyper: update of README with versions.
  • Loading branch information
Jordi Riera authored and Maxime Chambreuil committed Oct 9, 2015
1 parent ab7700f commit 02cc47b
Show file tree
Hide file tree
Showing 53 changed files with 1,543 additions and 1,467 deletions.
4 changes: 2 additions & 2 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.

Roadmap
=======
Known issues / 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 Down
59 changes: 56 additions & 3 deletions prototype/README.rst → module_prototyper/README.rst~HEAD
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 All @@ -63,7 +69,9 @@ Contributors
* David Arnold <[email protected]>
* Jordi Riera <[email protected]>
* Maxime Chambreuil <[email protected]>
* El hadji Dem <[email protected]>
* Savoir-faire Linux <[email protected]>
* Vincent Vinet <[email protected]>

Maintainer
----------
Expand All @@ -77,3 +85,48 @@ 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.

Versions
========

v0.1
----

All the features are not implemented but the minimal is done.
With this version you can:

The set up of openerp.py is covered, description, maintainer, website, name, technical name...
Views and menus can be set through odoo and gathered in prototype. The files will be automatically generated and add to the data section of the openerp.py. Be aware some advanced feature as domain or context might still missing.
Dependencies can be set throught the Dependency page
Custom fields can be added. A file by model will be generated with all the fields of the model. The init.py files are updated accordingly. Be aware that some features are not implemented yet, as the domain, the context.

This version should be enought for:

set up the client module
create a new field in a view.

Features that you might expect in next version:

better generation of fields (many2many fields, domain, context)
Generation of data and demo data files.
Security files (rules, ir.model.access.csv)
openerp's description editing README.rst and index.html
module screenshots

v0.2
----

Renamed from prototype to module_prototyper as discussed in #108
menu in Settings that gather element used to create a prototype (menu views, views, fields)

v0.3
----
Replace ir.ui.model by ir.ui.view in generated xml views
Improve pep8 compatibility of generation of models


Known bugs
----------

icon file extension might be wrong. The extension is hard coded for now. It is planned add Document as dependency to handle it.

2 changes: 1 addition & 1 deletion module_prototyper/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'website': 'http://www.savoirfairelinux.com',
'license': 'AGPL-3',
'category': 'Others',
'summary': 'Prototype your module.',
'summary': 'Prototype your module',
'depends': [
'admin_technical_features',
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,26 @@
##############################################################################

{
'name': 'Prototype',
'version': '0.1',
'author': 'Savoir-faire Linux',
'name': 'Module Prototyper',
'version': '0.3',
'author': 'Savoir-faire Linux, Odoo Community Association (OCA)',
'maintainer': 'Savoir-faire Linux',
'website': 'http://www.savoirfairelinux.com',
'license': 'AGPL-3',
'category': 'Others',
'summary': 'Prototype your module',
'summary': 'Prototype your module.',
'depends': [
'base',
'admin_technical_features',
],
'external_dependencies': {
'python': [],
},
'data': [
'wizard/prototype_module_export_view.xml',
'views/prototype_view.xml',
'wizard/module_prototyper_module_export_view.xml',
'views/module_prototyper_view.xml',
'views/ir_model_fields_view.xml',
'security/ir.model.access.csv',
],
'installable': True,
'application': True,
}
10 changes: 5 additions & 5 deletions module_prototyper/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ msgstr "Groupes"
#. module: module_prototyper
#: field:ir.model.fields,helper:0
msgid "Helper"
msgstr "Texte d'aide"
msgstr "Texte d'aider"

#. module: module_prototyper
#: view:module_prototyper.module.export:module_prototyper.view_module_export_wizard
Expand Down Expand Up @@ -189,8 +189,8 @@ msgstr "Mis à jour le"

#. module: module_prototyper
#: field:module_prototyper,licence:0
msgid "License"
msgstr "Licence"
msgid "Licence"
msgstr ""

#. module: module_prototyper
#: field:module_prototyper,maintainer:0
Expand Down Expand Up @@ -230,8 +230,8 @@ msgstr ""

#. module: module_prototyper
#: field:ir.model.fields,notes:0
msgid "Notes to developers"
msgstr "Notes aux développeurs"
msgid "Notes to developers."
msgstr "Notes aux développeurs."

#. module: module_prototyper
#: view:ir.model.fields:module_prototyper.view_ir_model_fields_form
Expand Down
Loading

0 comments on commit 02cc47b

Please sign in to comment.