Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Odoo Module Builder

Subscribe

Get notified when there's activity on this post

This question has been flagged
modulegenerator
14 Replies
17229 Views
Avatar
Yusnel Rojas Garcia

We are happy to announce Odoo Module Builder (https://github.com/slmoebius/builder): a module for creating modules in Odoo for Odoo.

We have being working with Odoo (formerly OpenERP) for two years now. At the beginning, module programming was exciting because we were in the learning process, but after a while we begin to acknowledge some patterns and repetitive processes, and the idea of a module for creating modules come to our minds. We hope this module will help the community.

9
Avatar
Discard
michel Guénard

Do you plan to make it available as an apps available for Saas Users?

Avatar
Yusnel Rojas Garcia
Author Best Answer

Well I make a test installing a odoo (branch 8.0 althouhg not the latest) and installing the product module with the builder and I couldn't reproduce that error (weird error indeed). It does't hurt if you post the complete stacktrace if you like or instead could you create an issue with it in github so we can check all that in one place please.

Documentation is one pending matter of the builder, but we made it quite similar to the odoo interface for the elements we manage such as models, fields, module itself, groups, record rules etc. Odoo developers shouln't be lost on the interface.

To highlight some of the current features:

- create module with basic info

- create of models, importing existing (models from installed modules) and manage external dependencies for imported modules, create fields, manage model methods, designer (web_diagram) for models (nodes) and fields (transitions for relation fields)

- create views for models and wizard supporting basic setting for most (except qweb) of the view types with custom code if needed

- creation of actions (currently only window actions)

- creation of menu items (can be mixed with current system menu if referencing parent)

- create groups (can be set on actions, menus, fields, etc)

- create model access rules with wizard to generate it for selected models and groups (generates ir.model.access.csv)

- create model rules (ir.rule)

- create cron jobs

- import local module (installed module) is a feature to inspect a given module (models, fields, relations, etc) is not intended for cloning a module and made modifications

- export and import module feature is not currently working right now

that's the features so far for the backend section, a website section is already created but not finished yet

2
Avatar
Discard
Avatar
Alby Antony
Best Answer

i tried to install the module in my odoo but it was showing error.. can you tell me y it could be?

1
Avatar
Discard
Avatar
islam aly mohamed saleh
Best Answer

this is a brilliant app, i think you need to create a user manual to easy the usage of the app

0
Avatar
Discard
Avatar
wizardz
Best Answer

Is this active ? I see on github that the last update was 2 month ago

0
Avatar
Discard
Yusnel Rojas Garcia
Author

not for the time being. oca wanted to port the functionality to their own module and we agreed the terms but didn't hear more from them. anyway we (I at least) want to keep improving the module, perhaps make it compatible with version 9, but can't do it at the moment.

Avatar
Juan Muñoz
Best Answer

Hi all,

I had an issue where I try to create a module. But I could solve it moving line 858 before line 827 of file /openerp/osv/expression.py and all works fine. 

But now I add the basic information of module but when i click on 'Download' to install this module, my server crash with 'Internal Server Error'. 

Any idea? Help please.

0
Avatar
Discard
Avatar
Tarek Mohamed Ibrahim
Best Answer

It is a nice idea to think that generic way. I downloaded it and created a module, installed it and started adding data to the created module. It is a great work.

0
Avatar
Discard
Yusnel Rojas Garcia
Author

great to hear that!, please give us some feedback to improve it!

Avatar
Sandor Dobi
Best Answer

Hi,


This can be a great addon to speedup Odoo development and customisation! Thanks for this.

I am looking forward to try it. Is there a short docs about the features and 'ToDos' available?


EDIT:

Hi I tried to install the module into odoo v8 branch, with almost no other modules (only products installed) and getting an weird exception:


I will not show the full trace (if you need it i'll post)

The error:

 File "/opt/odoo/odoo-server/openerp/models.py", line 1267, in _validate_fields
    raise ValidationError('\n'.join(errors))
ParseError: "ValidateError
Field(s) `arch` failed against a constraint: Invalid view definition

Error details:
_description_searchable" while parsing /opt/odoo/custom/addons/builder/views/module_view.xml:4, near
<record id="module_form" model="ir.ui.view">
            <field name="name">builder.ir.module.module.form</field>
            <field name="model">builder.ir.module.module</field>
            <field name="arch" type="xml">
                <form string="Module">

 

Regards

0
Avatar
Discard
Yusnel Rojas Garcia
Author

Builder now works in the latest Odoo version! After some hours of debugging we found the mysterious error. It turns out that the following code raises the error: name = fields.Char(store=False) But more mysterious is the solution for it: name = fields.Char(store=False, search=True) Could this be a bug in the Odoo orm?

Avatar
faisol bahri
Best Answer

Hi, I have  been crate database on odoo 7 and now i just upgrade to odoo 8, but my database can't be read, what must i do?

0
Avatar
Discard
Avatar
Gabor Zoltan
Best Answer

Hi,

Same "Invalid view definition" error in may case too.

I'm on v8 with minimal module installation (tried two cases with only 'product' and with 'sale'), not quite the latest build , approx. of two weeks ago.

Otherwise very exciting initiative , please fix the bug.

Thanks

0
Avatar
Discard
Avatar
FEDERICO LEONI
Best Answer

Tried right now. When I try to update the module list the server give me an error about missing module builder...

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Error when importing module Product Bidding In ECommerce in odoo 17
module
Avatar
Avatar
1
Jul 24
2650
Missing required value for the field 'Model' (model_id)
module
Avatar
Avatar
1
Jan 24
6573
View newly installed Module
module
Avatar
Avatar
Avatar
2
Mar 23
3589
How to check for installed modules from my __init__.py?
module
Avatar
Avatar
3
Jun 20
11482
Helpdesk Module
module
Avatar
Avatar
Avatar
2
Mar 20
10059
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now