Inherit And Add Buttons To Existing Views in Odoo

Поделиться
HTML-код
  • Опубликовано: 10 май 2020
  • #odoodevelopment #odootutorials #odoodevelopmenttutorials
    How to inherit and add new button to existing views in Odoo. Inherit and make changes inside existing views in Odoo. Odoo inheritance mechanism.
    Button Types: • Button Types in Odoo
    For Defining Button Action see: • Control States and Sta...
    Email: odoomates@gmail.com
    Donate & Support: ko-fi.com/odoomates
  • НаукаНаука

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

  • @italaa86
    @italaa86 7 месяцев назад

    Hello Thanks
    What if want to inherit a form without any smart button before and add first one ??

  • @moulaabyr3163
    @moulaabyr3163 3 месяца назад

    hello sir m
    what if I want to add a button in an inherited tree view next to the create button and this button triggers a wizard

  • @unghoangtu1256
    @unghoangtu1256 3 года назад

    how can ii invisible button with type = action.

  • @DuyNguyen-ns2rl
    @DuyNguyen-ns2rl 4 года назад

    Hey bro, how to disable drop and drag in kanban view odoo 12 ?

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

      See: ruclips.net/video/aQ7oGcsD6ow/видео.html

  • @pfe2056
    @pfe2056 4 года назад

    Hello, please how can i load my customized version of odoo to a server, so i can use it from different computers with differents users?

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

      if you are asking about adding custom modules that you developed, add a new custom addons path in server and using copy commands or via git you can move this to server

    • @pfe2056
      @pfe2056 4 года назад

      @@OdooMates yeah, thank you
      And how to use the same database from all these computers.?

  • @unghoangtu1256
    @unghoangtu1256 3 года назад +1

    if my form have 2 button with same name, show can i invisible just 1 button
    many thanks

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

      use positional argument to specify the correct one like this, button[@name='test'][1] , like this

  • @RoconAlex
    @RoconAlex 3 года назад

    if there is no button already in the header section how we can refer?

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

      you can try as follows: www.odoo.com/forum/help-1/adding-a-custom-button-to-header-of-res-partner-149018

  • @ajithpoojari9660
    @ajithpoojari9660 3 года назад +1

    Sir how can i inherit the confirm button from purchase.order model to my custom module

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

      is there any relation between your model and purchase order model ?

    • @ajithpoojari9660
      @ajithpoojari9660 3 года назад +1

      @@OdooMates yes sir, i have added selection field in purchase order and how can i connect selection field and confirm button there.....

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

      @@ajithpoojari9660 is it selection field or many2one ? if it is many2one field, then you can do like this: self.field_name.function_name_of_confirm_button()

    • @ajithpoojari9660
      @ajithpoojari9660 3 года назад

      @@OdooMates it's selection fiel. I have given 2 values valid and invalid there... If i give valid confirm button should perform the action

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

      @@ajithpoojari9660 how you will link a selection field with purchase.order

  • @alejandroalain7305
    @alejandroalain7305 3 года назад +1

    Please fix your audio.

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

      sorry for the trouble

    • @alejandroalain7305
      @alejandroalain7305 3 года назад +1

      @@OdooMates no problem, your video is very helpful to odoo community

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

      Happy to know that, we have tried to improve the noice and speed in the recent videos