31.How To Create Wizard In Odoo || Create And Launch Wizard From Menu In Odoo | Odoo Transient Model

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 42

  • @HansMax
    @HansMax 3 роки тому +1

    great videos you are doing! thank you so much for teaching all this. you are doing this very very good in an excelent didactic way.

    • @OdooMates
      @OdooMates  3 роки тому

      thanks brother for the feedback and support

  • @PacoArronaC
    @PacoArronaC 3 роки тому +1

    Hi, I see you have an odoo-community- folder and an enterprise one, so is it possible to have both editions on the same server? and how to start one or another? thanks in advance

    • @OdooMates
      @OdooMates  3 роки тому

      ua-cam.com/video/l4jpz_bDI0Q/v-deo.html

  • @danielalejandrorobayo4630
    @danielalejandrorobayo4630 Рік тому

    How to get the form values when clicking on the 'create' button?. In this case you only gave a print message 'Button is clicked', but how to retrieve the values??

  • @malikkamil6596
    @malikkamil6596 2 роки тому +1

    hi how can i replace tax Amount(amount_by_group) by custom amount in odoo 14?any dacument for help / or video

  • @PacoArronaC
    @PacoArronaC 3 роки тому +1

    Hello friends, how this wizard form could be called automatically? for example after creating a new patient just after saving that the wizard launch to create the appointment with out pressing any button, thanks in advance...

    • @OdooMates
      @OdooMates  3 роки тому

      See: ua-cam.com/video/QpzBdLWEWsE/v-deo.html

  • @duvanzavaleta5800
    @duvanzavaleta5800 3 роки тому +1

    Great content, thank you

  • @pth80
    @pth80 Рік тому

    I need to filter 'lost reason' depend on stage of lead, could you please show me how to do it, thank you in advance!

  • @mohamedlellah8318
    @mohamedlellah8318 3 роки тому

    thank you
    in the next tutorial you can add in configuration of pycharm " -u om_hospital " for making upgrade automatically :
    --config=C:\odoo-14\odoo-14\debian\odoo.conf -u om_hospital

    • @OdooMates
      @OdooMates  3 роки тому

      ua-cam.com/video/ErzOia_A21w/v-deo.html

    • @futhedude4848
      @futhedude4848 3 роки тому

      look like it's not auto upgrade, it just upgrade by command.
      when ever u make a change and want to upgrade the module, you have to "Ctrl + C" to exit and run the command again

  • @futhedude4848
    @futhedude4848 3 роки тому +1

    The "save to database" step is in video 34 in case some one wonder where's the save process.

    • @OdooMates
      @OdooMates  3 роки тому

      save data to database ?

    • @futhedude4848
      @futhedude4848 3 роки тому +1

      @@OdooMates yes, i mean this video only show how to create popup, and in "create" function, you just let it print out a message and do nothing else.
      on video #34, you have handle the "create" function to save the data to database.

    • @OdooMates
      @OdooMates  3 роки тому

      @@futhedude4848 ua-cam.com/video/z-4MQVh5R_0/v-deo.html

  • @sindooram5140
    @sindooram5140 Рік тому

    Button readonly when adding in one2many field on wizard .How to fix

  • @redhammer123
    @redhammer123 Рік тому

    How can i generate a form page when we click that generate button

  • @somebody88888
    @somebody88888 3 роки тому +1

    How to populate Many2many field in wizard?

  • @malikkamil6596
    @malikkamil6596 2 роки тому +1

    hi sir , I created I created Many2 many field in wizard how can i get value in pdf report and excel report
    companies = fields.Many2many(comodel_name='res.company', string='Company')
    I try but it works when only 1 company selected if more than 1 company selected it shows error excel
    worksheet.merge_range(row, col + 5, row, col + 6, 'Company', format_data_header)
    worksheet.merge_range(row, col + 7, row, col + 8, str(wizard_data.companies.name), format_data_left)
    in pdf it works when only 1 company selected if more than 1 company selected it shows error
    comp = wizard_data.companies.name
    help plz

    • @malikkamil6596
      @malikkamil6596 2 роки тому

      error
      File "/home/kamal/odoo/odoo14/odoo14/odoo/models.py", line 5000, in ensure_one
      raise ValueError("Expected singleton: %s" % self)
      ValueError: Expected singleton: res.company(2, 1)

    • @OdooMates
      @OdooMates  2 роки тому

      you may have received singleton error,
      change the below line:
      worksheet.merge_range(row, col + 7, row, col + 8, str(wizard_data.companies.name), format_data_left)
      to
      worksheet.merge_range(row, col + 7, row, col + 8, str(wizard_data.companies.mapped('name'), format_data_left)

    • @malikkamil6596
      @malikkamil6596 2 роки тому +1

      @@OdooMates after replacing below all lines goes red and shows error

    • @OdooMates
      @OdooMates  2 роки тому

      May be some issue In the code we have shared just change wizard.companies.name to wizard.companies.mapped('name')

    • @malikkamil6596
      @malikkamil6596 2 роки тому +1

      @@OdooMates Thanks A lot working now

  • @joeltovarramos2250
    @joeltovarramos2250 2 роки тому

    I activate the developer mode and even developer with assets and I don't see the bug on the wizard, somebody has experienced the same?

    • @OdooMates
      @OdooMates  2 роки тому

      What is the issue that you are facing