Welcome!

Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
47 Views

Hey Cyllo users! Best place to learn about Cyllo's module structure? Any good tutorials or docs out there?

Avatar
Discard

Here's a possible module structure for an Odoo module. This organization helps keep things clean and maintainable. 
my_module/

├── __init__.py

├── __manifest__.py

├── models/

│   ├── __init__.py

│   ├──example_report.py

│   └── my_module.py

├── controllers/

│   ├── __init__.py

│   ├── example_controller.py

│   └──xlsx_controller.py

├── views/

│   ├── assets.xml 

│   ├── product_category_views.xml

│   ├── menus.xml

│   └── templates.xml              

├── security/

│   ├── ir.model.access.csv              

│   ├── groups.xml                       

│   └── ir_rules.xml     

├── data/

│   ├── demo_data.xml                    

│   ├── ir_sequence_data.xml           

│   ├── ir_cron_actions.xml             

│   └── base_automation_actions.xml     

├── report/

│   ├──__init__.py

│   ├──example_report_wizard.py

│   ├── report_example_template.xml    

│   └── report_actions.xml      

├── wizard/

│   ├──__init__.py

│   ├──example_batch_update_wizard_view.xml    

│   └── example_batch_update_wizard.py   

└── static/

    ├── description/

    │   └── icon.png

    └── src/

        ├── js/

        │   ├── xlsx_report.js

        │   └── script.js 

        └── xml/

            └── website_template.xml


Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!