Hi, Once the wizard lunched, will the button « Cancel Appontement » work ? I mean we should add more logique to make the state in Cancel. How we add logique to wizard buttons ?
yes, the logic for cancelling the appointment is done is upcoming video: the code is as follows: def action_cancel(self): self.appointment_id.state = 'cancel'
Hi! is there a way to avoid wizard close when I click a button? return {"type": "ir.actions.do_nothing"} doesn't work for me in Odoo15 I can't simply re-load the wizard, because I need to keep the original active_id. Thank you ^^
Hi,
Once the wizard lunched, will the button « Cancel Appontement » work ? I mean we should add more logique to make the state in Cancel. How we add logique to wizard buttons ?
yes, the logic for cancelling the appointment is done is upcoming video:
the code is as follows:
def action_cancel(self):
self.appointment_id.state = 'cancel'
@@OdooMates Great, thanks. I will wait for upcoming videos. For example, how to load the current record set (appointment_id) in the launched Wizard ?
@@SamirSELLAMI it is shown in this video: ruclips.net/video/icl4IEWWmuU/видео.html
@@OdooMates Very nice, thank U bro.
@@SamirSELLAMI
Is it possible to open an existing form view using a wizard?
Thanks
Welcome
is it work at odoo 12 and 13 ?
yes it will work
pls help
how we can cancel appointment from wizard
Hi! is there a way to avoid wizard close when I click a button?
return {"type": "ir.actions.do_nothing"} doesn't work for me in Odoo15
I can't simply re-load the wizard, because I need to keep the original active_id. Thank you ^^
yes the only option now is to reload the same wizard with active_id in odoo 15
also need to show the return value in view
need to return the reason in the view