31. How To Add Statusbar In Odoo Development || Odoo 15 Development Tutorials

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

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

  • @alielnagar2
    @alielnagar2 Год назад +1

    thank you

  • @techbi.solutions
    @techbi.solutions 2 года назад +1

    thanks

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

      ❤️❤️❤️

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

    Are the “statusbar” features (clickable, state visibility) available in lower Odoo version 12 .. 14 ?

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

      Yes it's available in all versions ❤️

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

      @@OdooMates Great thank u ✌️

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

      @@SamirSELLAMI

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

    Hello sir thanks for the videos. I have a question, how can I create an approver view? I dont know how i can make the same view visible from another menu with the approver button. Thanks!

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

      ruclips.net/video/Lkhnvh6dhhA/видео.html

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

    Hi, if we have only made three options visible, then how will we mark an appointment for canceled, if its not visible?

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

      That state will be visible only when the record is in that state

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

      Yes, suppose we have created a new appointment, but now i want want cancel it; but only the default three options are available, so how to get the canceled status

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

      So how you are controlling the changing of the state, is it directly by clicking on status bar or by other buttons in form?

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

      At present using only status bar

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

      If so you have to show only all the states in the status bar, so user can select from it, the statusbar_visible option can be used when status bar is not clickable or when the states are controlled from buttons or code

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

    hello i am in product.template model in odoo14 i need to print company name on custom pdf report how i can? help plz

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

      if you have recordset of the product, you can get company as follows: product_id.company_id.name

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

      @@OdooMates i am using docs as product when i call product.company_id it prints res.company() but when i call it prints nothing and no error (model have field company_id and related model to field res.company)

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

      help plz

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

      @@muhammadkamal9245 if you have recordset of the product, you can get company as follows: product_id.company_id.name

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

      can you confirm whether the company is set in the product or not ?

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

    statusbar_visiable="draft,in_consultation,done"/> i made this but cancel button is still in screen. why ?

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

      The record is In the cancel state right ?

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

      Also it's visible, seems there is small typing mistake in visible

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

    explain how to add status bar stages using many2one field

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

      only difference is define a many2one field instead of selection field

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

      @@OdooMates yes but how can make clickable false in many2one field. I want to hide other state in particular state

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

    When ı change nolabel=1 to zero, nothing changed. Why we should set to 1 ?

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

      not necessary there, as the field is outside the group tag

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

    How to generate an approval request?

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

      how you are planning to implement approvals in communtiy

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

      I'm thinking of creating it myself from scratch

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

      Okay so let us know, how you planning to do or what guidance we can provide you for the same