Skip to content
Snippets Groups Projects
  1. Feb 25, 2021
  2. Feb 24, 2021
  3. Feb 25, 2021
  4. Feb 24, 2021
  5. Jan 21, 2021
    • Nisha patel's avatar
      [IMP] hr_holidays: Improve Time Off activity summary · 7e0ff027
      Nisha patel authored
      
      Currently, Dates displaying on activities of Time Off application are
      not easy to read for users and We already have dates on the form with
      the right user format. So we don't need it again on the chatter
      
      So in this commit, we improve the activity summary message by
      removing the dates from summary of activity.
      
      closes odoo/odoo#60610
      
      Taskid: 2339411
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      7e0ff027
  6. Feb 17, 2021
  7. Feb 24, 2021
    • Christophe Monniez's avatar
      [FIX] tests: test support for modules without `__init__.py` · db6a1308
      Christophe Monniez authored
      
      Now that a test exists to enforce `__init__.py` in odoo module, we must
      ensure that we keep the feature.
      
      For that reason, a white-list system is added in `test_dunderinit` and a
      test is added in order to be sure that a module without `__init__.py` can
      be exists.
      
      This this is made of a fake module `test_data_module` without
       `__init__.py` and a test module which ensure the fake module was
      installed.
      
      closes odoo/odoo#66778
      
      X-original-commit: 506755ef
      Related: odoo/enterprise#16653
      Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
      db6a1308
    • Christophe Monniez's avatar
      [FIX] packaging: add missing __init__py files · d1bd6acc
      Christophe Monniez authored
      Odoo modules without `__init__.py` are not recognized as python modules
      and therefore not packaged by standard tools.
      
      X-original-commit: 45e14adb
      d1bd6acc
    • Christophe Monniez's avatar
      [FIX] tests: add a linter to check for __init__.py in modules · 852aa5ae
      Christophe Monniez authored
      When a module is added, it happens that the `__init__.py` file is
      forgotten. In that case, those modules are not packaged.
      
      With this commit, a test is added to check that each Odoo module has the
      file.
      
      X-original-commit: edabed7b
      852aa5ae
    • Christophe Monniez's avatar
      [FIX] packaging: include json files · c4069b90
      Christophe Monniez authored
      
      Some json files are necessary for some modules but are not included in
      packaging.
      
      closes odoo/odoo#66779
      
      X-original-commit: d33c05b6
      Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
      c4069b90
    • Géry Debongnie's avatar
      [FIX] web: add correct information in clipboard button (error dialog) · f4250d3d
      Géry Debongnie authored
      
      Before this commit, the way we managed the clipboard button in an error
      dialog was the following:
      
      1. crashmanager create an error dialog and give it the error information
      2. error dialog does some processing to format error traceback and
      display it
      3. crashmanager wait for it to be ready, then will manipulate the dom to
      add the clipboard button, by using the information it knows (NOT the
      processed information bye the dialot)
      
      This is obviously a mistake, so what we simply do in this commit is add
      the clipboard button in the error dialog, so it has updated information.
      
      Note that we also fix two other small issues:
      
      - errors coming from promise crashes (unhandled rejections) were not
      decorated with correct file information
      - chrome traceback was not correct because it has some native
      information that does not correspond to a stackframe
      
      closes odoo/odoo#66660
      
      Signed-off-by: default avatarGéry Debongnie (ged) <ged@openerp.com>
      f4250d3d
    • Katherine Zaoral's avatar
      [ADD] l10n_ar: generic changes to use in QR code · f4cb05e2
      Katherine Zaoral authored
      
      AFIP give us new resolution 4291 that request to print QR code in
      printed version of electronic invoices. For that we:
      
      1) update the xml report footer style
      2) add generic method to sanitze the identification number we are
      sending, the sanitize method is added here in order to be re used for
      other functionalities across electronic invoice and reports. If we are
      not able to sanitize the number then we show an error to the user
      3) update translations to add new raise message translated term
      
      NOTE: Fix pylint errors: This ones pop up when running this PR "Check Style'
      in runbot
      
      closes odoo/odoo#65034
      
      Related: odoo/enterprise#15949
      Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
      f4cb05e2
Loading