Skip to content
Snippets Groups Projects
  1. Sep 18, 2023
  2. Sep 17, 2023
  3. Sep 15, 2023
  4. Sep 14, 2023
    • Josse Colpaert's avatar
      [FIX] l10n_es_edi_sii: bien inversion should be properly set for sii info · b8e2b893
      Josse Colpaert authored
      
      The SII module adds some fields on the taxes, so after installing
      the module, those fields need to be set on the already installed CoAs.
      
      We forgot to set the l10n_es_bien_inversion field, which is used in
      l10n_es_edi_sii to send the right information about the taxes to the gov.
      
      closes odoo/odoo#135456
      
      X-original-commit: 1b37eaaf
      Signed-off-by: default avatarOlivier Colson (oco) <oco@odoo.com>
      b8e2b893
    • Louis (loco)'s avatar
      [FIX] *: enable to use the backslash character in a field label of form · 03f230a7
      Louis (loco) authored
      
      *website
      
      Steps to reproduce the bug:
      - Drop the "Form" snippet on the website.
      - Add a new field.
      - Replace the field label by "test\".
      - Save.
      => Traceback of type "Cannot read properties of null (reading
      'dataset')" appears.
      
      In the `start()` function of the `s_website_form` public widget, the
      field names of the form are extracted thanks to the `serializeArray()`
      function. The field elements are then found by doing a `querySelector()`
      on the field names. In our case, the field name of the new field
      extracted by `serializeArray()` is `test\\` (there are two backslashes
      because the field name is a string so the first backslash has to be
      escaped by a second backslash). The problem is that this string has to
      be escaped one more time in order to be used in a `querySelector()`. As
      it is not the case, the result of the `querySelector()` is `null`
      leading to a traceback when the code tries to access its dataset. To
      solve the problem, the character `\` is encoded before being stored in
      the `name`, `data-name` or `data-visibility-dependency` attribute of the
      field element. Thanks to the encoding, the `querySelector()` operation
      can perform correctly on those attributes.
      
      opw-3470291
      
      closes odoo/odoo#134021
      
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      03f230a7
    • Jinjiu Liu's avatar
      [FIX] web_editor: infinite loop in lists in table · b1a0e004
      Jinjiu Liu authored
      Reproduction:
      1. Open Notes App
      2. Type text in two lines
      3. Add a table
      4. Select the first two lines and press backspace
      5. Page will become unresponsive.
      
      This is a backward port of: https://github.com/odoo/odoo/pull/126364
      
      
      
      task-3504499
      
      closes odoo/odoo#135486
      
      Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
      b1a0e004
    • pash-odoo's avatar
      [FIX] hr_skills: fix resume end date wrong selection · 1523a8cd
      pash-odoo authored
      
      before this commit, in resume we are able to put end date less than start date
      which is not possible in real life.
      make change in constraint to check selected end date is greater than start date.
      make changes in demo data of end date which are according to new changes.
      
      task-3397726
      
      closes odoo/odoo#134484
      
      X-original-commit: afffd3e4
      Signed-off-by: default avatarSofie Gvaladze (sgv) <sgv@odoo.com>
      1523a8cd
    • roen-odoo's avatar
      [FIX] point_of_sale: make sure FP is not applied twice on refund · b1665575
      roen-odoo authored
      
      current behavior:
      When a product with tax included is sold with a fiscal position that
      match the tax to a tax of 0%, then when you refund this order the
      fiscal is applied a second time. This result in the 15% tax removed 2
      times and the price of the product is incorrect.
      
      steps to reproduce:
      - Create a product with 15% tax included
      - Create a fiscal position that match the tax to a tax of 0%
      - Create a POS with this fiscal position
      - Open PoS, and make an order with the product
      - Applyy the fiscal position
      - Refund the order
      - The price of the product is not the same as the one of the original
        order.
      
      opw-3371028
      
      closes odoo/odoo#133620
      
      Signed-off-by: default avatarRobin Heinz (rhe) <rhe@odoo.com>
      b1665575
  5. Sep 13, 2023
  6. Sep 12, 2023
  7. Sep 11, 2023
    • Fabien Meghazi's avatar
      [ADD] base: add support for custom functions in imbus & cron_trigger notify · 71b5ffd7
      Fabien Meghazi authored
      
      This patch provides the possibility to implement a custom security layer on top
      of Odoo's bus notification system (and cron live triggering system) which both
      use postgresql's NOTIFY command.
      
      The key addition is the `ODOO_NOTIFY_FUNCTION` environment variable (opt-in),
      which can now define a postgresql function to be called instead of the NOTIFY
      command. This allows for greater flexibility and control over the notification
      and triggering mechanisms within Odoo.
      
      closes odoo/odoo#130370
      
      Signed-off-by: default avatarFabien Meghazi (fme) <fme@odoo.com>
      71b5ffd7
    • Antoine Boonen's avatar
      [IMP] hr_expense: Don't hide taxes on hr.expense when product has cost · 25923e66
      Antoine Boonen authored
      
      Problem
      ---------
      In 15, taxes are hidden from hr.expense when the expense category has a
      cost. They can however be configured and added. The current behaviour is
      counter intuitive.
      
      Objective
      ---------
      Don't hide taxes when product has cost in v15.
      
      Solution
      ---------
      Remove the `hidden` attribute in the expense xml form as well as the
      `groups` attribute.
      
      task-3491868
      
      closes odoo/odoo#134147
      
      Signed-off-by: default avatarQuentin De Paoli <qdp@odoo.com>
      25923e66
    • miad-odoo's avatar
      [FIX] mass_mailing: fix finding duplicate mails · 66f9aa25
      miad-odoo authored
      
      Before the commit, the _get_seen_list() function in the mass_mailing module was
      not able to correctly identify all the duplicate email addresses in a given mass
      mailing. This was because the function chose and used only one way to find an
      email address for each record in the mailing list, even though there are many
      ways to find an email address for a record.
      
      For example, a crm.lead record might have an email address in its partner_id
      field, but it might also have an email address in its email_normalized field.
      This can vary from record to record.
      
      To fix this issue, the _get_seen_list() function was updated to only look at the
      email address to which emails have already been sent, rather than trying to
      fetch it from the record itself. This ensures that all duplicate emails are
      correctly identified and that no duplicate emails are sent in the mass mailing.
      
      Task-3234378
      
      closes odoo/odoo#134867
      
      X-original-commit: dc0ccc19
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      66f9aa25
    • Francesco Ballerini's avatar
      [FIX] mrp: fix typo in mrp_immediate_production_views · 3bee8aa5
      Francesco Ballerini authored
      
      Typo error detected on `/mrp/wizard/mrp_immediate_production_views.xml`.
      It doesn't cause any issue on module installation or updates, but
      it's probably gonna cause issue on view inheritance.
      
      If you can confirm this is unintended typo I will edit commit msg.
      I also detected this on version 15.0 and 16.0.
      
      closes odoo/odoo#134773
      
      X-original-commit: 80e8222f
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      3bee8aa5
  8. Aug 29, 2023
  9. Sep 10, 2023
  10. Sep 08, 2023
  11. Sep 07, 2023
Loading