Tap to unmute

Create a Wizard and Call it in Button Click Odoo

  Рет қаралды 34,314

Odoo Mates

Odoo Mates

Күн бұрын

Пікірлер: 103
@worldmayor2008
@worldmayor2008 3 жыл бұрын
Once again your tutorials have saved me after hours of trying ! Many thanks again ! :)
@OdooMates
@OdooMates 3 жыл бұрын
happy to hear it
@Jose-tw9bl
@Jose-tw9bl 4 жыл бұрын
Great explanation! Thank you!
@OdooMates
@OdooMates 4 жыл бұрын
Glad you enjoyed it!
@hunain_ak
@hunain_ak 5 жыл бұрын
Aesome tutorial, Do make a tutorial how to create new api's, and 3rd party integration.
@OdooMates
@OdooMates 4 жыл бұрын
odoo web service: kzbin.info/www/bejne/n6TNmaqBdrFpaa8
@neilsenarnachellum166
@neilsenarnachellum166 5 жыл бұрын
hello buddy I have a question. when I clicked on 'create appointment' button the new model pops up but i need to select the patient again. How can I automatically get the 'patient name' since the create appointment button is found in a specific patient form view? thanks
@OdooMates
@OdooMates 5 жыл бұрын
You can pass default value in context see this : kzbin.info/www/bejne/jnbWkGNnoqmmedk
@Kchbhi_34578
@Kchbhi_34578 3 жыл бұрын
Hope you are in good health and thanks for the great tutorials. I have a question. How can we create/show a pop-up which contain some input fields in website??? OR Show a pop-up on button click in odoo website which contains some input fields.
@OdooMates
@OdooMates 3 жыл бұрын
Using js and bootstrap modal you can do it.
@Kchbhi_34578
@Kchbhi_34578 3 жыл бұрын
Is there any reference code or link???
@alejandroalain7305
@alejandroalain7305 3 жыл бұрын
Hi Odoo Mates, how can i remove/hide the 'x' icon on the upper right of the wizard dialog?
@sadeequrhaman7948
@sadeequrhaman7948 4 жыл бұрын
Thank you Sir very well explained.
@OdooMates
@OdooMates 4 жыл бұрын
thanks brother
@louloutibthomassin
@louloutibthomassin 3 жыл бұрын
Hello, how would it be possible to set up the patient directly at the opening of the wizard ? With context ?
@OdooMates
@OdooMates 3 жыл бұрын
Yes possible, you can pass default value in context
@OdooMates
@OdooMates 3 жыл бұрын
kzbin.info/www/bejne/mGW2lniMophsprs
@mudassarali9582
@mudassarali9582 4 жыл бұрын
if i create the patient appointment through create button in wizard and store into appointment model, the record i have created through wizard in appointment , it will be temporary or permanent ?
@MSFPMUSIC
@MSFPMUSIC 4 жыл бұрын
Thanks for the video.. I did same as u did till 5:33.. But I didn't get even a button at that step 6:19.. And I continued doing same till ur video ends and getting error...can u pls help me... I'm on this task since 2 day.. Pls... Thanks in advance I'm doing in Odoo 14 and getting error.. The same I did in Odoo 13 and it gets working... Can u pls tell me what I need to change in Odoo v14.. Because I have to do this on Odoo14
@OdooMates
@OdooMates 4 жыл бұрын
in 14, access rights has to set for transient models too, is that might be the reason for ths issue ?
@MSFPMUSIC
@MSFPMUSIC 4 жыл бұрын
@@OdooMates Ok ,the issue is solved.. Thanks...
@MSFPMUSIC
@MSFPMUSIC 4 жыл бұрын
@@OdooMates I have a query. can u pls help me.. I have created a wizard for printing the report .. the wizard have two fields from date and to date... I have a join date in my model.. I have to print reports for those who joined in between the from date and two date... Now the wizard button prints all the records in my model as I didn't give the condition for that.. Can u pls say what condition does I need to give in the function.. I don't know how to give the condition as those are dates.... I sent you a mail with the corresponding code and wizard.. Pls check that too Hope u will help me... Thanks in advance
@OdooMates
@OdooMates 4 жыл бұрын
@@MSFPMUSIC hope we discussed it over the email
@tayssirzrafi6794
@tayssirzrafi6794 3 жыл бұрын
how did you solve this problem I have the same here !?
@winsen6002
@winsen6002 3 жыл бұрын
Hey thanks man this tutorial really help me at works!
@OdooMates
@OdooMates 3 жыл бұрын
glad that it helped
@winsen6002
@winsen6002 3 жыл бұрын
@@OdooMates but how to define price in wizard? It's like to pay something
@OdooMates
@OdooMates 3 жыл бұрын
@@winsen6002 you can add a field in wizard to enter the amount
@vanya91-89
@vanya91-89 3 жыл бұрын
Thank you!! It was very helpful!
@OdooMates
@OdooMates 3 жыл бұрын
Glad it was helpful!
@omarahmed299
@omarahmed299 4 жыл бұрын
tutorial about : 1 - what is api and how to create it 2 - ORM
@OdooMates
@OdooMates 4 жыл бұрын
Regarding Odoo ORM we are planning one soon
@omarahmed299
@omarahmed299 4 жыл бұрын
@@OdooMates thanks to the best Odoo channel
@mokranililia7471
@mokranililia7471 3 жыл бұрын
Can we inherit the wizard function from another model?
@OdooMates
@OdooMates 3 жыл бұрын
Yes as in the same way we do for normal models
@EdwarRinaldo
@EdwarRinaldo 3 жыл бұрын
hallo, i like your tutorial. many thanks, i have one question, how about the error when click create button ? can you more explained... many thanks
@OdooMates
@OdooMates 3 жыл бұрын
can you just send us the error,
@jamshadalalikkal9300
@jamshadalalikkal9300 3 жыл бұрын
hi bro @Edwar Rinaldo, i think you have asked about the error displayed when clicking on create button in this video ,there is no method defined in the python file(wizard model) for create button that is placed in the wizard form,so there is no function executed when clicked on the button so that the error is occured.
@EdwarRinaldo
@EdwarRinaldo 3 жыл бұрын
@@jamshadalalikkal9300 thats i mean, thanks
@OdooMates
@OdooMates 3 жыл бұрын
@@jamshadalalikkal9300 thanks for clarifying the doubt
@jamshadalalikkal9300
@jamshadalalikkal9300 3 жыл бұрын
@@EdwarRinaldo u r welcome 👍
@markjumpitguertin1806
@markjumpitguertin1806 3 жыл бұрын
I get a lot of help watching some of your videos, but you do guys do anything besides copying code from other modules and hacking it up? I find it incredibly difficult to learn from things that say "just search in the code for this and then copy it and change it". It's just a recipe for repeating mistakes from someone else's code.
@OdooMates
@OdooMates 3 жыл бұрын
Don't feel it as good method ? Rather than creating from scratch, adding each line, it feels better to take any existing code as template and to build from there, sorry if the same feels difficult for you
@markjumpitguertin1806
@markjumpitguertin1806 3 жыл бұрын
@@OdooMates The problem with this approach is that you are copying up old mistakes. I've seen it in a bunch of your videos, where you're copying up old (but still supported) ways of doing things. This also doesn't explain any of the WHY things need to be done, so when people run into something that they need to do that they can't just copy an example from ... they haven't really learned anything except how to search in the Odoo code base to find how it was done by someone else once upon a time, no matter if it was done well or correct.
@OdooMates
@OdooMates 3 жыл бұрын
If you see any non supported methods in any videos, feel free to comment it , so that we can pin that comment and that Will help others. As of my knowledge I haven't copied any non supported methods, Nice if you point it out. Also we have done tutorials in 12, 13 and 14
@ghassenmertah6997
@ghassenmertah6997 2 жыл бұрын
thank you for your effort , just a a question please , how to change field value in a model from a button in wizard,
@OdooMates
@OdooMates 2 жыл бұрын
in wizard fetch the original record using active_id in context, then using write method, we can update. see: kzbin.info/www/bejne/n5TPZXx7jLygq7c
@abdellahhajjam6654
@abdellahhajjam6654 3 жыл бұрын
Thank you !! how can we do the same but for a notebook in for view ? Thank you again !!
@OdooMates
@OdooMates 3 жыл бұрын
you mean add a button in notebook page and open the wizard ?
@abdellahhajjam6654
@abdellahhajjam6654 3 жыл бұрын
@@OdooMates i mean add a button and when we click it the notebook function ( editable=bottom) show up with one2many fields ......
@shadanh3556
@shadanh3556 2 жыл бұрын
Do you know how to get data on wizard from current record?
@OdooMates
@OdooMates 2 жыл бұрын
using context you can get active_id and then using browse you can take the current record
@shadanh3556
@shadanh3556 2 жыл бұрын
@@OdooMates hello.. hope you feeling good.. I want to ask you is there any relation between project and helpdesk module? In odoo community
@OdooMates
@OdooMates 2 жыл бұрын
@@shadanh3556 Not sure, so i will recommend you to check the settings -> technical -> database structure -> models, open the both the models, and see the available fields and see whether there is ..
@shadanh3556
@shadanh3556 2 жыл бұрын
@@OdooMates ok thank you!!🤍
@OdooMates
@OdooMates 2 жыл бұрын
@@shadanh3556 welcome
@mahmoudkhodeir531
@mahmoudkhodeir531 5 жыл бұрын
thank you
@supreetlaghate22
@supreetlaghate22 4 жыл бұрын
Please show how you created appointment logic also for wizard
@OdooMates
@OdooMates 4 жыл бұрын
This one: kzbin.info/www/bejne/gKTWk2RrdqmYr8k ?
@supreetlaghate22
@supreetlaghate22 4 жыл бұрын
Thanku so much :)
@khadijatouil8044
@khadijatouil8044 4 жыл бұрын
thanks for this videos. i tried to create a wizard for import a csv.file, so i follow the steps in this video but it does not work. could you help please?
@OdooMates
@OdooMates 4 жыл бұрын
Sure, so the wizard is not opening ?
@ihzaputra8054
@ihzaputra8054 9 ай бұрын
hi there is there any way to create a wizard in a duplicate button from odoo?
@riquimbily7078
@riquimbily7078 Жыл бұрын
thx for the video
@OdooMates
@OdooMates Жыл бұрын
@kennethlebron5844
@kennethlebron5844 3 жыл бұрын
How can I use the button outside of that form, for example, in the tree view before the create Patient button.
@abdulgafur3936
@abdulgafur3936 4 жыл бұрын
why you haven't showed create & cancel button code for creating & canceling appointment?
@OdooMates
@OdooMates 4 жыл бұрын
Create button will come by default, for adding buttons in the form see: kzbin.info/www/bejne/aYGkaIt3oN5ro6M
@OdooMates
@OdooMates 4 жыл бұрын
For creating record from code: kzbin.info/www/bejne/gKTWk2RrdqmYr8k
@abdulgafur3936
@abdulgafur3936 4 жыл бұрын
@@OdooMates Thank you
@fuhovu2225
@fuhovu2225 4 жыл бұрын
where iss test_name def???
@OdooMates
@OdooMates 4 жыл бұрын
May i know in which minute in the video this test_name is shown ...
@ephanitor6741
@ephanitor6741 4 жыл бұрын
13:20 This was just a placeholder and gets changed later
@mohamedboudekak8574
@mohamedboudekak8574 4 жыл бұрын
man u're so great thanks
@OdooMates
@OdooMates 4 жыл бұрын
Thanks for the comments.. Hope you will support us by referring the channel to your Odoo friend's :)
@mohamedboudekak8574
@mohamedboudekak8574 4 жыл бұрын
@@OdooMates of course
@AdeshPaul
@AdeshPaul 4 жыл бұрын
Thanks.
@OdooMates
@OdooMates 4 жыл бұрын
Welcome :)
@thisuraweerakkody3841
@thisuraweerakkody3841 4 жыл бұрын
My appointment from wont show the dropdown of many2one field patient and same for the wizard the menu to one dropdown wont show my created patients
@OdooMates
@OdooMates 4 жыл бұрын
you mean records are not shown in many2one fields ?
@thisuraweerakkody3841
@thisuraweerakkody3841 4 жыл бұрын
@@OdooMates just one field in the appointments form there is a many2one field showing the patient and the field in the wizard which shows patients records are not showing only create and edit is there but my other many2one fields working fine
@OdooMates
@OdooMates 4 жыл бұрын
@@thisuraweerakkody3841 is there any domain ?
@thisuraweerakkody3841
@thisuraweerakkody3841 4 жыл бұрын
@@OdooMates no domain
@thisuraweerakkody3841
@thisuraweerakkody3841 4 жыл бұрын
@@OdooMates this happens due tomy active field in the model I guess
@webcoder7157
@webcoder7157 4 жыл бұрын
How we can get Patient in wizard of current open record doctor's Please describe about that Thanks.
@mohammadsaqib1400
@mohammadsaqib1400 4 жыл бұрын
best eeffort,keep it up
@OdooMates
@OdooMates 4 жыл бұрын
If you feel the videos are helpful, please like the videos and support us by subscribing the channel and referring it with Odoo friends :)
@abhinavm.s1410
@abhinavm.s1410 4 жыл бұрын
Nice✌️
@OdooMates
@OdooMates 4 жыл бұрын
Thanks
@italaa86
@italaa86 5 жыл бұрын
Thanks man
@OdooMates
@OdooMates 5 жыл бұрын
Like the videos and subscribe the channel and support us
@charlesdonboscoa4041
@charlesdonboscoa4041 4 жыл бұрын
i tried type= action but keyError :False is comining
@OdooMates
@OdooMates 4 жыл бұрын
We have replied in the email, keyerror can be of many reasons
@charlesdonboscoa4041
@charlesdonboscoa4041 4 жыл бұрын
@@OdooMates I solve it putting instead of {} use() solving this erro odoo13 sir
How To Call Wizard From Menu Item Odoo
4:10
Odoo Mates
Рет қаралды 10 М.
Подсадим людей на ставки | ЖБ | 3 серия | Сериал 2024
20:00
ПАЦАНСКИЕ ИСТОРИИ
Рет қаралды 601 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 39 МЛН
路飞做的坏事被拆穿了 #路飞#海贼王
00:41
路飞与唐舞桐
Рет қаралды 26 МЛН
How To Add Smart Buttons in Odoo12 (type object)
21:42
Odoo Mates
Рет қаралды 20 М.
AI VOICE CHANGER 2024! EASY! [NEW BETTER]
11:24
Voice Changer
Рет қаралды 442
Record Rules in Odoo
19:50
Odoo Mates
Рет қаралды 32 М.