/gisce-pycharm-templates

Usefull Templates for PyCharm

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

PyCharm Live Templates for OpenERP

Install

cp GISCE.xml ~/.PyCharmXX/config/templates/
cp gisceTemplates/* ~/.PyCharmXX/config/fileTemplates/

Use

Inside your OpenERP files: XML views, Python files

Press Ctrl + J to insert the template

Existing features:

Python

  • click_erppeek: Click method headers for an erppeek connection
    • Has the $method_name$ parameter, must be a string
    • (i.e.) import_csv_file
  • csv_reading: Adds simple CSV reading from a connection
    • Has the $headers parameter, must be a list of comma separated cuoted values
    • (i.e.) 'column1', 'column2', 'column3'

Files

  • Click_CSV.py: Click script with simple CSV import using custom HEADERS and ERP Peek