How To Define Tree and Form View In Odoo

  Рет қаралды 30,436

Odoo Mates

Odoo Mates

Күн бұрын

#odoodevelopemt #odootutorials #howtocreatemoduleinodoo12
How to define the Views in Odoo. Shows how to define form view and tree view for a model in Odoo12.

Пікірлер: 57
@erfanjahanshahloo9170
@erfanjahanshahloo9170 5 жыл бұрын
this is best video. Keep publishing video
@OdooMates
@OdooMates 5 жыл бұрын
Thanks, we have released around 70 video in odoo development playlist as of now. Also we will publish more. Hope you will like and subscribe the channel and support us. Also refer the channel to your friends
@bonoandlavin
@bonoandlavin 4 жыл бұрын
A side question: I notice that the images that is a binary is not really showing up when I go to Postgres and do a \d hospital_patient. I see no column name image like MySQL will show the binary column in desc. Where does it saved into in terms of database data? Does the picture still get stored in the db or it is stored as a file?
@abduljabbar8383
@abduljabbar8383 3 жыл бұрын
@Odoo Mates i want to create form with notebook. can i display record in tree view in note? Thanks.
@OdooMates
@OdooMates 3 жыл бұрын
Adding notebook: kzbin.info/www/bejne/nYWcZ3qbq7J4jbc
@OdooMates
@OdooMates 3 жыл бұрын
adding one2many in notebook: kzbin.info/www/bejne/lYDCpYF4mcxmfrM
@abduljabbar8383
@abduljabbar8383 3 жыл бұрын
@@OdooMates thank you so much. very helpful.
@OdooMates
@OdooMates 3 жыл бұрын
@@abduljabbar8383 welcome :)
@kashifmanzoor7949
@kashifmanzoor7949 4 жыл бұрын
Is it necessary to create a form view before tree view or it is optional? other than my query your video is awesome, Thank You mates....
@OdooMates
@OdooMates 4 жыл бұрын
It's optional and there is no order, if you haven't defined the views, Odoo will create a default view for you with the fields in the model...
@kashifmanzoor7949
@kashifmanzoor7949 4 жыл бұрын
@@OdooMates thank you....
@RalphNgOfficial
@RalphNgOfficial 4 жыл бұрын
May I know if the "Patient app" is available to be downloaded for learning purpose? Thanks
@OdooMates
@OdooMates 4 жыл бұрын
yes: apps.odoo.com/apps/modules/12.0/om_hospital/
@oumaimaelrhazal5649
@oumaimaelrhazal5649 5 жыл бұрын
Amazing videos, please keep uploading. Already subscribed on this amazing chanel.
@OdooMates
@OdooMates 5 жыл бұрын
Refer the channel to your friends and please ask them to subscribe
@moussa7538
@moussa7538 5 жыл бұрын
@@OdooMates i already done it like now i want to share it
@hectorherrera4193
@hectorherrera4193 2 жыл бұрын
Great explanation. One question: How can you reduce (by programming) the number of records a tree loads every time (only for a tree view)? Thanks !
@OdooMates
@OdooMates 2 жыл бұрын
is it to filter the total records in the model ? if yes domain for action will do
@hectorherrera4193
@hectorherrera4193 2 жыл бұрын
@@OdooMates Every tree view shows pages of 80 records by default, I want a speficif tree view to show only 40 per page, How do I do it?
@supreetrandom651
@supreetrandom651 3 жыл бұрын
Hello. How to add sorting attribute externally in attributes field column inside tree view? at times values in columns inside tree view are not sorted after selecting column head
@AdeshPaul
@AdeshPaul 4 жыл бұрын
Thanks a lot sir.
@OdooMates
@OdooMates 4 жыл бұрын
Happy to hear it :)
@MuhammadImranSarwar-dh4rv
@MuhammadImranSarwar-dh4rv 4 жыл бұрын
Sir it's very good video. Is there any video about pivot view can you help me out with pivot view please
@OdooMates
@OdooMates 4 жыл бұрын
Hope we will release a video on basic pivot view soon
@MuhammadImranSarwar-dh4rv
@MuhammadImranSarwar-dh4rv 4 жыл бұрын
@@OdooMates Please try to upload as soon as possibile
@syafiqahsuhailah5101
@syafiqahsuhailah5101 3 жыл бұрын
Hello again sir, while developing the form the error mention an error while validating the view, and also the "name" does not exist. I follow your tutorial about the field error but it still shows the errors. raise ValidationError("%s %s" % (_("Error while validating view"), tools.ustr(e))) odoo.tools.convert.ParseError: "Error while validating view Field `name` does not exist Error context: View `user` [view_id: 1085, xml_id: n/a, model: user, parent_id: n/a] None" while parsing /home/syafiqah/special/odoo/custom_addons/LeaveAdil/views/user.xml:2, near user user user ir.actions.act_window user form tree,form Create first user of LeaveAdil ! Can you help me understand more regarding with the issues? Is there any other way to fix it?
@OdooMates
@OdooMates 2 жыл бұрын
Did you define the field named 'name in the corresponding model ? See: kzbin.info/www/bejne/Y6u7n5-vmLiLpck
@meriemhoubad256
@meriemhoubad256 3 жыл бұрын
merci beaucoup pou l explication svp commnet faire patterns pour les adresse maisoin comme 123 st canada
@OdooMates
@OdooMates 3 жыл бұрын
For address, you can separate fields as it exists in the partner form
@AshishkumarSingh-o6w
@AshishkumarSingh-o6w Жыл бұрын
How does from view gets attached to model ir.window.act_window , we haven't defined any connection
@OdooMates
@OdooMates Жыл бұрын
kzbin.info/www/bejne/Y2Oocqdvo7NnpZI
@ismailely8654
@ismailely8654 4 жыл бұрын
Any idea how to hide the id shown above in form view "hospital.patient,2"
@OdooMates
@OdooMates 4 жыл бұрын
see this video: kzbin.info/www/bejne/mpDGqoOpi8hqrMk
@thanshidhap.p4743
@thanshidhap.p4743 3 жыл бұрын
Helloo odoomate, please describe how you upload the images
@OdooMates
@OdooMates 3 жыл бұрын
you can define a field of type binary
@thanshidhap.p4743
@thanshidhap.p4743 3 жыл бұрын
@@OdooMates yes. I did that. But how you upload the image. Its not shown in the video. That's why I am asking you...
@OdooMates
@OdooMates 3 жыл бұрын
@@thanshidhap.p4743 it is show/explained in some video, let me check which video it is
@OdooMates
@OdooMates 3 жыл бұрын
In python: image_128 = fields.Image(string="Image", max_width=128, max_height=128) in xml:
@thanshidhap.p4743
@thanshidhap.p4743 3 жыл бұрын
@@OdooMates thanx😊
@criscitoman4831
@criscitoman4831 4 жыл бұрын
How can I move age ir id to the left like name or notes¿
@OdooMates
@OdooMates 4 жыл бұрын
in the form view ?
@criscitoman4831
@criscitoman4831 4 жыл бұрын
@@OdooMates Can I change it in the tree view?
@OdooMates
@OdooMates 4 жыл бұрын
try with widget="char" and see
@criscitoman4831
@criscitoman4831 4 жыл бұрын
​@@OdooMates Doesn't work , I also tried type="char"
How To Define Search View in Odoo12
10:53
Odoo Mates
Рет қаралды 16 М.
Record Rules in Odoo
19:50
Odoo Mates
Рет қаралды 32 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 82 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 26 МЛН
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
How to Add One2many Fields In Odoo
19:37
Odoo Mates
Рет қаралды 40 М.
Define New Menu and Actions in Odoo
22:07
Odoo Mates
Рет қаралды 49 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
Local GraphRAG with LLaMa 3.1 - LangChain, Ollama & Neo4j
15:01
Coding Crash Courses
Рет қаралды 22 М.
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 711 М.
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 269 М.
Odoo QWEB Templates - All You Need To Know!
21:23
AJScript Media
Рет қаралды 8 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 82 МЛН