Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
webclientwebframeworkwebserverAPI WORKFLOW PYTHON
1 Odgovori
12041 Prikazi
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
Opusti
Avatar
Pawan
Best Answer

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
Opusti
bhavik-browseinfo
Avtor

Really helpful !Thank you Pawan ! I appreciate !

bhavik-browseinfo
Avtor

Pawan! Can you share your contact details?

Pawan

u can contact on my skype id: feeldfeelings

bhavik-browseinfo
Avtor

Thank you Pawan!

bhavik-browseinfo
Avtor

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!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Erase button "Add to basket"
webclient web
Avatar
Avatar
2
feb. 24
2119
Reg: Odoo 12.0 installation in Ubuntu 14.04 - Module Images are not loading
webclient web
Avatar
Avatar
1
maj 19
5262
Overriding odoo javascript function (start.js file in web addon)
webclient web webmodule
Avatar
0
dec. 24
2364
Can we hide th Export in "more" options
webclient web odoo
Avatar
0
avg. 24
4673
Odoo shows blank page on /web but /website stil works Solved
webclient web multiwebsite
Avatar
Avatar
Avatar
2
maj 23
8144
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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