How to Create New Models in Odoo - Odoo Development

  Рет қаралды 59,613

Odoo Mates

Odoo Mates

Күн бұрын

#odoodevelopment #odoodefinemodels #odoomodulecreation #odootutorials
How to define new models for storing data in Odoo custom module development. Shows you have to add new model/table to the database from new custom module.
Email: odoomates@gmail.com

Пікірлер: 88
@kashifmanzoor7949
@kashifmanzoor7949 5 жыл бұрын
Easy teaching is really hard but you are doing it, Thank you for this initiative for the tech world.
@OdooMates
@OdooMates 5 жыл бұрын
Thanks :) hope you will keep supporting us by liking the videos and referring channel to friend's
@kashifmanzoor7949
@kashifmanzoor7949 5 жыл бұрын
@@OdooMates Yes I'm doing it...
@enricosaccheggiani3192
@enricosaccheggiani3192 5 жыл бұрын
thank you so much . is very difficult to find good tutorials on odoo . Thanks a lot
@OdooMates
@OdooMates 5 жыл бұрын
Hope you will like the videos and subscribe the channel. Also refer the channel to odoo friends ..
@yousifahmed257
@yousifahmed257 3 жыл бұрын
Thank you for your amzaing teaching
@OdooMates
@OdooMates 3 жыл бұрын
thanks brother
@subhamaharjan
@subhamaharjan 4 жыл бұрын
Thank You so much for this amazing content.
@OdooMates
@OdooMates 4 жыл бұрын
thanks for the support
@srimathigopal1482
@srimathigopal1482 4 жыл бұрын
Hello! Your videos are really useful and easy to learn. But the videos are not in sequence to learn. After configure from which video i should start. Please let me know
@OdooMates
@OdooMates 4 жыл бұрын
Thanks for feedback, actually as far as our understanding the playlist is in order the expection is after first video, we have added two videos of configuring pycharm and custom addons path
@OdooMates
@OdooMates 4 жыл бұрын
If you find any mismatch in order, can you spot it to us, so that we can make it in correct sequence
@surajpatil8670
@surajpatil8670 3 жыл бұрын
Great! Now how do I save the entered data and retrieve it after coming back to page?
@OdooMates
@OdooMates 3 жыл бұрын
odoo will manage it, see this: kzbin.info/www/bejne/gXe7oJh7r9yrsLM
@JulioCesar-hh9wq
@JulioCesar-hh9wq 2 жыл бұрын
Thanks dude
@OdooMates
@OdooMates 2 жыл бұрын
welcome brother
@rodolfosanchezflores
@rodolfosanchezflores 4 жыл бұрын
excellent tutorial
@OdooMates
@OdooMates 4 жыл бұрын
Glad you think so!
@3kChanal
@3kChanal 3 жыл бұрын
Please give us the Links in sequence of your videos. Every video you are telling in previous video you learn this.
@OdooMates
@OdooMates 3 жыл бұрын
The order is here: kzbin.info/www/bejne/eHXIoZ5mgc2Jq6s
@2008vn
@2008vn 5 жыл бұрын
thanks for all.
@anthonykingsley513
@anthonykingsley513 3 жыл бұрын
Please I am working on a custom module and I trying to decrease the quantity on hand of a selected product when a button is clicked but all to no avail. Please can you kindly help me with a code for this. Thanks
@OdooMates
@OdooMates 3 жыл бұрын
for this, in the function that trigger from the button, we can create a picking or create a inventory adjustment to reduce the qty
@bonoandlavin
@bonoandlavin 5 жыл бұрын
Is there a previous step that shows you how to add that om_hospital folder in the custom folder in the first place? I actually came from another video of yours and I thought this is the very first step?
@OdooMates
@OdooMates 5 жыл бұрын
There is a video on how to add custom addons path in odoo
@OdooMates
@OdooMates 5 жыл бұрын
kzbin.info/www/bejne/d2Kof6mqnNJ3bZY
@hannayoo2059
@hannayoo2059 5 жыл бұрын
Sir , I can't find models in databse after inherit from exiting model. What should i do? I think i did all the step i need for inherit,depend app from technical name , inherit from exiting model but i can't find model in database .I already activated developer mode , installed app and updated .
@OdooMates
@OdooMates 5 жыл бұрын
Did you called the Python file in the init file ?
@hannayoo2059
@hannayoo2059 5 жыл бұрын
@@OdooMates yes, i did it
@harshaljain5822
@harshaljain5822 2 жыл бұрын
I am get error while importing fields models from odoo import fields, models, api
@OdooMates
@OdooMates 2 жыл бұрын
is it resolved ? is it blocking or just warning ?
@metalmlover
@metalmlover 4 жыл бұрын
Hello, thank you very much for the tutorials. I'm having an issue. in "from odoo import models" the odoo library isn't available for importing and I can't install the package!
@OdooMates
@OdooMates 4 жыл бұрын
ignore the warning, is it blocking from you to go forward ?
@metalmlover
@metalmlover 4 жыл бұрын
Odoo Mates I just ignored the warning and it worked. The issue was misplacing the init file. Works well now, thanks a million :)
@OdooMates
@OdooMates 4 жыл бұрын
@@metalmlover :)
@vipinarya8199
@vipinarya8199 4 жыл бұрын
can you explain me how to add a autocomplete address in oddo version 14.0
@benhughie04
@benhughie04 4 жыл бұрын
Hello there, I'm using odoo 10 (community) that connected to Ubuntu 16.04 server (connected with google cloud). So those steps can work to odoo 10 that connected with cloud? I mean I want to create my own module (because shipping module isn't free in Odoo)? Thank you Sir.
@OdooMates
@OdooMates 4 жыл бұрын
You can setup a local odoo instance and using that you can do development and finally you can move module to server and deploy
@BMESSIASMONTEIRO
@BMESSIASMONTEIRO 3 жыл бұрын
Hi Odoo Mates responsible, one doubt. How do I use the model partner if I don´t want to create a patient data. I mean, I want to use default Odoo partners module, moreover I want to just add a section there where I can fill in patient information...like blood type, and so on. Thanks in advance.
@OdooMates
@OdooMates 3 жыл бұрын
You can inherit the model and necessary fields: kzbin.info/www/bejne/aZq8ZJiXYtypoNk Also you can check the delegation inheritance: kzbin.info/www/bejne/eZy4pp-td5ueadE
@sdaily4614
@sdaily4614 4 жыл бұрын
VScode says Unable to import 'flectra' pylint(import-error)
@OdooMates
@OdooMates 3 жыл бұрын
are you using some flectra modules in odoo ?
@adolphmwakalinga2741
@adolphmwakalinga2741 4 жыл бұрын
Hello, I am having an issue of the odoo fields (_name and _description) as your have described in the tutorial, seems they have not imported even if I have ignored the warning as you have suggested, but the problem is there, kindly show me the way Thanks
@OdooMates
@OdooMates 4 жыл бұрын
any error in the log?
@KTVSierraLeoneLive
@KTVSierraLeoneLive 5 жыл бұрын
i am stuck in this point as i am having this errors ERROR: Could not find a version that satisfies the requirement odoo (from versions: none)
@OdooMates
@OdooMates 5 жыл бұрын
Hope issue with odoo installation. For which python package you get this error.
@KTVSierraLeoneLive
@KTVSierraLeoneLive 5 жыл бұрын
@@OdooMates now I am having issues to install the module as it says invalid character in table name
@OdooMates
@OdooMates 5 жыл бұрын
@@KTVSierraLeoneLive you have to cross check the code you have written. See the developed module here: github.com/odoomates/Development-Tutorials
@supreetlaghate22
@supreetlaghate22 4 жыл бұрын
Hi. How to add phone number validation to the field if i want a ten digit phone number to be entered?
@OdooMates
@OdooMates 4 жыл бұрын
See: kzbin.info/www/bejne/n5u2XoFneMmcjbc
@bryanurielariasavila5280
@bryanurielariasavila5280 5 жыл бұрын
hello, I can´t see the model in odoo do you know why?
@OdooMates
@OdooMates 5 жыл бұрын
Did you upgrade the module ? also make sure that the corresponding file is called in the init file
@kithinga
@kithinga 3 жыл бұрын
Hello I have a question, I created a custom module and went ahead to create a model called person.py now the problem is when I try to run the model it says no module named odoo, something else is that the imports I.e api, fields, tools are underlined red
@OdooMates
@OdooMates 3 жыл бұрын
It is just warning that you can ignore right? solution is: www.odoo.com/forum/help-1/pycharm-configuration-lack-of-openerp-imports-107847
@kithinga
@kithinga 3 жыл бұрын
@@OdooMates File "D:/odoo/server/odoo/addons/rosters/models/person.py", line 2, in from odoo import models,fields,api, _, tools ModuleNotFoundError: No module named 'odoo' // this is my error
@OdooMates
@OdooMates 3 жыл бұрын
@@kithinga is this just warning or is it blocking you in continuing ?
@kithinga
@kithinga 3 жыл бұрын
@@OdooMates yeah I can't continue and also when I check for model in technical it's not there even after upgrade
@kithinga
@kithinga 3 жыл бұрын
@@OdooMates yes i cannot continue, can I share a picture of my screen?
@mariomezini3793
@mariomezini3793 4 жыл бұрын
Hello! Thank you for the tutorials! When I try to install the Hospital Management I get the following error: "You try yo install module 'om_hospital' that depends on module". But the latter module is not available in your system
@OdooMates
@OdooMates 4 жыл бұрын
You might miss to download and add depend module ? Might be report_xlsx
@mariomezini3793
@mariomezini3793 4 жыл бұрын
@@OdooMates I found it. In my manifest file, I had forgotten to delete the quotation mark inside 'depends' it was like this: 'depends' : [ " " ], Thanks for the fast reply and for the great tutorials!
@OdooMates
@OdooMates 4 жыл бұрын
Watch like and support :)
@sasindrans6059
@sasindrans6059 2 жыл бұрын
Hi can u please shre link for How to create website for our custom module like frontend in odoo
@OdooMates
@OdooMates 2 жыл бұрын
kzbin.info/www/bejne/bqa8qYqIod1_lbc
@sasindrans6059
@sasindrans6059 2 жыл бұрын
what about the xml ? u didnt show it here already u created a xml file ? if not means how it is showing in frontend
@OdooMates
@OdooMates 2 жыл бұрын
kzbin.info/www/bejne/ipXKZYyHpNyLr6s
@sasindrans6059
@sasindrans6059 2 жыл бұрын
@@OdooMates thanks
@azzeddineaziki5306
@azzeddineaziki5306 4 жыл бұрын
please help me , i have this issue when i create the two file patient and init import werkzeug.contrib.fixers ModuleNotFoundError: No module named 'werkzeug.contrib'
@OdooMates
@OdooMates 4 жыл бұрын
Installed this package werkzeug ?
@azzeddineaziki5306
@azzeddineaziki5306 4 жыл бұрын
@@OdooMates i try to install this package but he give's me the same error , do you have any url for installed this package , thank you
@bossmohammed2017
@bossmohammed2017 4 жыл бұрын
Hello Sir, I am using Windows. I have installed Pycharm and Odoo13. i created a custom module with the scaffold command. Following your tutorial, I am unable to import any class from the odoo library. I am getting unresolved reference. Kindly help.
@OdooMates
@OdooMates 4 жыл бұрын
HI, Drop a email to odoomates@gmail.com and lets fix it over screen sharing
@enricosaccheggiani3192
@enricosaccheggiani3192 5 жыл бұрын
Hi, I didn't understand the difference between the model tables created internally through patient.py and the real external tables defined in the postgrees database, why two different types of of tables? Thanks a lot if anybody will answer me
@OdooMates
@OdooMates 5 жыл бұрын
Both are same, what you add from the code is creating a table in database
@enricosaccheggiani3192
@enricosaccheggiani3192 5 жыл бұрын
@@OdooMates ok thanks, for the answer. I must apply for a new job and i need to know as much as i can on Odoo .your tutorial is very useful
@faizanshah3220
@faizanshah3220 4 жыл бұрын
kindly please upload source code of every tutorial Thanks
@OdooMates
@OdooMates 4 жыл бұрын
Its here: apps.odoo.com/apps/modules/12.0/om_hospital/
@ilrey
@ilrey 5 жыл бұрын
Hi, I can't see the model!!
@OdooMates
@OdooMates 5 жыл бұрын
Activate the super user mode and see
@OdooMates
@OdooMates 5 жыл бұрын
you have to define views and menu: kzbin.info/www/bejne/ipXKZYyHpNyLr6s
@ilrey
@ilrey 5 жыл бұрын
@@OdooMates thank you dude!
@supreetlaghate22
@supreetlaghate22 4 жыл бұрын
for debugger instead of manually changing everytime you can directly enter localhost:____/web?debug=true#action once and for all
@OdooMates
@OdooMates 4 жыл бұрын
?debug is enough right
@amsterpr2008
@amsterpr2008 4 жыл бұрын
#soyoucansee if you can see
@OdooMates
@OdooMates 4 жыл бұрын
sorry, can you make it clear
Define New Menu and Actions in Odoo
22:07
Odoo Mates
Рет қаралды 49 М.
How to Add One2many Fields In Odoo
19:37
Odoo Mates
Рет қаралды 40 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
3. How To Create New Models In Odoo  || Odoo 14 Development
18:15
How To Create Scheduled Actions in Odoo
17:01
Odoo Mates
Рет қаралды 33 М.
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 544 М.
Odoo Review 2024: Pros, Cons, and Pricing
6:41
Software Connect
Рет қаралды 113 М.
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 101 М.
How To Create Module In Odoo 17 || Odoo 17 Developement
49:32
Odoo Mates
Рет қаралды 54 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН