Skip to content
Snippets Groups Projects
  1. May 25, 2023
    • Benjamin Vray's avatar
      [FIX] website: fix adding same font family twice · 0c7a54f1
      Benjamin Vray authored
      
      Steps to reproduce the bug :
      
      - Add the same google font twice with the font family selector in the
      option tab of the editor panel.
      - The font will be displayed only once in the font selector menu but 2
      trash icons will be added, one for the added font and one for the font
      that was already there.
      
      This commit fix this and allows now the user to add the same font twice,
      but only to replace a served font by a local font. The opposite does not
      make sense, but if the user really wants to replace a local font with a
      served, it is always possible by deleting the locale beforehand.
      
      In addition, this commit adds a cloud icon next to the default fonts of
      the theme. Since these fonts are served by Google, it is logical to have
      the cloud icon. This is consistent with the cloud icon that is present
      when the user adds a font served by Google.
      
      task-2998689
      
      closes odoo/odoo#122398
      
      X-original-commit: be503205
      Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
      0c7a54f1
    • Jeremy Kersten's avatar
      [FIX] http_routing, utm, website: set expiration date on some cookies · 058e0abc
      Jeremy Kersten authored
      
      The 'frontend_lang' cookie is used to 'cache' the user's preferred lang.
      We want to make sure that this language preference is preserved for a
      longer period of time than just the life of the browser. This means that
      even if you quit your browser and come back into the year, your
      preferred language will be used, until you choose to remove your cookies.
      
      The 'utm_*' cookies are used to 'track' where you are coming from on the
      instance. The purpose of these cookies is to know the tracking value
      to improve the overall user experience or compute the profitability of
      some campaigns. Now we keep these cookies for 1 month.
      
      closes odoo/odoo#122295
      
      Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
      058e0abc
    • pedrambiria's avatar
      [FIX] point_of_sale: accept GS1 barcodes in PoS · 8d5000b8
      pedrambiria authored
      
      This update enables PoS to handle GS1 barcodes, which was
      previously not possible even though the GS1 nomenclature could
      be selected. GS1 barcodes can now be used to extract product
      identifiers, lot numbers, and serial numbers from the code.
      
      opw-3204299
      
      closes odoo/odoo#122257
      
      Signed-off-by: default avatarJoseph Caburnay (jcb) <jcb@odoo.com>
      8d5000b8
    • Mahamadasif Ansari's avatar
      [FIX] account_edi: change logger type to 'warning' when upload corrupt pdf · 172cfd19
      Mahamadasif Ansari authored
      
      'PdfReadError Could not read malformed PDF file' log error is generated
      when user upload a corrupted PDF file in an invoice.
      
      This commit changes the logger exception to a warning to avoid an
      unnecessary error in the log. 
      
      sentry-4188965420
      
      closes odoo/odoo#121617
      
      Signed-off-by: default avatarQuentin De Paoli <qdp@odoo.com>
      172cfd19
  2. Apr 13, 2023
  3. May 25, 2023
  4. May 24, 2023
  5. May 23, 2023
    • niyasraphy's avatar
      [FIX] account: traceback on creating payment method · 94a17f27
      niyasraphy authored
      
      before this commit, on creating a new payment method
      will show traceback.
      
      * using studio add a menu for payment method
      * create a payment method and hit on create
      * traceback is shown
      
      after this commit, no traceback wont be shown.
      
      closes odoo/odoo#122129
      
      X-original-commit: f8918c9e
      Signed-off-by: default avatarBrice Bartoletti (bib) <bib@odoo.com>
      94a17f27
    • Fabien Meghazi's avatar
      [FIX] sql_db: use psycopg2.extensions.parse_dsn for dsn parsing · 3573fe07
      Fabien Meghazi authored
      
      Before this patch the naive dsn parser `_dsn_to_dict` would choke
      on `application_name` containing spaces or the equal sign.
      
      closes odoo/odoo#122010
      
      Signed-off-by: default avatarFabien Meghazi (fme) <fme@odoo.com>
      3573fe07
    • Feyensv's avatar
      [FIX] sale: show custom ptav in the right order · fa252066
      Feyensv authored
      
      The value of custom ptavs is store on the sale order line.
      
      Currently, they are ordered by ptav id but they are ordered by the ptav
      sequence everywhere in Odoo.
      
      Now, on the sale order line, custom ptav are ordered by ptav sequence.
      
      opw-3234669
      
      closes odoo/odoo#122161
      
      Signed-off-by: default avatarVictor Feyens (vfe) <vfe@odoo.com>
      fa252066
    • Adrien Widart (awt)'s avatar
      [FIX] barcodes: prevent `enter` if barcode · a5f566b5
      Adrien Widart (awt) authored
      
      To reproduce the issue:
      (Need `stock_barcode` and a real barcode scanner)
      1. Create two products P01 and P02, each one with a barcode
      2. Barcode > Operations > Receipts, Create
      3. Scan P01
      4. Scan P02
      5. Click on the `+1` button on the line of P01
      6. Scan P02
      
      Error: Both lines are incremented. Scanning P01 should not impact the
      quantity of P01
      
      Because of step 5, the focus is still on that button when scanning
      again P02 (step 6). Moreover, the scanner ends the barcode transmission
      of P02 with an `enter` -> it will generate an event on the `+1` button,
      which explains why the quantity of P01 is also incremented.
      
      OPW-3232437
      
      closes odoo/odoo#122125
      
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      a5f566b5
    • Mahdi Cheikh Rouhou (macr)'s avatar
      [FIX] web : align number on right in rtl lang · 180139cd
      Mahdi Cheikh Rouhou (macr) authored
      
      Numbers should be alinged on the right in rtl langauge same as ltr langs
      
      Steps to reproduce the isse :
      1- Change the language to arabic
      2- To to the list of invoices in accounting and you can see that the numbers are aligned to the left
      
      The origin of the problem is that rtlcss reverse the alignment from right to left
      
      opw-3295573
      
      closes odoo/odoo#121689
      
      Signed-off-by: default avatarBruno Boi (boi) <boi@odoo.com>
      180139cd
Loading