70. How To Inherit A Function In Odoo || Odoo Inheritance || Odoo 15 Tutorials | Odoo 15 Development

Поделиться
HTML-код
  • Опубликовано: 15 апр 2022
  • How to inherit a function in Odoo. How to inherit an existing function in Odoo. Steps to inherit existing method in Odoo. Odoo 15 inheritance. Create module in odoo 15. Odoo 15 development tutorials. Build module in Odoo. Odoo 15 development tutorials. Inheritance mechanism in odoo 15. Odoo inheritance. Odoo functions. Inherit odoo function in custom module. Inherit function in custom module.
    Odoo 15 Playlist: • How To Configure Odoo1...
    Website: www.odoomates.tech/
    Instgram: / odoomates
    Github: github.com/odoomates
    Email : odoomates@gmail.com
    Facebook: / odoomate
    Twitter: / odoomates
    Support Us in Ko Fi : ko-fi.com/odoomates
  • НаукаНаука

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

  • @smsmzean759
    @smsmzean759 4 месяца назад +1

    Thanks sir!

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

      welcome

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

      chat.whatsapp.com/L8LahnQbriE82M5gR4dxKT

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

    thanks ..many thanks

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

    More informative

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

      glad to hear it and thanks for the support

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

    Is it possible to inherit a function inside a function? I want to inherit _get_payment_terms_account() inside _recompute_payment_terms_lines() in account_move class.

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

    is that possible to change the username ?

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

      from ui or from code ?

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

    Hi thanks for your material that it's really useful, i have favor to ask,can you do this example with the message_post method from mail.thread model? because i follow the same steps but i have a lot of errors.
    this is the function:
    def message_post(self, *,
    body='', subject=None, message_type='notification',
    email_from=None, author_id=None, parent_id=False,
    subtype_xmlid=None, subtype_id=False, partner_ids=None,
    attachments=None, attachment_ids=None,
    add_sign=True, record_name=False,
    **kwargs):
    Greetings

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

    Hello Thanks for the tutorials
    I'm here after an issue, if you help I will be thankful (paid assistance is Ok)
    Issue is I have a module for credit limit approbation, I need to custom it more :
    After click action_confirm() I need to launch a wizard with a description text and a button "Ask Over Limit Approval"
    >> After user click that button on wizard, sale order should go into state waiting_over_limit_approval
    def _action_confirm(self):
    if self.partner_id.active_limit and self.partner_id.enable_credit_limit and self.is_in_account_customer:
    if self.due_amount >= self.partner_id.blocking_stage:
    if self.partner_id.blocking_stage != 0 and not self.user_has_groups('sales_credit_limit.group_account_credit_limit_approver'):
    action = self.env.ref('sales_credit_limit.sale_confirm_action').read()[0]
    return action
    return super(SaleOrder, self)._action_confirm()
    Sincerely

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

      is it resolved ?

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

      @@OdooMates n
      Hello not yet

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

    Thanks sir!

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

      Most welcome! and advance happy new year brother