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

Need document to Understanding Odoo Framework in context to Native Languages used in development!

Suscribirse

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

Se marcó esta pregunta
webclientwebframeworkwebserverAPI WORKFLOW PYTHON
1 Responder
12055 Vistas
Avatar
bhavik-browseinfo

I want to know how Odoo framework is communicate with native languages python, XML, html, JavaScript etc...

Also the PostgreSQL database.

For ORM ,API and database i know things pretty much .Most of the things are coded in BaseModel and other server side files 

like model.py  ,orm.py and fields.py . That clears how framework works with python and PostgreSQL.

Now where i am struggling is the Web Framework,I can't understand how frame work is dealing with javascript and XMl or HTML,CSS. For examlple ,when i write :

<field name="name"/> it will add text input element view ,so how odoo identify that behavior of field tag is such that it adds a text input .

or other example :

When i create a record in ir.ui.view is adds different view in odoo. So how i can understand the behavior  of this concept.

what if i want customization at level where i need to change behavior of this element to meet the client needs.or introduce some new elements. 

If i want to understand odoo framework from the perspective of a native language developer like java or C# .where would i find suitable documentation.Or if documentation is not there, so what things should i be looking in odoo source code to understand this things,.

1
Avatar
Descartar
Avatar
Pawan
Mejor respuesta

Bhavik,

like your query will try to keep my reponse clear n specific ;)

"Now where i am struggling is the Web Framework,I can't understand how frame work is dealing with javascript and XMl or HTML,CSS. For examlple ,when i write :"

-> with regards to Javascript it uses some jquery libraries major of them are underscore.js and backbone.js n mostly the  whole system works on backbone.js framework, w.r.t underscore.js in simple term "it is a kind of supporting actor to minimize your data manipulations burden" , so a walkthrough here could help you to undrestand the flow..

-> regarding views everything is rendered from xml templates which could be found web/static/src/xml/base.xml and base_common.xml, etc...(mostly in web module only)

Now there are seperate jquery(backbone) classes created for different kinds of views which could be found at web/static/src/js/views/tree_view.js(for tree view) or form_view.js(for form view), etc(graph_view.js, list_view.js,....)....

and more of it on "how odoo works", its functionality like save/editing of data, sessions manipulations, models(classes) , registry, and other common utilities can be found at web/static/src/js/framework/

in brief i can say the answer for most your query regarding "Web Framework" could be found here in "web" module... explore it and you can hit the odoo client end very easily...
Hope it will give u some reference to your query..

3
Avatar
Descartar
bhavik-browseinfo
Autor

Really helpful !Thank you Pawan ! I appreciate !

bhavik-browseinfo
Autor

Pawan! Can you share your contact details?

Pawan

u can contact on my skype id: feeldfeelings

bhavik-browseinfo
Autor

Thank you Pawan!

bhavik-browseinfo
Autor

Pawan Can you tell me where XML schema is defined in odoo? i mean XML does not have predefined tags,we have to define those tag,so where records,fields,act_view,menu such tags are defined in odoo?

Pawan

Bhavik can u be more clear, if its regarding base xml then i already mentioned predefined/base xml for different base views can be found in web/static/src/xml/base.xml

¿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
Erase button "Add to basket"
webclient web
Avatar
Avatar
2
feb 24
2123
Reg: Odoo 12.0 installation in Ubuntu 14.04 - Module Images are not loading
webclient web
Avatar
Avatar
1
may 19
5263
Overriding odoo javascript function (start.js file in web addon)
webclient web webmodule
Avatar
0
dic 24
2372
Can we hide th Export in "more" options
webclient web odoo
Avatar
0
ago 24
4673
Odoo shows blank page on /web but /website stil works Resuelto
webclient web multiwebsite
Avatar
Avatar
Avatar
2
may 23
8147
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.

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