Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

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

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
webclientwebframeworkwebserverAPI WORKFLOW PYTHON
1 Svar
12046 Visninger
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
Kassér
Avatar
Pawan
Bedste svar

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
Kassér
bhavik-browseinfo
Forfatter

Really helpful !Thank you Pawan ! I appreciate !

bhavik-browseinfo
Forfatter

Pawan! Can you share your contact details?

Pawan

u can contact on my skype id: feeldfeelings

bhavik-browseinfo
Forfatter

Thank you Pawan!

bhavik-browseinfo
Forfatter

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

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

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Erase button "Add to basket"
webclient web
Avatar
Avatar
2
feb. 24
2122
Reg: Odoo 12.0 installation in Ubuntu 14.04 - Module Images are not loading
webclient web
Avatar
Avatar
1
maj 19
5263
Overriding odoo javascript function (start.js file in web addon)
webclient web webmodule
Avatar
0
dec. 24
2368
Can we hide th Export in "more" options
webclient web odoo
Avatar
0
aug. 24
4673
Odoo shows blank page on /web but /website stil works Løst
webclient web multiwebsite
Avatar
Avatar
Avatar
2
maj 23
8147
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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