14.How To Control Status bar And States Using Buttons || Odoo 14 Workflows || Odoo Statubar

Поділитися
Вставка

КОМЕНТАРІ • 43

  • @abdulazimatapy8872
    @abdulazimatapy8872 3 роки тому +4

    thank you brother because you wait until call to praying finished , the way of explaining is great , go on with much succcess

  • @lukejones7626
    @lukejones7626 3 роки тому +4

    Your videos are SO helpful! Thank you!!! 😁😁

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

    lots of love bro ,the way you explain is very clear and its interesting .. i watch your videos only take care ,,, please keep on updating new videos
    🥰😇

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

      thanks for the support and kind words brother

  • @Albaraa-Omar
    @Albaraa-Omar Рік тому +1

    Thank you Odoo Mates❤

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

    is odoo 12 -15 almost everything is same or which tutorials playlist should i choose as a odoo 15 beginner
    can i choose 12 and 14 playlist ,is that okay?

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

      will recommend you to start with odoo 14 playlist

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

    Hello , on the sale order after an order is confirmed during a new one it still the save button present, It will be better that it would be ready for the next new one instead of click save botton after confirm, how can I acomplish this?

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

      you mean to add a create button inside the form view ?

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

      @@OdooMates No, I will try to explain better, when it is being creating a new sale order or quotation and the confirm button is pressed the record is created but the save button still there which I think it is not needed any longer, I want to change this behavior so you are ready to start inmediatly another sale with the create button instead save button, right now you have to press save to be ready for a new record- I would be like "pressing" the save button autmatclly afer using confirm

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

      For this functionality in the odoo core you have to make necessary changes, and should have enough knowledge with odoo js and also make sure the changes won't affect any default functionalities

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

      @@OdooMates Thanks again, I understand you point, it is good to go with the flow of odoo and as I do not know js yet I will let this for later. I just wanted to save extra-click to users...

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

      Glad that you are trying to enhance the user experience of odoo and wish you can implement this once you move forward. Wishing you a good odoo days ahead brother

  • @ashaAhmed-hi5yl
    @ashaAhmed-hi5yl 3 роки тому +1

    Why don't the buttons appear in the new fields I created after add the control statusbar

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

      you mean the buttons are not getting added in the header?

    • @ashaAhmed-hi5yl
      @ashaAhmed-hi5yl 3 роки тому

      @@OdooMates no the buttons add in the header for patient already exist but when l create new patient the button don't show

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

    Hi, my fieldname is "state_select". So how can I put it to this place : states = "draft, done, confirm" ?

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

      you have to use reserved keyword state for the state field or you can hide it using the attrs option: see, ua-cam.com/video/IXcrxXmedwM/v-deo.html

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

      @@OdooMates Thank you very much

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

      @@wanamal92

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

    i have one doubt in the cancel button. when you click the first tym cancel we have a 3 options ("draft,done,confirm") but once control set done i again tried cancel button , get one option 'draft'

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

      i too confused in this topic please advice me

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

      not clear with the question, could you send us a small screen recording of the same to odoomates@gmail.com

  • @ihsannuruliman3656
    @ihsannuruliman3656 2 роки тому +2

    hi Odoo mates, I'm a bit confused. Sometimes we have to iterate over self object (for record in self) as when we use @self.depends decorator, and sometimes we call the self object directly as in this video when we define the action of the button. Probably you can clear this up thanks.

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

      Reason for iterating self over the for loop is to avoid the single ton error: ua-cam.com/video/Rv44nFVn_5U/v-deo.html

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

      ua-cam.com/video/PDR-epV7L-c/v-deo.html

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

    hello, can you teach me how to make each different state has its own submenu?

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

      you mean to show the different states records in different menus ? if so, see: ua-cam.com/video/oLzVr8JYzf0/v-deo.html

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

    I am getting this error on odoo 15. How can i solve.
    UncaughtPromiseError
    Uncaught Promise > While parsing modifiers for button: for modifier "invisible": Unknown field state in domain

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

      if you are doing development and getting this error, add field named state to the corresponding view

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

    thank you

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

    mate take a break, the prayer time has come in :)

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

    doesn't work for me
    Error context:
    view: ir.ui.view(1408,)
    xmlid: view_patient_form
    view.model: hospital.patient

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

      Can I see the code that you have added

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

      @@OdooMates i dont know why but when i restart my pc and upgrade it works

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

      @@boualiyacine its because as you added new function, the function that get executed on button click

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

      @@OdooMates thank you very much for responding