mr.bob templates for Odoo projects
Project description
bobtemplates.odoo is a set of mr.bob templates to use when developing Odoo addons.
It provides the following templates:
addon: an addon skeletton, with optional OCA README and icon
model: an Odoo model with accompanying form, tree, action, menu, demo data and ACL
test: a test class
The following are candidates (pull requests welcome):
report
controller
wizard
widget
Install
pip install bobtemplates.odoo
Quickstart
CAUTION: it is recommanded to backup or vcs commit your current directory before running these commands, so you can easily see what has been generated and/or changed.
Create a new addon in the current directory:
mrbob bobtemplates.odoo:addon
Now go to the newly created addon directory and run this to add a new model, with associated views, demo data, and acl:
mrbob bobtemplates.odoo:model
Add a test class:
mrbob bobtemplates.odoo:test
Tip: read the mr.bob user guide. In particular it explain how to set default values to avoid retyping the same answers at each run (such as the copyright author).
Useful links
pypi page: https://pypi-hypernode.com/pypi/bobtemplates.odoo
code repository: https://github.com/acsone/bobtemplates.odoo
report issues at: https://github.com/acsone/bobtemplates.odoo/issues
Credits
Author:
Stéphane Bidoul (ACSONE)
Inspired by https://github.com/plone/bobtemplates.plone.
Contributors:
Maintainer
This module is maintained by ACSONE SA/NV.
Changes
1.0.0b2 (2016-06-17)
addon template: add optional OCA mode (author, README.rst and icon.svg)
model template: improve order of import in the model file
model template: avoid to set ir.model.access data as non updatable record
1.0.0b1 (2016-06-16)
add post render message inviting the user to add the generated xml files in __openerp__.py data section
auto add model import to models/__init__.py
many improvements and fixes to the model template (views, security, demo data, and more)
addon template
test template
tests (with tox and travis)
1.0.0a2 (2016-06-15)
fix broken namespace package distribution
1.0.0a1 (2016-06-15)
first version, very rough template for an Odoo model with view
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bobtemplates.odoo-1.0.0b2.tar.gz
.
File metadata
- Download URL: bobtemplates.odoo-1.0.0b2.tar.gz
- Upload date:
- Size: 35.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c3df383a31bb1ed51e6cf167f77e482aa0715261325e19f2fb2584522fcca69 |
|
MD5 | 65cd5ac3f6c1b621319401e424baf498 |
|
BLAKE2b-256 | 829a1359054c288a5b226c8544deba2138b7da51110cee9469d81be42c060aff |
File details
Details for the file bobtemplates.odoo-1.0.0b2-py2-none-any.whl
.
File metadata
- Download URL: bobtemplates.odoo-1.0.0b2-py2-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dae53bc785fb918c0b8bfecf113f5c5700d2fc651ec053668b90a6dfa761572 |
|
MD5 | 03bd8789ca9c23a6f711235172bcb5d3 |
|
BLAKE2b-256 | 4b849614d294ea0f82bdcd90ff13a560620287047d894a2577ac6855ef4f273b |