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

[FIX] module_prototyper: fix typo in tests.

[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 ed68995 commit d741319
Show file tree
Hide file tree
Showing 34 changed files with 881 additions and 660 deletions.
45 changes: 45 additions & 0 deletions prototype/README.rst → module_prototyper/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,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.

File renamed without changes.
9 changes: 4 additions & 5 deletions prototype/__openerp__.py → module_prototyper/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,23 @@
##############################################################################

{
'name': 'Prototype',
'version': '0.1',
'name': 'Module Prototyper',
'version': '0.3',
'author': 'Savoir-faire Linux',
'maintainer': 'Savoir-faire Linux',
'website': 'http://www.savoirfairelinux.com',
'license': 'AGPL-3',
'category': 'Others',
'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',
],
Expand Down
Loading

0 comments on commit d741319

Please sign in to comment.