Skip to content
Snippets Groups Projects
  1. Apr 11, 2018
    • Valentin Löfberg's avatar
      [FIX] website_sale_wishlist: allow deletion of wishlist item when not connected · 80029cae
      Valentin Löfberg authored
      Add controller to remove (archive) an item from the wishlist.
      Rpc cannot be used because user can be public
      
      Adding tour test
      
      task-1834888
      This commit closes #24135
      80029cae
    • Martin Trigaux's avatar
      [FIX] http_routing: translate without website · 8b8815f4
      Martin Trigaux authored
      web (tagged with `openerp-web`) translations are loaded in the backend, in
      `odoo.addons.web.controllers.main.WebClient.translation(mods=None, lang=None)`
      method (through `/web/webclient/translations` controller).
      
      In website, the controller `/website/translations` is called used, fetching
      the translations from modules with the (fragile) clause `name ilike 'website'`
      
      This commit fixes two bugs:
      
      1. Install `website_sale`, activate discussion on products
        -> the chatter is not translated as the portal translations not loaded in the
           `/website/translations` controller
      
      2. Install `helpdesk` but not `website`, go to portal view of a ticket
         -> the heldesk chatter is not translated as the `/website/translations`
            controller is not called (only provided by the website module)
      
      This patch implements a modular approach to translate the web resources of the
      right modules only.
      
      The controller /website/translation is moved to http_routing and each module
      override the new _get_translation_frontend_modules_domain method to adds its
      translatable module
      
      Closes #23618
      Fixes #23610
      Unverified
      8b8815f4
    • Martin Trigaux's avatar
      [FIX] point_of_sale: create orders with the correct context · 7272abe0
      Martin Trigaux authored
      The timezone of the user was not passed and preventing the use of context_today
      as showed at #22651
      Unverified
      7272abe0
    • Martin Trigaux's avatar
      [FIX] l10n_ch: remove hardcoded translations · fcd81aca
      Martin Trigaux authored
      These translations were for the first company only ('1_' part)
      The process_translation part in l10n_multilang is enough to propagate the
      translations of the templates to the accounts
      Unverified
      fcd81aca
    • Martin Trigaux's avatar
      [IMP] l10n_ch: translate CoA in de and de_CH · ea747d23
      Martin Trigaux authored
      de_CH was not available before, people migrating will not get their CoA
      translated.
      Rename the translation file so it is loaded by any de_* language
      Add multiple spoken_languages to be sure to load each one via the
      process_translation mechanism.
      
      Fixes #24037
      Unverified
      ea747d23
    • Martin Geubelle's avatar
      [FIX] web: correctly position carret in list · 0d46c0b9
      Martin Geubelle authored
      In list view, the carret was not correctly positioned in empty cells (i.e.
      handle widget in readonly).
      
      This rev. ensures that the position rules are only applied if the cell is not
      empty.
      
      Fixes #23984
      0d46c0b9
    • stefanorigano's avatar
      [FIX] web: fixes some design alignements · b3ad32f4
      stefanorigano authored
      - Use 'baseline' to ensure that the priority icon will align to the
        parent's baseline
      - Align the favorite icon in dashboards
      - Align the statusbar's caret in form views
      b3ad32f4
    • Arnold Moyaux's avatar
      [FIX] purchase : be able to use it with MPS · c04119fc
      Arnold Moyaux authored
      Since procurement group is passed by the optional values
      in the procurement proccess it should be considered as optional
      
      MPS do not use procurement group because they will add the
      planification in an existing RFQ it will fail because purchase search
      for the key 'group_id' in values
      
      opw-1833060
      c04119fc
    • qsm-odoo's avatar
      [FIX] web: stop wrapping kanban counter over multiple lines · ad46adcf
      qsm-odoo authored
      Note: this should normally not be the case by design as for most
      values there is enough space for the numbers not to wrap. While
      waiting for a better implementation, the white-space:nowrap CSS
      rule will enforce the behavior.
      
      Thank you to @Jerther for the original commit.
      
      Closes https://github.com/odoo/odoo/pull/24100
      ad46adcf
    • Alexandre Kühn's avatar
      [FIX] web: graph rendering when in DOM · ea25036c
      Alexandre Kühn authored
      Backported fixes:
      
          1. [IMP] web: GraphView: remove hack to render in DOM
      
              - ref. 166319fa
              - fully backported.
      
      This commit backports the fix that removes the hack for rendering graphs
      (delay in a setTimeout), so that the graph is rendered when it is in the DOM.
      
          2. [IMP] web: restore scroll position
      
              - ref. 4e204ed2
              - partially backported: only keeps `on_attach_callback`
                and `on_detach_callback` in the abstract_controller
                and in the abstract_renderer.
      
      This commit backports the use of the hooks methods `on_attach_callback` and
      `on_detach_callback` in abstract controller and renderer, so that the
      controller of any view warns the renderer when it has been attached in
      (or detach from) the DOM.
      
      Also, this commit adds `on_attach_callback` and `on_detach_callback` for the
      dashboard app, so that the graph view is correctly rendered.
      
      Fixes #24092
      ea25036c
    • Goffin Simon's avatar
      [FIX] purchase: Procurement rule Buy missing when installing Purchase · c471ca22
      Goffin Simon authored
      When installing Purchase, the procurement rule Buy for My Company, Chicago
      was missing.
      
      opw:1835411
      c471ca22
    • Richard Mathot's avatar
      Unverified
      79447255
    • Toufik Benjaa's avatar
      0c9eabb0
    • Parth Patel's avatar
      [FIX] website_sale: make shipping address group-option valid for all user groups · 7516d9bb
      Parth Patel authored
      Indeed in website_sale this option is used in templates, meaning public and
      portal users should be added or removed from that group accordingly.
      
      This commit is related to task ID 1746668. Closes #22753.
      7516d9bb
    • Nicolas Martinelli's avatar
      [FIX] web: domain evaluation · 33ba61bf
      Nicolas Martinelli authored
      To reproduce the error, go to Accounting > Import Statement, then
      Cancel. An error occurs because `belongs_to_company` is not in the data.
      Indeed, it is directly set on the action
      `open_account_journal_dashboard_kanban`.
      
      Commit 9961bbf4 re-evaluates if a record should be displayed in the
      Kanban view after applying an action (in particular, archive a record).
      However, the domain evaluated might contain values which are not in the
      data. This is for example the case if there is a domain on an action.
      
      Fixes #24142
      opw-1835216
      opw-1835123
      33ba61bf
    • Goffin Simon's avatar
      [FIX] purchase: Wrong Fiscal position in multicompany · 5bb65170
      Goffin Simon authored
      Steps to reproduce:
      
       -Create company A
       -Create company B
       -Admin user with both companies but currently in company B
       -Create Demo user only with company B
       -Create fiscal position A to company A
       -Create fiscal position B to company B
       -Create vendor with fiscal position A with company A and the same vendor with fiscal position B in company B
       -Create product and add the vendor created before
       -Set like Create a draft purchase order
       -Logging with Demo user
       -Create sale order with one sale order line with route make to order
       -Validate sale order
      
      Bug:
      
       The purchase order created by sale order had the fiscal position company A.
      
      Closes #23561
      opw:1825098
      5bb65170
    • Nicolas Lempereur's avatar
      [FIX] base: amount_to_text possible difference · b79d8b99
      Nicolas Lempereur authored
      In 79038055 amount_to_text was refactored and improved, but there is a
      drawback.
      
      ie. if we have .29 cents with two decimals, `Twenty-Eight` was displayed
      because `int(0.29 * 100) == 28` due to floating-point representation.
      
      This commit keeps the improvements and fix this issue by using string
      formatting of float as was done before.
      
      opw-1829924
      closes #24161
      b79d8b99
  2. Apr 10, 2018
  3. Apr 09, 2018
  4. Apr 08, 2018
  5. Apr 06, 2018
Loading