Skip to content
Snippets Groups Projects
  1. May 26, 2023
  2. May 25, 2023
  3. Apr 13, 2023
  4. May 25, 2023
  5. May 24, 2023
    • paso-odoo's avatar
      [FIX] l10n_id_efaktur: fix the issue of invalid literal base10 in efaktur · 06719a84
      paso-odoo authored
      If applied, this commit will solve the min-max issues for efaktur.
      
      - invalid literal for int() with base 10: when we enter all characters
      string in the min or max it will raise an error like this.
      
      - Error is also raised when the min or max is blank and try to save the
      record.
      
      So, I have update the value as 0 if the min value or max value not
      generated.
      
      see - https://tinyurl.com/2lx9j2kr
      
      
      
      Sentry - 3936020226
      
      closes odoo/odoo#122302
      
      X-original-commit: 78ecfd66
      Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
      06719a84
    • aliya's avatar
      [FIX] account_edi_ubl_cii: fix partner creation during import · fc1f9b15
      aliya authored
      
      If a partner in the imported invoice does not exist, we create one on the fly. However, the partner is created without a country and `_run_vat_test` doesn't check it properly in 15.0, and fails in later versions, where we try to get the country code from the country we pass from `_import_retrieve_and_fill_partner`, which is `False`.
      
      This commit retrieves the country from the imported invoice to create the partner and passes the object instead of the `country_code` string to `_run_vat_test`
      
      closes odoo/odoo#122250
      
      X-original-commit: 757ea532
      Signed-off-by: default avatarLaurent Smet <las@odoo.com>
      Signed-off-by: default avatarAliya Tastemirova (alta) <alta@odoo.com>
      fc1f9b15
    • niyasraphy's avatar
      [REF] phone_validation: class attribute to bypass the length validation · b89f948e
      niyasraphy authored
      
      before this commit, if user need to bypass the validation
      added for the length in custom module, the entire function
      has be rewritten in the custom module.
      
      scenario:
      
      * add the phone_mobile_search field to the name search of res.partner model
      
      * then open sale order form, and in the customer field enter any letter or digits, this user
      error will be raised
      
      after this commit, users just need to change the class
      attribute: _phone_search_min_length in the
      inherited module.
      
      closes odoo/odoo#122248
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      b89f948e
    • Hoang Tien Dung's avatar
      [CLA] signature cla for hoangtiendung070797 · dfa30236
      Hoang Tien Dung authored
      
      closes odoo/odoo#122240
      
      X-original-commit: b061cf71
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      dfa30236
    • tsm-odoo's avatar
      [FIX] mail: invalid url regex · 0dc68dcc
      tsm-odoo authored
      Since [1], comma can be included in url by the discuss regex. This
      should not be the case if the comma is at the end of the url/line
      since it could be part of a sentance.
      
      This PR applies the same logic to the dot and the semicolon character
      since they could also be used as punctuation.
      
      [1] https://github.com/odoo/odoo/pull/122093
      
      
      
      closes odoo/odoo#122227
      
      Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
      0dc68dcc
    • Laurent Smet's avatar
      [FIX] account: Prevent exchange diff entry with full refund · 8c61e518
      Laurent Smet authored
      
      - create an invoice with a CABA tax
      - full refund it using 'add credit note', 'cancel' mode.
      => No CABA entry generated but an exchange difference journal entry
      has been created.
      
      This is because the CABA entry is not generated in case of full refund
      thanks to the 'move_reverse_cancel' context key. However, this key is not
      preventing the generation of the exchange journal entry for CABA.
      
      opw-3321897
      
      closes odoo/odoo#122179
      
      X-original-commit: 9823d2fc
      Signed-off-by: default avatarBrice Bartoletti (bib) <bib@odoo.com>
      Signed-off-by: default avatarLaurent Smet <las@odoo.com>
      8c61e518
    • Anita (anko)'s avatar
      [FIX] payment: fix multicompany payment confirmation onboarding step · 4b18c80e
      Anita (anko) authored
      
      User was not able to go through onboarding if they switched company.
      By default it tried to edit default payment provider that was conected
      to the main company so other companies were recieving Access Error.
      
      opw-3281770
      
      closes odoo/odoo#121621
      
      Signed-off-by: default avatarAntoine Vandevenne (anv) <anv@odoo.com>
      4b18c80e
    • Nasreddin Boulif (bon)'s avatar
      [FIX] event[_sms]: send emails direclty after attendee confirmation · 7d63cda1
      Nasreddin Boulif (bon) authored
      
      Steps to reproduce:
      
        - Install `Events` module
        - Create a new event and set it to `Autoconfirmation`
        - Create a new attendee and confirm it
      
      Issue:
      
        Mail that confirm registration is not sent to attendee.
      
      Cause:
      
        When computing the `schedule_date`, it take the value of the
        `registration_id.create_date` WITH the microseconds.
      
        When creating a new attendee, at some point we run the mail schdelure
        that compare if the `schedule_date <= now`.
        `schedule_date` and `now` have same value except for the microseconds
        (set on `schedule_date` but not on `now`).
        Therefore `schedule_date > now` and the mail is not sent.
      
      Solution:
      
        Remove microseconds from the schedule_date.
      
      opw-3079389
      
      closes odoo/odoo#122137
      
      X-original-commit: f2adca45dcec5a11daa92d07bae00615210ea0de
      Signed-off-by: default avatarNasreddin Boulif (bon) <bon@odoo.com>
      7d63cda1
    • Romain Derie's avatar
      [FIX] website: correctly target footer on popup options · 31db5fbe
      Romain Derie authored
      
      The code was assuming there would be only one `<footer/>` element in the
      dom but it's not always true.
      Our `Blockquote` snippet also contains a `<footer/>` element.
      
      While this has no impact on Odoo 14 and Odoo 15, it will crash in Odoo
      16 when trying to select "On all pages" on a popup option when there is
      a blockquote snippet on a page.
      The reason it breaks in 16 is because it uses javascript instead of
      jquery, finding only one element (the footer of the blockquote) and not
      all. The jQuery usage was then filtering out to only keep the correct
      footer due to some extra selector looked for in the elements
      (`.oe_structure:o_editable`).
      
      Still, the fix is made in Odoo 14 because it's likely that we will have
      another fix later in the snippet options, and it's also likely that
      someone will replace the jQuery usage by javascript while doing so,
      which would reveal the bug.
      
      opw-3283140
      
      closes odoo/odoo#122119
      
      X-original-commit: ca3d6e09
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
      31db5fbe
    • Pieter Claeys (clpi)'s avatar
      [FIX] mrp: Update analytic lines when changing account on MO · 35e3af77
      Pieter Claeys (clpi) authored
      Upon changing/removing/adding the analytic account on a manufacturing order, only the analytic lines due to the raw material moves are updated, but not the ones for workcenter costs.
      
      To reproduce:
      - Create an MO with a workorder on a workcenter which has an operating cost set
      - Complete time on this workorder to generate the [WC] AALs on this MO
      - Change the analytic account on the MO (or delete it)
        Bug: The [WC] AALs never get correctly updated.
      
      This fix builds on https://github.com/odoo/odoo/pull/79614 to correct this behaviour and also take into account changes for the workcenter cost AALs when the analytic_account of a manufacturing order is changed.
      
      Community PR: https://github.com/odoo/odoo/pull/117308
      
      
      
      closes odoo/odoo#121891
      
      Task: 3252742
      X-original-commit: cdf28628
      Signed-off-by: default avatarArnold Moyaux (arm) <arm@odoo.com>
      35e3af77
    • Manushi Shah (mash)'s avatar
      [FIX] mass_mailing: ensure close button is visible in mobile preview · 440c0f04
      Manushi Shah (mash) authored
      
      This commit adapts the style of the close button on the mass mailing "mobile
      preview" to ensure that it's visible in both regular mode and dark mode.
      
      Task-3326846
      
      closes odoo/odoo#121796
      
      Signed-off-by: default avatarWarnon Aurélien (awa) <awa@odoo.com>
      440c0f04
    • Nishant Jain (niai)'s avatar
      [IMP] l10n_in: audit trail improvement · 6c4a92f5
      Nishant Jain (niai) authored
      
      With this commit, Made the tree line clickable instead of clicking View Related
      Document Button. Updated the description, to be similar to chatter in audit trail
      tree view. Also Updated error message while deleting entries once it's posted for
      Indian Company.
      
      closes odoo/odoo#121242
      
      Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
      6c4a92f5
    • stcc-odoo's avatar
      [FIX] fleet: select vehicle model on mobile · e4127e6c
      stcc-odoo authored
      
      Steps to reproduce:
      
      - Install fleet
      - Switch to mobile view
      - Create new vehicle
      - Click on model field > Select a model
      
      Issue:
      
      Clicking on a car model does not perform any action.
      
      Solution:
      
      Add class `oe_kanban_global_click` to kanban items in order to capture user clicks.
      
      opw-3188104
      
      closes odoo/odoo#121148
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      e4127e6c
    • Abdelouahab (abla)'s avatar
      [FIX] website_slides: avoid completing slide when not being a member · 885d8a18
      Abdelouahab (abla) authored
      
      To reproduce
      ============
      - add video to a course
      - remove user from course if user is enrolled
      - open video in full screen mode and play it
      - move nearly to the last part of the video so that is detected as completed
      - an error will occure
      
      Problem
      =======
      - when the video is detected to be completed we want to mark the slide as completed
      - as the user is not a member, we can't retreive the current slide which is the source
      of this issue
      
      Solution
      ========
      as the use is not a member, marking the slide as **Completed** dosen't make any sense,
      so checking if the user is member, should solve the problem.
      
      opw-3295662
      
      closes odoo/odoo#121062
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      885d8a18
    • Mehdi Bendali Hacine's avatar
      [ADD] base: Add country states for Saudi Arabia · 99d0db32
      Mehdi Bendali Hacine authored
      
      closes odoo/odoo#118765
      
      Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
      99d0db32
    • moerradi's avatar
      [IMP] account: Reconciliation models UX · 6d0ffce1
      moerradi authored
      
      - Add group bys, columns, and filters to Bank Reconciliation models for better navigation and organization
      - Trigger auto-validate cron on saving Reconciliation model with auto-validate enabled
      - Restore pre-filled elements when creating Reconciliation model through bank reconciliation widget (V15.2 functionality)
      - Remove text ellipsis from Reconciliation model buttons in bank reconciliation widget for better readability
      
      closes odoo/odoo#117822
      
      Task-id: 3253304
      Related: odoo/enterprise#39393
      Signed-off-by: default avatarLaurent Smet <las@odoo.com>
      6d0ffce1
    • Jérémy Hennecart (jeh)'s avatar
      [FIX] website(_slides): delete autoplay of all iframes in the iframefallback · 6be8af36
      Jérémy Hennecart (jeh) authored
      
      Delete the autoplay for all iframes in the iframefallback.
      The autoplay was causing issue where the sound of the previous video
      was played on the background. Now we delete the autoplay for all iframe
      directly.
      This happened in media_iframe_video, youtube player and vimeo videos.
      We can do this for all iframe source url directly as it impacts other
      modules like website_slides or website_event_track_live.
      
      task-3012952
      
      closes odoo/odoo#112868
      
      Signed-off-by: default avatarWarnon Aurélien (awa) <awa@odoo.com>
      6be8af36
Loading