Set of tools for Odoo development
This package inspect Odoo source code to build a db of features for easy search.
f.elhelm- Python 2
Clone this repo somewhere
(add-to-list 'load-path "path where the repo was cloned")
(setq odootools-addons-path "path to odoo addons folder")
(require 'odootools)- 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
Require yasnippets package
omodel: Expand a model definitionoimodel: Expand a inherit model definitionotmodel: Expand a transient model definition
- Go to view line after open buffer
- Add snippets for python mode
- Add snippets for xml mode
- Find Odoo models by model ID