Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Odoo Module Builder

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
modulegenerator
14 Respuestas
17238 Vistas
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
Descartar
michel Guénard

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

Avatar
Yusnel Rojas Garcia
Autor Mejor respuesta

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
Descartar
Avatar
Alby Antony
Mejor respuesta

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

1
Avatar
Descartar
Avatar
islam aly mohamed saleh
Mejor respuesta

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

0
Avatar
Descartar
Avatar
wizardz
Mejor respuesta

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

0
Avatar
Descartar
Yusnel Rojas Garcia
Autor

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
Mejor respuesta

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
Descartar
Avatar
Tarek Mohamed Ibrahim
Mejor respuesta

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
Descartar
Yusnel Rojas Garcia
Autor

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

Avatar
Sandor Dobi
Mejor respuesta

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
Descartar
Yusnel Rojas Garcia
Autor

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
Mejor respuesta

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
Descartar
Avatar
Gabor Zoltan
Mejor respuesta

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
Descartar
Avatar
FEDERICO LEONI
Mejor respuesta

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

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Error when importing module Product Bidding In ECommerce in odoo 17
module
Avatar
Avatar
1
jul 24
2651
Missing required value for the field 'Model' (model_id)
module
Avatar
Avatar
1
ene 24
6581
View newly installed Module
module
Avatar
Avatar
Avatar
2
mar 23
3593
How to check for installed modules from my __init__.py?
module
Avatar
Avatar
3
jun 20
11483
Helpdesk Module
module
Avatar
Avatar
Avatar
2
mar 20
10063
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Sitio web hecho con

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