Skip to content
Snippets Groups Projects
  1. Nov 29, 2019
  2. Nov 28, 2019
  3. Nov 25, 2019
  4. Nov 28, 2019
    • Nans Lefebvre's avatar
      [FIX] l10n_nl: set depreciation lines as cost in report · fb74d40c
      Nans Lefebvre authored
      
      Afschrijving means depreciation.
      However all depreciation lines have been copy-pasted with
      wrong tags and types:
      e.g. Aanschafwaarde overige immateriele vaste activa
      has a counterpart Afschrijving overige immateriele vaste activa,
      the first user_type_id is data_account_type_non_current_assets, but the
      counterpart should be depreciation; similarly tags should go to their
      Afschrijving counterpart.
      
      opw 2115991
      
      closes odoo/odoo#41063
      
      X-original-commit: edac3bf4
      Related: odoo/enterprise#6950
      Signed-off-by: default avatarNans Lefebvre (len) <len@odoo.com>
      fb74d40c
  5. Nov 29, 2019
    • Jason Van Malder's avatar
      [FIX] payment_stripe: fix bad request not displaying · b8d01328
      Jason Van Malder authored
      
      Reproduce the issue
      
          - Install eCommerce
          - Activate stripe, use testing credentials and select
            Configuration > Payment Flow > Payment from Odoo
          - Create a contact that has a trailing whitespace at the beginning
            of the email
          - Grant him portal access, and a password
          - Open your browser devtools
          - Login to the web shop with this portal user and buy an item using
            stripe
      
          1. Error Dialog: Server Error (HTTP 500)
          2. The exception received by the front-end is not clear
          3. When the 500 error is fixed, we still have a error dialog
             => bad UX
      
      Cause
      
          1. The raise was removed but we need to keep it because
             it allows the true error to be raised (bad request)
      
          2. The "invalid email address: x" is lost when we raise the
             exception
      
          3. In V13, all catch & guardedCatch open a error dialog if we
             don't set preventDefaulted to true on the error's event
      
      This commit changes restore the raise, change the error message and
      disable the error dialog for this case.
      
      OPW-2126196
      
      closes odoo/odoo#41032
      
      Signed-off-by: default avatarJason Van Malder <jasonvanmalder@users.noreply.github.com>
      b8d01328
  6. Nov 28, 2019
  7. Nov 27, 2019
    • Goffin Simon's avatar
      [FIX] website_sale: Wrong price_unit in the cart · 0ef0f337
      Goffin Simon authored
      
      Steps to reproduce the bug:
      - Let's consider two companies C1 and C2
      - Let's consider website W
      - Activate multi-company
      - Disable common contact book and common catalog
      - Switch the superuser in company C2
      - Activate pricelist
      - Create a public pricelist PL for C1 and available on W
      - Set up a pricelist with compute price = formula and  based on = cost
      - Go Sales > Configuration > tick Multiple Sales Prices per Product and tick Prices computed from formulas
      - Create a portal user PU and set PL on him
      - Create a product P with cost = 10$ and publish it on W
      - Set up the product valuation as: automated
      - Log as PU and go on the shop
      - Put P on your cart
      
      Bug:
      
      The price of P was 0$ instead of 10$
      
      opw:2092695
      
      closes odoo/odoo#40974
      
      X-original-commit: 40d3fa50
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      0ef0f337
    • Antoine Prieels's avatar
      [IMP] hw_drivers: Dual customer display · 12569b0e
      Antoine Prieels authored
      
      Customer displays were all using the same URL and therefore could only
      show the same products. We now use different URLs per screen.
      
      Two screens connected to the same IoT Box can now display customer
      displays from different POS.
      
      closes odoo/odoo#40427
      
      Taskid: 2123511
      Signed-off-by: default avatarQuentin Lejeune (qle) <qle@odoo.com>
      12569b0e
    • Antoine Prieels's avatar
      [IMP] iot: Dual screen support for RPI4 · 5886c3a8
      Antoine Prieels authored
      We now support the RPI4 which has 2 micro-HDMI outputs, while the
      prvious driver only supported one display. We add support for a second
      display.
      
      TaskID: 2123511
      5886c3a8
  8. Nov 28, 2019
  9. Nov 27, 2019
    • Nicolas Martinelli's avatar
      [FIX] web: date warning · 2b43780f
      Nicolas Martinelli authored
      
      - Set the computer TZ so that it is UTC day + 1. For example, set to
        'Australia/Adelaide' and perform the tests after 3:00 pm
      - Go to Account > Customers > Invoices
      - Set the Invice Date to today in the TZ
      
      You receive the warning 'This date is on the future...'
      
      The comparison of a UTC date without time `currentDate` is inconsistent
      with `moment()`, which is not UTC and has a time set.
      
      After playing around with `.utc()` and `startOf('d')` with no luck, we
      decided to give up the idea of making `getTZOffset()` enter the game and
      simply compare the string formatted values.
      
      opw-2093186
      
      closes odoo/odoo#40982
      
      X-original-commit: f9eec97c
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      2b43780f
    • jvm-odoo's avatar
      [FIX] http_routing: fix context language used when not available · f3e9ca13
      jvm-odoo authored
      
      A customer reported a problem when he deleted a language on the
      website app.
      
      In some cases, if you go on the odoo's generated website as a public
      user let's imagine the following url: website.com/en_GB
      
      The lang is saved in a cookie and sent to the context.
      
      If you delete the language from the website languages (without
      deactivating it) and you go on website.com as a public user,
      the method will try to use the context or the cookie value which is
      'en_GB' and it crashes.
      
      This commit makes sure that the language is available
      
      OPW-2129580
      
      closes odoo/odoo#40792
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      f3e9ca13
    • Katherine Zaoral's avatar
      [ADD] l10n_ar: Be able to validate the cbu number no matter the stdnum version · 9c389525
      Katherine Zaoral authored
      
      If avaliable will use the stdnum.ar.cbu.validate functionality, if not
      we defined our own validate method.
      
      closes odoo/odoo#40632
      
      Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
      9c389525
    • qsm-odoo's avatar
      [FIX] web: fix wrong convertion of 8-digit hex to RGBA color · fdfce09e
      qsm-odoo authored
      
      closes odoo/odoo#40965
      
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      fdfce09e
    • fw-bot's avatar
      [FIX] mrp: unit_factor computation · 79976600
      fw-bot authored
      
      Updating the quantity to produce in a production order will recompute
      each raw move's unit factor. The issue was this computation did not
      take care of the previously product quantity. The unit factor was wrong
      and so the next created workorder lines get the wrong quantity.
      
      Example:
        - 1 components for 1 finished product (unit_factor = 1)
        - Create a production for 2 finished product -> quantity to consume = 2
        - Produce 1 then change quantity to produce to 3 -> quantity to consume = 3
          and quantity done = 1 but unit factor became 1.5
      
      closes odoo/odoo#40932
      
      X-original-commit: 71ea4d4488a085030ae07ca7e85cafc21f06af3b
      Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
      79976600
  10. Nov 14, 2019
  11. Nov 13, 2019
  12. Nov 27, 2019
  13. Nov 22, 2019
  14. Nov 21, 2019
  15. Nov 27, 2019
  16. Nov 26, 2019
  17. Nov 27, 2019
Loading