Skip to content
Snippets Groups Projects
  1. May 25, 2023
    • Paul Morelle's avatar
      [FIX] website_customer: make res.partner.tag.classname overridable · bef7f288
      Paul Morelle authored
      
      The selection function get_selection_class for the field classname has
      obviously been thought to be overridable by subclasses in order to add
      new selection classes if need be.
      
      However, before this commit the method was passed directly to the
      Selection constructor, which used the callable object directly. If it
      was overridden by a subclass, the Selection object would still use the
      same non-overridden callable instance.
      
      With this commit, we give the name of the method instead of the
      callable, which makes that the method is resolved after all overrides,
      and therefore the resulting selection will be the overridden one.
      
      closes odoo/odoo#122341
      
      X-original-commit: 91bea596
      Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
      Signed-off-by: default avatarPaul Morelle (pmo) <pmo@odoo.com>
      bef7f288
  2. Jul 09, 2020
  3. Aug 03, 2019
    • Romain Derie's avatar
      [IMP] website*: use published mixin rather than own field · 7a90dedd
      Romain Derie authored
      *website_crm_partner_assign, website_customer
      
      Before this commit, some models would create their own `website_published`
      field rather than using the `website.published.mixin` mixin which should be
      used instead.
      
      That was done to be able to override the default value of the boolean.
      
      This commit simply adds the possibility to override the default value of the
      mixin field.
      
      Also, help and string could simply be added on xml views rather than overriding
      the field.
      7a90dedd
  4. Sep 21, 2018
    • Nimesh Jethva's avatar
      [IMP]website_*: Improvement in model description · 53e8aba1
      Nimesh Jethva authored
      Purpose of this commit is to give description more "business oriented"
      because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers.
      
      Related Task ID : 37311
      53e8aba1
  5. Jul 12, 2016
  6. Aug 31, 2015
  7. Jan 28, 2015
  8. Jan 09, 2015
  9. Jan 07, 2015
Loading