64. How To Launch Wizard From Button In Odoo | Return Wizard From Button in Odoo | Odoo Development

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024

Комментарии • 16

  • @SamirSELLAMI
    @SamirSELLAMI 2 года назад +1

    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 ?

    • @OdooMates
      @OdooMates  2 года назад +1

      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'

    • @SamirSELLAMI
      @SamirSELLAMI 2 года назад

      @@OdooMates Great, thanks. I will wait for upcoming videos. For example, how to load the current record set (appointment_id) in the launched Wizard ?

    • @OdooMates
      @OdooMates  2 года назад +2

      @@SamirSELLAMI it is shown in this video: ruclips.net/video/icl4IEWWmuU/видео.html

    • @SamirSELLAMI
      @SamirSELLAMI 2 года назад +1

      @@OdooMates Very nice, thank U bro.

    • @OdooMates
      @OdooMates  2 года назад +1

      @@SamirSELLAMI

  • @sindooram5140
    @sindooram5140 Год назад

    Is it possible to open an existing form view using a wizard?

  • @ShadHastam
    @ShadHastam 8 месяцев назад

    Thanks

  • @indeveloperid6061
    @indeveloperid6061 2 года назад +1

    is it work at odoo 12 and 13 ?

  • @sahanishiv9500
    @sahanishiv9500 4 месяца назад

    pls help
    how we can cancel appointment from wizard

  • @francescoballerini3336
    @francescoballerini3336 2 года назад +1

    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 ^^

    • @OdooMates
      @OdooMates  2 года назад +1

      yes the only option now is to reload the same wizard with active_id in odoo 15

  • @sadasdasd-sf8kx
    @sadasdasd-sf8kx Год назад

    also need to show the return value in view

  • @sadasdasd-sf8kx
    @sadasdasd-sf8kx Год назад

    need to return the reason in the view