Conversation
| 'name': 'Module Prototyper', | ||
| 'version': '9.0.0.1.0', | ||
| 'author': 'Savoir-faire Linux, Odoo Community Association (OCA), Sudokeys', | ||
| 'version': '10.0.0.1.0', |
| Module name | ||
| =========== | ||
| ============== | ||
| {module_title} |
There was a problem hiding this comment.
@moylop260 : this README is a template, no change is required here
| '__openerp__.py', | ||
| '__openerp__.py.template', | ||
| fn_inc_ext , | ||
| '{}.template'.format(fn_inc_ext), |
There was a problem hiding this comment.
u'{}.template''.format...
To avoid a ascii error similar to OCA/manufacture#146
Or apply %()s:
https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md#idioms
Prefer % over .format(), prefer %(varname) instead of positional. This is better for translation and clarity.
| _name = 'module_prototyper.api_version' | ||
|
|
||
| name = fields.Char( | ||
| string='Name' |
There was a problem hiding this comment.
If the technical name of the field (the variable name) is the same to the string of the label, don't put string parameter for new API fields, because it's automatically taken. If your variable name contains "_" in the name, they are converted to spaces when creating the automatic string and each word is capitalized. (example: old api 'name': fields.char('Name', ...) new api 'name': fields.Char(...))
https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md#fields
|
@moylop260 Thanks for your feedback, really helpful! But the first comment "Real name" I don't quite understand. Can you explain this to me, please? |
* [ADD] Updated manifest and README * [ADD] Version 10.0 template and api_version model * [ADD] Updated license header, updated api call * [FIX] Flake * [FIX] Flake * [FIX] Tests * [FIX] Flake8 * [ADD] Extra test for changed method 'set_jinja_env' * [FIX] Fixed 'Try me on runbot' button
* [ADD] Updated manifest and README * [ADD] Version 10.0 template and api_version model * [ADD] Updated license header, updated api call * [FIX] Flake * [FIX] Flake * [FIX] Tests * [FIX] Flake8 * [ADD] Extra test for changed method 'set_jinja_env' * [FIX] Fixed 'Try me on runbot' button
* [ADD] Updated manifest and README * [ADD] Version 10.0 template and api_version model * [ADD] Updated license header, updated api call * [FIX] Flake * [FIX] Flake * [FIX] Tests * [FIX] Flake8 * [ADD] Extra test for changed method 'set_jinja_env' * [FIX] Fixed 'Try me on runbot' button
* [ADD] Updated manifest and README * [ADD] Version 10.0 template and api_version model * [ADD] Updated license header, updated api call * [FIX] Flake * [FIX] Flake * [FIX] Tests * [FIX] Flake8 * [ADD] Extra test for changed method 'set_jinja_env' * [FIX] Fixed 'Try me on runbot' button
* [ADD] Updated manifest and README * [ADD] Version 10.0 template and api_version model * [ADD] Updated license header, updated api call * [FIX] Flake * [FIX] Flake * [FIX] Tests * [FIX] Flake8 * [ADD] Extra test for changed method 'set_jinja_env' * [FIX] Fixed 'Try me on runbot' button
* [ADD] Updated manifest and README * [ADD] Version 10.0 template and api_version model * [ADD] Updated license header, updated api call * [FIX] Flake * [FIX] Flake * [FIX] Tests * [FIX] Flake8 * [ADD] Extra test for changed method 'set_jinja_env' * [FIX] Fixed 'Try me on runbot' button
* [ADD] Updated manifest and README * [ADD] Version 10.0 template and api_version model * [ADD] Updated license header, updated api call * [FIX] Flake * [FIX] Flake * [FIX] Tests * [FIX] Flake8 * [ADD] Extra test for changed method 'set_jinja_env' * [FIX] Fixed 'Try me on runbot' button
Syncing from upstream OCA/server-tools (13.0)
No description provided.