Skip to main content

mr.bob templates for Odoo projects

Project description

License: AGPL 3.0 or Later https://badge.fury.io/py/bobtemplates.odoo.svg https://travis-ci.org/acsone/bobtemplates.odoo.svg?branch=master

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
  • wizard: a wizard with transient model, view and action

The following are candidates (pull requests welcome):

  • report
  • controller
  • 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 explains how to set default values to avoid retyping the same answers at each run (such as the copyright author).

Credits

Author:

Inspired by https://github.com/plone/bobtemplates.plone.

Contributors:

  • Adrien Peiffer (ACSONE)
  • Olivier Laurent (ACSONE)
  • Mohamed Cherkaoui
  • Thomas Binsfeld (ACSONE)

Maintainer

ACSONE SA/NV

This module is maintained by ACSONE SA/NV.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tend-odoo, version 0.0.0
Filename, size File type Python version Upload date Hashes
Filename, size tend_odoo-0.0.0-py3-none-any.whl (6.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tend-odoo-0.0.0.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page