Skip to content
Snippets Groups Projects
  1. Oct 09, 2019
    • Nans Lefebvre's avatar
      [FIX] ir_http: return a 404 if binary content cannot be decoded · a68f7e6e
      Nans Lefebvre authored
      
      Commit 5a9e1af6 has the unfortunate side-effect of crashing early
      if for any reason the content cannot be decoded.
      However, simply ignoring that the content cannot be decoded is no better idea:
      some functions pipe the result to decoding functions that crash the same.
      The resulting traceback pollutes the log with uninformative message such as:
      binascii.Error: Incorrect padding 5 0.002 0.016
      
      In case the content cannot be decoded (data corruption, or simply missing file)
      we return a clean 404 instead, which is morally almost equivalent,
      and is clean even from functions that depend on binary_content.
      
      opw 2072586
      
      closes odoo/odoo#38261
      
      Signed-off-by: default avatarNans Lefebvre (len) <len@odoo.com>
      a68f7e6e
  2. Oct 08, 2019
  3. Oct 09, 2019
  4. Oct 07, 2019
  5. Oct 09, 2019
    • Victor Feyens's avatar
      [FIX] web_editor: don't crash if anchorNode is Reserved. · 70c484e7
      Victor Feyens authored
      
      When on Firefox, with sale_product_matrix and sale_quotation_builder installed,
      clicking anywhere on the matrix (after opening it) raises a traceback.
      
      It is due to the fact that isBody tries to access anchorNode.nodeName, which
      is unexpectedly unaccessible as anchorNode is {Reserved}.
      
      Due to the absence of clear documentation of the possible reasons of this problem,
      it was decided to reuse the existing fallback on 'return null', which avoids the
      traceback.
      
      closes odoo/odoo#38077
      
      Signed-off-by: default avatarVictor Feyens (vfe) <vfe@odoo.com>
      70c484e7
  6. Oct 08, 2019
  7. Oct 07, 2019
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] account,mrp,payment,purchase,purchase_stock,sale,sale_stock: studio crash on new view · 1ac5ba04
      Andrea Grazioso (agr-odoo) authored
      
      Install stock and purchase. Make a RFQ for just one product, coonfirm
      and receive in one transfer. Click on the delivery (should be only 1).
      The picking will display. Open studio, select view, activate list view.
      
      Javascript traceback will popup. Moreover the view of the stock
      module will be altered in a faulty way (can be recovered from "Window
      Actions", looking for the stock.picking action with external id
      "stock.action_picking_tree_all" and removing the last added tree from
      "View Mode").
      
      This is caused by studio not detecting all the active views, thus giving
      the possibility to add an already active view, because when there is just
      one picking all other views are filtered out.
      Changing the way the form view is retrieved in case of a single picking
      fix the issue.
      
      opw-2076241
      
      closes odoo/odoo#38093
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      1ac5ba04
  8. Oct 08, 2019
  9. Oct 07, 2019
  10. Oct 08, 2019
Loading