45.How To Add One2many Field In Odoo || Working Of One2many Field In Odoo || Odoo Relational Fields

  Рет қаралды 22,833

Odoo Mates

Odoo Mates

Күн бұрын

Пікірлер: 91
@ThatOdooGuy
@ThatOdooGuy 3 жыл бұрын
Great Tutorial as always... Much better than official slides and trainings. Keep it up dear! Also, please add your intro as well . :)
@OdooMates
@OdooMates 3 жыл бұрын
Thanks brother for the feedback :)
@legend-facts
@legend-facts Жыл бұрын
Love you SOoo much niyas broooo Your Greatest Men In the world thanku
@OdooMates
@OdooMates Жыл бұрын
You are very welcome
@alielnagar2
@alielnagar2 Жыл бұрын
very very good and useful video , thank you man
@OdooMates
@OdooMates Жыл бұрын
thanks for love and support
@ISIDREGUIXAMIRANDA
@ISIDREGUIXAMIRANDA 8 ай бұрын
Perfect explanations. One question: is it possible to show a vertical scroll bar when viewing a one2many list?
@NMNaufaldo
@NMNaufaldo 2 жыл бұрын
amazing, you're explaining so details😮👍
@OdooMates
@OdooMates 2 жыл бұрын
We try to make it simple as much as possible ❤❤❤❤
@mohamedlellah8318
@mohamedlellah8318 2 жыл бұрын
Great job
@OdooMates
@OdooMates 2 жыл бұрын
thanks brother
@bonjourmonde1500
@bonjourmonde1500 2 жыл бұрын
..thank you for your effort ..
@OdooMates
@OdooMates 2 жыл бұрын
So nice of you
@FaizAli-vz7yr
@FaizAli-vz7yr 2 жыл бұрын
Amazing Tutorial
@OdooMates
@OdooMates 2 жыл бұрын
Thanks brother ❤️❤️❤️
@arinalrahmat366
@arinalrahmat366 2 жыл бұрын
As always great explanation sir, I have question sir, why when I try to create my one2many and add the many2one in other model which the many2one will get from 'res.partner' it keeps giving me error that there's an invalid field in 'res.partner' ?
@OdooMates
@OdooMates 2 жыл бұрын
this will solve problem: kzbin.info/www/bejne/e6PdgJyXlKZlZ9k
@sunilpatel215
@sunilpatel215 3 жыл бұрын
Sir, Can you please make video for custom design for sales order, invoice, quotation, and purchase order (invoice like made in tally)
@OdooMates
@OdooMates 3 жыл бұрын
we will try to make it in the coming days, if it urgent for you, you can check this free modules that doing the same: apps.odoo.com/apps/modules/14.0/bi_professional_reports_templates/
@nileshchavhan6865
@nileshchavhan6865 2 жыл бұрын
very well explained...thanks for the nice work
@OdooMates
@OdooMates 2 жыл бұрын
Glad it was helpful!
@nileshchavhan6865
@nileshchavhan6865 2 жыл бұрын
@@OdooMates hello mate....can you share any good resource to learn the python logic and python coding to become better at development in odoo.....the xml thing seems easy in odoo but whenever i try to execute something from py files i often find myself falling short of it.I have some training in python though....if you can share this it will be of great help to me...thanks in advance.
@OdooMates
@OdooMates 2 жыл бұрын
@@nileshchavhan6865 kzbin.info/www/bejne/boeQpoJ9bbCegaM
@nileshchavhan6865
@nileshchavhan6865 2 жыл бұрын
@@OdooMates thanks bro...you are indeed very helpful....will mail you if i come across any specific doubt.
@OdooMates
@OdooMates 2 жыл бұрын
@francescoballerini3336
@francescoballerini3336 3 жыл бұрын
Very helpful video!! Helped me so much to understand relational fields !
@OdooMates
@OdooMates 3 жыл бұрын
thanks brother
@souissimounir335
@souissimounir335 2 жыл бұрын
Great explanation sir, I have question if I want add filter to appointment tree view on patient form. example:get appointments of each patient where Status ='Done'
@OdooMates
@OdooMates 2 жыл бұрын
you can add it as a domain in python or xml
@souissimounir335
@souissimounir335 2 жыл бұрын
In notebook: But not working for me
@OdooMates
@OdooMates 2 жыл бұрын
@@souissimounir335 can you try it in python level
@jaykumarjk4706
@jaykumarjk4706 3 жыл бұрын
Is there anyway to filter out the one2many records based on user logged in. Eg. There are 3 records but i should i only show 2 record which is related to user
@OdooMates
@OdooMates 3 жыл бұрын
I think applying the domain or record rules will work right ?
@jaykumarjk4706
@jaykumarjk4706 3 жыл бұрын
@@OdooMates could you please share or do a video on the topic. I tried domain but it didnt work.
@OdooMates
@OdooMates 3 жыл бұрын
@@jaykumarjk4706 can you try record rules ? kzbin.info/www/bejne/pmnKm2SaesuMi68
@srinivaskasarapu2238
@srinivaskasarapu2238 9 ай бұрын
hi sir please can you explain notebook tabs information to another tables without onetoone relation
@michaelgonzales1850
@michaelgonzales1850 3 жыл бұрын
Hi, I want to add my one2many field in my Tree view. The output is ok which is the Record Count, but I want to change the value or label which is for example (3 records) to (3 Tickets). I think the records is the default for odoo but how can I change that. In my Tree View I used the one2many field . Hope you can respond Thanks.
@OdooMates
@OdooMates 3 жыл бұрын
i think better you add an another compute field for this and show
@Hahayougotbann
@Hahayougotbann 2 жыл бұрын
How can we make our Many2one to look like the sales or inventory module. So that we can add products ? And also once I manage to inherit it, how do I get the price of an item to show up
@OdooMates
@OdooMates 2 жыл бұрын
it is the same way as shown in this video, add one2many field as this, then you have to write onchange function or use related field to get price upon selecting the product
@Hahayougotbann
@Hahayougotbann 2 жыл бұрын
@@OdooMates Yes I am doing that, but i don't know how to specify in the python code which product I have selected, so that Odoo knows what I have chosen and what price it should show. How to tell in the python code which product I have selected ?
@OdooMates
@OdooMates 2 жыл бұрын
Self.field_name
@OdooMates
@OdooMates 2 жыл бұрын
kzbin.info/www/bejne/boeQpoJ9bbCegaM
@srinivaskasarapu2238
@srinivaskasarapu2238 9 ай бұрын
notebook each tab information will be differet table pls explain
@renaacer
@renaacer 2 жыл бұрын
Can i add tracking for this field?
@OdooMates
@OdooMates 2 жыл бұрын
for one2many fields, tracking has to be done by manually by overriding write and create method of those models
@OdooMates
@OdooMates 2 жыл бұрын
override the write/create method, then log changes to chatter using message_post function
@samirmedini9640
@samirmedini9640 2 жыл бұрын
Many thanks , great vidéo. Could you tell me why i this error? >>>Tree child can only have one of field, button, control, groupby, widget, header tag (not fields), i'm with odoo15
@OdooMates
@OdooMates 2 жыл бұрын
when you receive this error ?
@samirmedini9640
@samirmedini9640 2 жыл бұрын
@@OdooMates I've created a tree view inside the form view, this error occur when I upgarde the installed new app
@samirmedini9640
@samirmedini9640 2 жыл бұрын
the rror desappear when I comment the fields added inside the child tree view
@OdooMates
@OdooMates 2 жыл бұрын
@@samirmedini9640 can i show me the relavant part of the code that throws the error
@samirmedini9640
@samirmedini9640 2 жыл бұрын
@@OdooMates sure,
@azteccherry5673
@azteccherry5673 3 жыл бұрын
Sir can u help me to create some videos to sent report excel into gmail ? With scheduler. Thanks🙏
@OdooMates
@OdooMates 3 жыл бұрын
brother we wont be able to add that quickly. If it is urgent for you, drop a email to odoomates@gmail.com, so that we can share some code samples
@mokranililia7471
@mokranililia7471 3 жыл бұрын
Hello sir, how can we inherit one2many and add new field into it? And display it in tree view
@OdooMates
@OdooMates 3 жыл бұрын
You mean, if we take example of sale order and sale order line, the question is to add field to sale order line ?
@mokranililia7471
@mokranililia7471 3 жыл бұрын
@@OdooMates yes exactly, and display it in sale order
@OdooMates
@OdooMates 3 жыл бұрын
@@mokranililia7471 For reference: www.odoo.com/forum/help-1/how-to-add-field-in-sale-order-line-120465
@mokranililia7471
@mokranililia7471 3 жыл бұрын
@@OdooMates thank tou so much
@OdooMates
@OdooMates 3 жыл бұрын
@@mokranililia7471 welcome
@muhammadmohiuddinshakil7830
@muhammadmohiuddinshakil7830 2 жыл бұрын
Sir, I face this error: Exception: Module loading om_hospital failed: file om_hospital\security/ir.model.access.csv could not be processed: No matching record found for external id 'model_appointment_prescription_lines' in field 'Model' Missing required value for the field 'Model' (model_id)
@OdooMates
@OdooMates 2 жыл бұрын
you have a model named appointment_prescription_lines in your module ?
@muhammadmohiuddinshakil7830
@muhammadmohiuddinshakil7830 2 жыл бұрын
@@OdooMates Yes sir
@OdooMates
@OdooMates 2 жыл бұрын
@@muhammadmohiuddinshakil7830 could you show us your code in github or over the email ?
@muhammadmohiuddinshakil7830
@muhammadmohiuddinshakil7830 2 жыл бұрын
@@OdooMates 😁 IDK what happened. I try to solve this since morning. Now after restarting my PC it works. By the way, thank you so much for such a beautiful work
@OdooMates
@OdooMates 2 жыл бұрын
@@muhammadmohiuddinshakil7830 development is sometime tricky and weird 😁😁😁😁 anyway glad you fixed it brother
@anthonykingsley513
@anthonykingsley513 3 жыл бұрын
Please I created a custom module and added a One2many field. I added a control to add a section but it is not working out as it should. The delete bin is on the left hand side instead of the right hand side and I can not type in the section created.
@OdooMates
@OdooMates 3 жыл бұрын
can i see the code that you added
@anthonykingsley513
@anthonykingsley513 3 жыл бұрын
@@OdooMates
@anthonykingsley513
@anthonykingsley513 3 жыл бұрын
Please I am yet to hear from you concerning this
@OdooMates
@OdooMates 3 жыл бұрын
@@anthonykingsley513 can you add a field product_id inside the one2many model and see
@shadanh3556
@shadanh3556 2 жыл бұрын
Can i have the code? Copy it?
@OdooMates
@OdooMates 2 жыл бұрын
Yes, feel free to download from here: apps.odoo.com/apps/modules/14.0/om_hospital/
@shadanh3556
@shadanh3556 2 жыл бұрын
@@OdooMates how can I download it ?
@OdooMates
@OdooMates 2 жыл бұрын
@@shadanh3556 you can use the download button in the above link
@harshavardhan7697
@harshavardhan7697 2 жыл бұрын
How can we have search view here plz??
@OdooMates
@OdooMates 2 жыл бұрын
by default no option to add search view for o2m field, see this free module: apps.odoo.com/apps/modules/13.0/rp_search_one2many_v13/
@harshavardhan7697
@harshavardhan7697 2 жыл бұрын
@@OdooMates here we have web as depends module which is not found in odoo 15 plz . Any suggestion for same
@OdooMates
@OdooMates 2 жыл бұрын
@@harshavardhan7697 web is core module in odoo. see: github.com/odoo/odoo/tree/15.0/addons/web
@harshavardhan7697
@harshavardhan7697 2 жыл бұрын
@@OdooMates sorry i meant, its unable to inherit web.assets_backend .. its throwing exception at same plz. Any idea upon same
@OdooMates
@OdooMates 2 жыл бұрын
@@harshavardhan7697 as the module link i have shared is in v13, you have migrate it to v15.
@leidydaza5632
@leidydaza5632 3 жыл бұрын
Good morning, could you please activate the translation of the videos in Spanish please?
@OdooMates
@OdooMates 3 жыл бұрын
we will try brother
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 12 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 37 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 143 МЛН
Odoo | JS | Dashboard | OWL | Chart JS - Bar Type | #9
19:12
The Problem With Microservices
17:47
Continuous Delivery
Рет қаралды 435 М.
Relational fields | Odoo Studio
5:10
Odoo
Рет қаралды 11 М.
Odoo ORM Methods - Part1
46:14
Odoo Mates
Рет қаралды 39 М.