An open API service indexing awesome lists of open source software.

https://github.com/erickgnavar/odootools

Emacs tools for Odoo development
https://github.com/erickgnavar/odootools

emacs odoo-development snippets

Last synced: about 1 year ago
JSON representation

Emacs tools for Odoo development

Awesome Lists containing this project

README

          

# Odootools

Set of tools for Odoo development

This package inspect Odoo source code to build a db of features for easy search.

## Dependencies

- `f.el`
- `helm`
- Python 2

## Installation

Clone this repo somewhere

```elisp
(add-to-list 'load-path "path where the repo was cloned")

(setq odootools-addons-path "path to odoo addons folder")

(require 'odootools)
```

## Usage

- For search and insert security group id `odootools-find-group-id`
- For search and insert view id `odootools-find-group-id`
- For search and open view file `odootools-find-view-file`
- For rebuild the db db use `odootools-rebuild-db`

## Snippets

Require `yasnippets` package

- `omodel`: Expand a model definition
- `oimodel`: Expand a inherit model definition
- `otmodel`: Expand a transient model definition

## TODO

- [X] Go to view line after open buffer
- [X] Add snippets for python mode
- [ ] Add snippets for xml mode
- [ ] Find Odoo models by model ID