#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
@erfanjahanshahloo91705 жыл бұрын
this is best video. Keep publishing video
@OdooMates5 жыл бұрын
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
@bonoandlavin4 жыл бұрын
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?
@abduljabbar83833 жыл бұрын
@Odoo Mates i want to create form with notebook. can i display record in tree view in note? Thanks.
adding one2many in notebook: kzbin.info/www/bejne/lYDCpYF4mcxmfrM
@abduljabbar83833 жыл бұрын
@@OdooMates thank you so much. very helpful.
@OdooMates3 жыл бұрын
@@abduljabbar8383 welcome :)
@kashifmanzoor79494 жыл бұрын
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....
@OdooMates4 жыл бұрын
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...
@kashifmanzoor79494 жыл бұрын
@@OdooMates thank you....
@RalphNgOfficial4 жыл бұрын
May I know if the "Patient app" is available to be downloaded for learning purpose? Thanks
@OdooMates4 жыл бұрын
yes: apps.odoo.com/apps/modules/12.0/om_hospital/
@oumaimaelrhazal56495 жыл бұрын
Amazing videos, please keep uploading. Already subscribed on this amazing chanel.
@OdooMates5 жыл бұрын
Refer the channel to your friends and please ask them to subscribe
@moussa75385 жыл бұрын
@@OdooMates i already done it like now i want to share it
@hectorherrera41932 жыл бұрын
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 !
@OdooMates2 жыл бұрын
is it to filter the total records in the model ? if yes domain for action will do
@hectorherrera41932 жыл бұрын
@@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?
@supreetrandom6513 жыл бұрын
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
@AdeshPaul4 жыл бұрын
Thanks a lot sir.
@OdooMates4 жыл бұрын
Happy to hear it :)
@MuhammadImranSarwar-dh4rv4 жыл бұрын
Sir it's very good video. Is there any video about pivot view can you help me out with pivot view please
@OdooMates4 жыл бұрын
Hope we will release a video on basic pivot view soon
@MuhammadImranSarwar-dh4rv4 жыл бұрын
@@OdooMates Please try to upload as soon as possibile
@syafiqahsuhailah51013 жыл бұрын
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?
@OdooMates2 жыл бұрын
Did you define the field named 'name in the corresponding model ? See: kzbin.info/www/bejne/Y6u7n5-vmLiLpck
@meriemhoubad2563 жыл бұрын
merci beaucoup pou l explication svp commnet faire patterns pour les adresse maisoin comme 123 st canada
@OdooMates3 жыл бұрын
For address, you can separate fields as it exists in the partner form
@AshishkumarSingh-o6w Жыл бұрын
How does from view gets attached to model ir.window.act_window , we haven't defined any connection
@OdooMates Жыл бұрын
kzbin.info/www/bejne/Y2Oocqdvo7NnpZI
@ismailely86544 жыл бұрын
Any idea how to hide the id shown above in form view "hospital.patient,2"
@OdooMates4 жыл бұрын
see this video: kzbin.info/www/bejne/mpDGqoOpi8hqrMk
@thanshidhap.p47433 жыл бұрын
Helloo odoomate, please describe how you upload the images
@OdooMates3 жыл бұрын
you can define a field of type binary
@thanshidhap.p47433 жыл бұрын
@@OdooMates yes. I did that. But how you upload the image. Its not shown in the video. That's why I am asking you...
@OdooMates3 жыл бұрын
@@thanshidhap.p4743 it is show/explained in some video, let me check which video it is
@OdooMates3 жыл бұрын
In python: image_128 = fields.Image(string="Image", max_width=128, max_height=128) in xml:
@thanshidhap.p47433 жыл бұрын
@@OdooMates thanx😊
@criscitoman48314 жыл бұрын
How can I move age ir id to the left like name or notes¿
@OdooMates4 жыл бұрын
in the form view ?
@criscitoman48314 жыл бұрын
@@OdooMates Can I change it in the tree view?
@OdooMates4 жыл бұрын
try with widget="char" and see
@criscitoman48314 жыл бұрын
@@OdooMates Doesn't work , I also tried type="char"