Skip to content
Snippets Groups Projects
  1. Oct 08, 2021
    • Mohammed Shekha's avatar
      [FIX] web: increase pager hitbox area · de765111
      Mohammed Shekha authored
      
      Since wowl framework is merged pager hitbox area is reduced and harder
      to hit, with this commit we increase pager hitbox area.
      
      task-2610578
      
      closes odoo/odoo#78006
      
      X-original-commit: ff788c20
      Signed-off-by: default avatarFrancoisGe <fge@odoo.com>
      de765111
    • Samuel Degueldre's avatar
      [FIX] mail: fix crash when clicking a reply that is not yet loaded · cd4fc778
      Samuel Degueldre authored
      
      closes odoo/odoo#78030
      
      X-original-commit: 913c33c3
      Signed-off-by: default avatarSébastien Theys (seb) <seb@odoo.com>
      Signed-off-by: default avatarSamuel Degueldre <sdegueldre@users.noreply.github.com>
      cd4fc778
    • Nathan Marotte (nama)'s avatar
      [FW][FIX] event : Changing seats_max could desync seates_reserved · 07adca3c
      Nathan Marotte (nama) authored
      
      Issue: Sometimes, when changing the Maximum (seats_max) on one of
      the tickets of an event, it triggered a recompute for the other tickets
      
      Steps to reproduce :
      
      Install Events
      Settings > Event > Enable "Tickets"
      Create an event template (or use Sell Online default one) with
      Check "Ticketing" and set the line price to 0
      Create an event :
      with that template
      and Autoconfirm checked
      Add a line for the Tickets:
      name: VIP
      price: 10
      Save the event
      
      Create two attendees for the event, one for each
      Event Ticket (event_ticket_id) and confirm them (on the form, not
      Confirm Attendee)
      
      Change the Maximum (seats_max) of one ticket and save
      -> the Confirmed (seats_reserved) will be recomputed but the
      confirmed for the other ticket will increase as well
      
      Side-Note:
      I haven't been able to find a deterministic way to reproduce the bug
      but it seems that the bug appear the most when doing all the steps at
      once, and trying to not log out or refresh the page.
      Also it works best on a runbot or at least with runbot data.
      
      Without my modification, the new test passes on my local odoo server,
      but fails on a dump of a runbot on my computer, adding my modification
      makes it work on either case
      
      Why is that a bug:
      The recomputation seems to fail for some reason, we are setting all
      the event/ticket in self to 0, but only update the value of those by
      fetching a SQL query so there might be a desync there
      
      opw-2642555
      
      closes odoo/odoo#78023
      
      Forward-port-of: #76492
      X-original-commit: f4c936c9
      Signed-off-by: default avatarXavier Dollé (xdo) <xdo@odoo.com>
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      Signed-off-by: default avatarNathan Marotte <nmarotte@users.noreply.github.com>
      07adca3c
    • Brieuc-brd's avatar
      [FIX] web_editor: fix visual issues in bg shapes · b20aeb3a
      Brieuc-brd authored
      
      This commit fixes visual issues (pixel gap between shapes and bugs in
      colors) in some background shapes.
      
      task-2547435
      
      closes odoo/odoo#78013
      
      X-original-commit: 861dba13657f1ca41c40304abd212c521a6615de
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      b20aeb3a
    • Mohammed Shekha's avatar
      [FIX] web: do not clearUncommittedChanges for function actions · 49b35e85
      Mohammed Shekha authored
      
      Before this commit: In res.config.settings form view when user change something
      in form and click on button in form then it will display to save the unsaved
      changes, when we click 'Save' button from dialog still dialog remain there
      it is not closed(while record is saved in background, just dialog is not closed)
      
      This is because we called 'clearUncommittedChanges' method before executing
      client action, 'Save' button on dialog returns client action for reload page
      but as we calling 'clearUncommittedChanges' so it will call 'canBeDiscarded'
      method of 'BaseSettingController' which again show dialog for unsaved changes.
      
      After this commit: unsaved changes dialog is closed on clicking 'Save' button
      from dialog, we called 'clearUncommittedChanges' method only if clientAction is
      instance of Component, i.e. if client action is type of function which is our
      case, reload is client action which type of function so in that case we do not
      need to call 'clearUncommittedChanges'.
      
      task-2662302
      
      closes odoo/odoo#78035
      
      X-original-commit: 5d8376a8
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      49b35e85
    • Simon Genin (ges)'s avatar
      [FIX] web: company_menu always shown by default (in community) · c0e354ee
      Simon Genin (ges) authored
      
      Before: the company menu would disapear when the screen was smaller than
      some threshold. It is expected in enterprise, but not in community as
      it doesn't have the burger menu.
      
      After: The menu is set to always be displayed. To remove it becomes
      an enterprise reponsability.
      
      closes odoo/odoo#78034
      
      X-original-commit: 039e24ea
      Related: odoo/enterprise#21535
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      Signed-off-by: default avatarSimon Genin (ges@odoo) <ges@odoo.com>
      c0e354ee
    • Simon Genin (ges)'s avatar
      [FIX] web: user menu always shown by default (in community) · 2dce16e8
      Simon Genin (ges) authored
      
      Before: the user menu would disapear when the screen was smaller than
      some threshold. It is expected in enterprise, but not in community as
      it doesn't have the burger menu.
      
      After: The menu is set to always be displayed. To remove it becomes
      an enterprise reponsability.
      
      closes odoo/odoo#78033
      
      X-original-commit: 3b18f1cf
      Related: odoo/enterprise#21534
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      Signed-off-by: default avatarSimon Genin (ges@odoo) <ges@odoo.com>
      2dce16e8
  2. Oct 07, 2021
  3. Oct 06, 2021
Loading