Skip to content
Snippets Groups Projects
  1. May 30, 2018
  2. May 29, 2018
    • Christophe Simonis's avatar
      2288a895
    • Goffin Simon's avatar
      [FIX] mrp: A traceback was raised when creating a warehouse · f349d2f3
      Goffin Simon authored
      When creating a warehouse, a traceback was raised if the xml_id: mrp.route_warehouse0_manufacture
      was not found.
      
      opw:1852761
      f349d2f3
    • Goffin Simon's avatar
      [FIX] product: Print "Products Labels" · b5ea61bf
      Goffin Simon authored
      The number of characters must be taken into account to print the
      barcode. With 13 characters -> EAN13, with 8 characters -> EAN8 else
      -> Code128
      
      Backport of 12b11c1e
      
      opw:1849965
      b5ea61bf
    • Josse Colpaert's avatar
      [FIX] stock_account: setting standard price with multiple real-price outs with... · eabcb9ff
      Josse Colpaert authored
      [FIX] stock_account: setting standard price with multiple real-price outs with negative quants fixes #24925
      
      Somehow the function treated multiple records with
       the new api translation from 9 to 10.
      
      Steps to reproduce:
      This applies to delivery orders and manufacturing orders. As an example:
      
      Create an MO with 2 products on the BOM
      Both products must have real time costing with FIFO
      The first product on the bom must not be available
      For the second product on the BOM, the standard_price must be different from the cost of the next quant to be consumed
      Complete the MO, letting the first product result in a negative quant
      Current behavior:
      The standard_price of the second product on the BOM does not get updated.
      
      Behavior after this fix:
      The standard_price of the second product on the BOM gets updated.
      
      Thanks to matt454357.
      eabcb9ff
  3. May 28, 2018
    • qsm-odoo's avatar
      [FIX] web_editor: properly save a t-field in a t-ignore environment · ea0fcd52
      qsm-odoo authored
      When a t-field element was in an editable t-ignore environement,
      modifying it was leaving the edit mode style attached to it. This
      was because of:
      1) When the t-field element was changed, it was marked dirty but
         also its parent editable container. Fixing this, only solves
         the case where only the t-field (and not one of its neighbors)
         is changed but it was worth fixing anyway.
      2) Before saving an element, the potential 'o_editable' and
         summernote classes were not removed of its descendant and were
         thus saved.
      
      Bug found with task-38069, merged in stable as it might occur there
      too.
      ea0fcd52
  4. May 27, 2018
  5. May 24, 2018
    • Christophe Simonis's avatar
      3051d1dd
    • Christophe Simonis's avatar
      Revert "[FIX] mass_mailing: unsubscribe not working in multi lang" · 34f567dd
      Christophe Simonis authored
      commit a3ab33f2 introduced invalid code
      34f567dd
    • LofbergValentin's avatar
      [FIX] hr_attendance: Keep the kiosk session alive · 6e1b660f
      LofbergValentin authored
      closes #1800442
      
      Purpose
      =======
      
      Odoo sessions are expired when no action has been triggered
      for the last 7 days. For kiosk mode, this doesn’t make sense.
      
      It means that once a week, a person with the rights to the
      employee under kiosk mode, has to come to the screen and log in again.
      
      Specification
      =============
      
      Trigger an action to keep the Odoo session alive.
      6e1b660f
    • Christophe Simonis's avatar
      299b613d
    • Jérome Maes's avatar
      [FIX] purchase: correct product cost in reporting · 919a1af9
      Jérome Maes authored
      product.product inheritS from product.template, and they both
      define the 'standard_price' field, but implement it differently;
       - product: the field is a company dependent one (so non stored)
       - template: the field is a computed one based on tis variants
      
      For the first case, since the field is not stored in database, when
      doing SQL query, we have to get the value from the table ir_property.
      That is what purchase report does, but instead of searching on resource
      'product.product', it does it on 'product.template'. There are
      obviously no entries in ir_property table for 'standard_price' field
      on product template. As consequence, the "product value" (cost)
      is always null in purchase reporting.
      This commit fixes that by modifying SQL query to get the good
      value from ir_property table.
      919a1af9
    • Yannick Tivisse's avatar
      [IMP] base: Add support for private addresses · 28179bc8
      Yannick Tivisse authored
      This is a backport of commit https://github.com/odoo/odoo/commit/2f15a5fa647d55df36c9019df467802a3aa9b4e3
      
      Purpose
      =======
      
      Add the possibility to create private addresses, only accessible for a subset
      of users.
      
      Specification
      =============
      
      - Add a new 'Private' partner type
      - Add a res.groups in base 'Access to Private Addresses'
      - Add ir.rules for the following behavior:
          - Every employees/internal users can read non-private addresses
          - Only users in group_private_addresses can access private addresses
      - Add in base a simplified form view for private addresses
      
      The following points won't be backported:
      - A HR Officer is automatically granted in group_private_addresses
      - Use the simplified form view to open the address_home_id form on employees
      That's because it requires to update 'base' to make it work. If a user only
      update 'hr', this will break his instance while 'base' isn't updated.
      
      But these modifications can be applied manually quite easily.
      28179bc8
    • Goffin Simon's avatar
      [FIX] mass_mailing: unsubscribe not working in multi lang · a3ab33f2
      Goffin Simon authored
      When installing the website with a lang  different than the one set
      on the user, the button unsubscribe in the mass mailing snippets
      didn't work because the unsubscribe link contains the code of the
      language. The function send_get_email_dict in model mail.mail didn't
      expect this behavior and so couldn't set the right unsubscribe link
      in the mail.
      
      opw:1850696
      a3ab33f2
  6. May 23, 2018
    • David's avatar
      [FIX] website_form: set meta field · 682ae1cc
      David authored
      Before this commit, if you enable website_form_enable_metadata, that
      will crash with a "KeyError: 'meta'"
      
      This commit closes #24848
      682ae1cc
  7. May 22, 2018
  8. May 20, 2018
  9. May 18, 2018
  10. May 17, 2018
    • Fabien Meghazi's avatar
      [FIX] server: fix support for systemd socket activation in threaded server · 866d1e71
      Fabien Meghazi authored
      This patches fixes the untested and broken draft of inetd and systemd
      activation support in the threaded server.
      
      This patch also fixes the loss of the process environment in the
      `_reexec()` function when Odoo is respawning during the following events:
      
          - SIGHUP signal is received
          - one click install has been triggered
          - code reload needed when using `--dev=reload`
      866d1e71
    • Goffin Simon's avatar
      [FIX] mrp: Two fields with the same label on stock.move · a16114ef
      Goffin Simon authored
      The field quantity_done_store had the same label as the field product_uom_qty
      on model "stock.move" and there were confusions in the pivot view of
      "stock.move".
      
      opw:1841097
      a16114ef
    • Lucas Perais (lpe)'s avatar
      [FIX] l10n_fr_fec: EcritureLib should not be empty · cd26eb8e
      Lucas Perais (lpe) authored
      Make an account move with two move lines.
      In those lines' label, just hit the space bar, and post your entry.
      
      Now, get the FEC report.
      
      Before this commit, the EcritureLib field was empty
      
      After, it has the value '/'
      
      closes #24734
      cd26eb8e
    • Lucas Perais (lpe)'s avatar
      [FIX] point_of_sale: repair cashier from localStorage on refresh page · 54d1b388
      Lucas Perais (lpe) authored
      open a pos,
      change cashier
      hit F5
      
      Before this commit, the previous user was set as cashier, forgetting about the change we made
      This was because of two things:
      - The original fix to do just this use case was pushed in v9.0 as e14ab697
      - In v10.0 the commit 475027b9
          (For v11.0: a9caef0e)
          Was intended to update the res.users objects at their loading to ensure that their access rights were loaded too
          But it did this using the wrong condition
      
      After this commit, it reworks fine
      
      OPW 1844006
      related #24762
      
      closes #24764
      54d1b388
  11. May 16, 2018
  12. May 15, 2018
  13. May 14, 2018
Loading