Skip to content
Snippets Groups Projects
  1. Jul 01, 2019
  2. Jul 26, 2019
    • Nicolas Lempereur's avatar
      [FIX] web_editor: enter at A edge no dup link · 53ef2528
      Nicolas Lempereur authored
      
      In the editor, when you write a letter at the end or beginning of a link
      it is written outside the link. But if you press "Enter", we get on a
      newline with an empty link duplicated on the new line.
      
      This is caused by the custom code handling "Enter" keypress.
      
      With this changeset, in this situation we place the range just before
      the beginning or after the end of a link.
      
      opw-1724606
      opw-2042097
      closes #35188
      
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      53ef2528
  3. Jul 01, 2019
  4. Jul 26, 2019
  5. Jul 25, 2019
  6. Jul 24, 2019
    • Romain Derie's avatar
      [FIX] web_editor, website: avoid returning children of inactive view · 6a592240
      Romain Derie authored
      
      Before this commit, for the following view tree:
      P (active)
      |
      I (inactive)
      |
      II (active)
      When calling `get_related_views()` on 'P', it would wrongly return 'II'.
      It shouldn't, since its parent 'I' is inactive.
      
      Step to reproduce:
      - Go to /shop
      - Enable ecommerce categories
      - Enable Collapsible Cateogories
      - Disable ecommerce categories
      - Collapsible categories is still shown even if its parent got archived
      
      closes odoo/odoo#35154
      
      Signed-off-by: default avatarJérémy Kersten (jke) <jke@openerp.com>
      6a592240
  7. Jul 25, 2019
    • Arnold Moyaux's avatar
      [FIX] stock: MTO overprocessed move · c8754185
      Arnold Moyaux authored
      
      Error due to other module (e.g. purchase_stock, mrp) that will
      define their own rules in order to merge or not moves together.
      Usecase:
      - Install purchase_stock
      - Create a product MTO + buy with a vendor
      - Create a SO of 1 unit
      - On the PO receive 2 units
      - On the delivery deliver 2 units
      
      It will create an empty delivery and put the entire move in
      a back order.
      
      First issue the extra move is created as a MTO if it's copied from an
      MTO move. So il will trigger all the pull rule. We won't it because it's
      an extra quantity and the rules should be only trigger by the original
      document (SO/MO).
      Also an extra move in a picking do the hypothesis that the original move and
      the extra move will always be merged together. But in the previous
      usecase, the module purchase add the condition that 'created_purchase_line_id'
      and 'purchase_line_id' should be the same in order to merge move.
      'created_purchase_line_id' is also copy=False, so the move and the
      extra move will not be merged. create_extra_move only returns the extra
      move and _action_done only process the moves returned by _create_extra_move.
      It result by an original move not merged and not processed by _action_done,
      it will be automaticaly set in a back order and the extra move is
      processed.
      
      In order to fix it, check if the move and the original move will be
      merged. If not, returns both moves.
      
      opw-2008113
      Close #34005
      
      closes odoo/odoo#34411
      
      Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
      c8754185
    • David Dufresne's avatar
      [CLA] signature for ddufresne · 5b80695f
      David Dufresne authored
      
      closes odoo/odoo#35079
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      5b80695f
  8. Jul 24, 2019
  9. Jul 22, 2019
  10. Jul 23, 2019
    • Lucas Perais (lpe)'s avatar
      [FIX] website_sale: frontend billing address is partner's address · a5ca064d
      Lucas Perais (lpe) authored
      Have a partner
      
      Partner (A1)
      /		\
      Shipping Addr (A2)	Invoice Addr (A3)
      
      Give portal access to A1
      Make a webshop order with A1
      
      Make it possible for the front end user to edit his billing address (by having forgotten "country" on A1)
      Note that the address being choosen as Billing is A1, NOT A3
      Save
      In the backend check the order. The customer is A1
      The shipping address is A2
      
      Before this commit though, the invoice address is A3, which is plain wrong
      usability-wise since at no point in the flow the front end user chose that address
      
      After this commit, the billing address stays A1, and A3 is just ignored
      
      This goes with the spirit of https://github.com/odoo/odoo/commit/6e69de67071f2618e00856a74716d861b7f47391
      
      
      Also, something smarter is possible if we let the user choose the billing address
      just like we let him choose the shipping address
      
      OPW 2034976
      
      closes odoo/odoo#35105
      
      Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
      a5ca064d
  11. Jul 24, 2019
  12. Jul 22, 2019
Loading