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


Download files

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

Source Distribution

odoomaker-0.0.0.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odoomaker-0.0.0-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file odoomaker-0.0.0.tar.gz.

File metadata

  • Download URL: odoomaker-0.0.0.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for odoomaker-0.0.0.tar.gz
Algorithm Hash digest
SHA256 de306041c49948dc7dec3191b6f3c174583165a400b058424fafd98052fe4117
MD5 0c8b9d04820a509e416adc7fc932ea6b
BLAKE2b-256 e6fc1944a0d6adfcb6a9e8dd184e9761ddeb83fb0ab65a4f11cbbcfe39a3367a

See more details on using hashes here.

File details

Details for the file odoomaker-0.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoomaker-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1231628833b851524c9bb5d490232d84f47f9883bc10be2d7d0c2e8cdaf7e3b
MD5 53e047295f90d6c845c07411cf4ecadd
BLAKE2b-256 d281ec82ee1d4aef546a92a5ace430c024257cd1723a5a50d1b400f8b0d8660c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page