Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo Module Builder

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
modulegenerator
14 Réponses
17493 Vues
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
Ignorer
michel Guénard

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

Avatar
Yusnel Rojas Garcia
Auteur Meilleure réponse

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
Ignorer
Avatar
Alby Antony
Meilleure réponse

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

1
Avatar
Ignorer
Avatar
islam aly mohamed saleh
Meilleure réponse

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

0
Avatar
Ignorer
Avatar
wizardz
Meilleure réponse

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

0
Avatar
Ignorer
Yusnel Rojas Garcia
Auteur

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
Meilleure réponse

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
Ignorer
Avatar
Tarek Mohamed Ibrahim
Meilleure réponse

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
Ignorer
Yusnel Rojas Garcia
Auteur

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

Avatar
Gabor Zoltan
Meilleure réponse

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
Ignorer
Avatar
FEDERICO LEONI
Meilleure réponse

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

0
Avatar
Ignorer
Avatar
faisol bahri
Meilleure réponse

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
Ignorer
Avatar
Sandor Dobi
Meilleure réponse

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
Ignorer
Yusnel Rojas Garcia
Auteur

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?

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Error when importing module Product Bidding In ECommerce in odoo 17
module
Avatar
Avatar
1
juil. 24
2860
Missing required value for the field 'Model' (model_id)
module
Avatar
Avatar
1
janv. 24
7100
View newly installed Module
module
Avatar
Avatar
Avatar
2
mars 23
3788
How to check for installed modules from my __init__.py?
module
Avatar
Avatar
3
juin 20
11724
Helpdesk Module
module
Avatar
Avatar
Avatar
2
mars 20
10353
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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