Skip to content
Snippets Groups Projects
  1. Nov 29, 2019
  2. Nov 28, 2019
  3. Nov 29, 2019
    • mgh-odoo's avatar
      [IMP] mail: show out of office ribbon on discuss · 5c004c2e
      mgh-odoo authored
      
      This commit adds the out-of-office ribbon at the top of the
      conversation in the discuss app.
      
      Task-2066672
      
      closes odoo/odoo#39362
      
      Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
      Co-authored-by: default avatarMohammed Shekha <msh@odoo.com>
      5c004c2e
    • Julien Mougenot's avatar
      [FIX] web: CalendarView: event edition in month mode · bf18802c
      Julien Mougenot authored
      
      Fixes the way record end hours are computed in calendar views.
      
      Before this commit:  objects `record start` and `record end` properties being copied by reference
      and being incorrectly rewritten by other functions.
      This caused incorrect end hour computations (and a SQL crash in the Planning app).
      
      Now, objects are copied by value and don't interfere with each other.
      
      Task 2072961
      
      closes odoo/odoo#37690
      
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      bf18802c
    • Julien Mougenot's avatar
      [REF] web: revert 13.0-opw-2093111-calendar_fixex-jpp · 9d9dc29c
      Julien Mougenot authored
      Most of the diff changes don't seem to affect the  issue, and
      there is no test to prove that it has been actually fixed.
      9d9dc29c
    • Jason Van Malder's avatar
      [FIX] payment_stripe: fix bad request not displaying · 22df074e
      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#41087
      
      X-original-commit: b8d01328
      Signed-off-by: default avatarJason Van Malder <jasonvanmalder@users.noreply.github.com>
      22df074e
  4. Nov 27, 2019
  5. Nov 15, 2019
  6. Nov 28, 2019
    • Nicolas Lempereur's avatar
      [FIX] web: typo calendar highlight -> ok now · 34aae9fa
      Nicolas Lempereur authored
      
      Adapt calendar highlight option (that "highlight" event linked to the
      record we come from) to current JS framework data structures.
      
      note: this changeset also fixes the original `_compute_is_highlighted`
      that was would trigger CacheMiss errors, and also adds back the CSS for
      highlighting that was lost between 12.0 and 13.0 version.
      
      opw-2131494
      closes #40791
      
      closes odoo/odoo#41077
      
      X-original-commit: da56e3e7
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      34aae9fa
  7. Nov 25, 2019
  8. Nov 28, 2019
  9. Nov 27, 2019
  10. Nov 28, 2019
    • Goffin Simon's avatar
      [FIX] website_sale: Wrong price_unit in the cart · c1c44041
      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#40981
      
      X-original-commit: 40d3fa50
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      c1c44041
    • Martin Trigaux's avatar
      [FIX] tools: no pollution during export translation · b175558c
      Martin Trigaux authored
      
      Before this commit, the export of translations was incorrect for code
      and model translations:
      
      For code translations, the field 'name' was used for the matching
      while the _() method explicitly use None in the _get_source call to
      only use the field 'src' for the search.
      
      For model translations, the field 'res_id' was not used when searching
      for a translation.
      For instance, if a ir.model.fields did not have translated label,
      exporting the translations was using the translations of the first
      field having the same source.
      While this could be convient during the import (to be discussed),
      doing so in an export of translation is clearly an unexpected
      side-effect.
      
      closes odoo/odoo#40909
      
      X-original-commit: 4534181f
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      b175558c
    • jbm-odoo's avatar
      [Fix] hr_employee: Fix compute fields · 9725eadf
      jbm-odoo authored
      
      When we add a user to employee, we can have problem with leave,
      expense or coach manager. It's due to those compute fields.
      
      closes odoo/odoo#40795
      
      Related: odoo/enterprise#6865
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      9725eadf
    • jbm-odoo's avatar
      [IMP] fleet: Add analytic account and mobility card · df44538a
      jbm-odoo authored
      Create analytic account from fleet (and link it to vehicle) based
      on the plate and the fiscal deduction rate (if l10n_hr_payroll_fleet
      is installed).
      
      Add on employee a Mobility Card number. This number is set on vehicle
      when we put a partner linked to employee on a vehicle.
      
      taskID: 2127641
      df44538a
  11. Nov 27, 2019
  12. Nov 28, 2019
Loading