Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
5657 Ansichten

can anybody help me or provide the complete steps of creating module in odoo 11 using eclipse latest version. because usually you just put the folder to eclipse-workspace and restart the module using terminal. odoo 11 is completely different. can anyone help me

Avatar
Verwerfen

Creating module in odoo: https://goo.gl/cgJZr7

Module Structure: https://goo.gl/cPZ6gM

Beste Antwort

Regardless of your IDE, creating module is not different from IDE to another and you should create your new module in the addons folder in Odoo 11 folder.

The below standard structure should be followed:

my_module
├── __init__.py
├── __manifest__.py
├── controllers
│   ├── __init__.py
│   └── controllers.py
├── demo
│   └── demo.xml
├── models
│   ├── __init__.py
│   └── models.py
├── security
│   └── ir.model.access.csv
└── views
    ├── templates.xml
    └── views.xml

You can use scaffold to create the above structure automatically:

Scaffold

Here you are the link for creating module:

​https://www.odoo.com/documentation/11.0/howtos/backend.html

The difference when you are using IDE like pycharm of eclips you can start/stop/restart the odoo service from the IDE.

Avatar
Verwerfen
Autor

i will give you best example. let say i want to edit the account module. how it would be in eclipse?

There is step by step guide to creating a new module from scratch http://learnopenerp.blogspot.com/2016/03/how-to-create-and-install-modules-in.html