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
- Host: GitHub
- URL: https://github.com/erickgnavar/odootools
- Owner: erickgnavar
- License: mit
- Created: 2017-01-23T22:32:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-24T15:55:53.000Z (over 9 years ago)
- Last Synced: 2025-01-30T15:41:22.768Z (over 1 year ago)
- Topics: emacs, odoo-development, snippets
- Language: Emacs Lisp
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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