Skip to content
Snippets Groups Projects
  1. Feb 08, 2020
  2. Feb 10, 2020
    • Swapnesh Shah's avatar
      [FIX] hr: Remove unnecessary argument · 5e63519c
      Swapnesh Shah authored
      
      Followup on 5ce8f1e3
      Before this commit, There would be traceback on Launching Plan with `Responsible` set to `other` and No `Responsible Person` defined on activity due to Extra argument.
      
      In this commit, We remove that extra Argument.
      
      closes odoo/odoo#44965
      
      X-original-commit: 009e5526
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      5e63519c
    • David Beguin's avatar
      [IMP] (im/website)_livechat : hide and clean empty livechat sessions · 9c9032e6
      David Beguin authored
      
      Purpose
      =======
      
      Whenever a visitor start a livechat session but finally close the session
      without sending any messages, the livechat session is empty and stay in DB.
      Livechat session counter counts all the sessions (with and without message)
      but when opening the sessions tree view, the view is filtered by default on
      session with messages. There is no reason to see the empty sessions as it
      does not give any information (except "the visitor hesitated to start
      livechat and finally did not" which is quite useless info)
      
      The goal is to keep only sessions with messages.
      
      When the visitor is closing the livechat window, if the session is empty,
      the session should be deleted. But what happens if a visitor start a livechat
      session, send no message and just leave the website without closing the
      livechat window ? --> empty live chat session will remains in database.
      
      The ir_autovacuum already handle the deletion of empty sessions to main a
      clean DB.
      
      Specifications
      ==============
      
      - Apply 'with messages' domain on session count in the livechat channel view
      - Apply 'with messages' domain on session count in the lead view
      - Apply 'with messages' domain on livechat session view
      - Remove With message filter
      - Remove Without message filter
      
      - If send message on a deleted session :
          just tell the visitor that operator is not available anymore
          AND delete livechat session cookie (as he waited 1 day to send a message)
      
      Empty sessions becomes invisible : not possible for users to see empty session
      (in count or in views) and cron is cleaning empty sessions every day.
      
      This commit also adapts visitor session count and view accordingly.
      
      Task ID: 2146962
      PR #41065
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      9c9032e6
  3. Feb 07, 2020
  4. Feb 10, 2020
  5. Feb 07, 2020
    • fda-odoo's avatar
      [FIX] documentation: typical command to launch odoo is not usable · 53dc9208
      fda-odoo authored
      
      The typical command to launch odoo in the install documentation is usable as it is after following the complete instructions.
      There is two changes done here:
      - Remove the ../my_modules from the command, as it is a directory not used in the page at all.
      - Remove the db-filter option not mandatory since the 11.0 version and add a '-d' argument. This will create the db instead of showing the database selector to the reader.
      
      closes odoo/odoo#44899
      
      X-original-commit: 6a5d43da
      Signed-off-by: default avatarDenis Ledoux (dle) <dle@odoo.com>
      53dc9208
    • fja-odoo's avatar
      [FIX] website_form, *: fix new website form · 67d9eafd
      fja-odoo authored
      
      * = website_crm, website_hr_recruitment, website_sale
      
      Changing label position on existing field was replacing the label with
      the default one.
      
      Redirection message was not updating the overlay
      
      Going from show message to redirect without hidding the mesage made the
      form d-none
      
      When a select field's label's position was changed the select was not
      editable anymore.
      
      Some other miscellaneous fixes
      
      task-2191409
      
      closes odoo/odoo#44911
      
      X-original-commit: 3cf87cc1cb179598cecb736728378e330d3b2e22
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      67d9eafd
  6. Feb 10, 2020
  7. Feb 07, 2020
  8. Feb 08, 2020
  9. Feb 07, 2020
  10. Feb 06, 2020
    • Simon Lejeune's avatar
      [FIX] stock_landed_costs: flaky tests · e2b42f37
      Simon Lejeune authored
      
      We chose the vendors by searching random res.partner but sometimes
      partners of another company are returned, making the _check_company
      mechanism raise an error.
      
      closes odoo/odoo#44815
      
      X-original-commit: 1cfcf21efa888720f9c34b337532251db6fd0089
      Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
      e2b42f37
    • Simon Lejeune's avatar
      [FIX] stock_landed_costs: reconciliation with vendor bill · 93b23776
      Simon Lejeune authored
      in anglo saxon accounting
      - receipt products through an rfq
      - when creating the vendor bill of the rfq, directly add a landed costs
        product
      - post the vendor bill then create the landed cost, validate the landed
        cost
      - the aml of the LC is not reconciled with the aml of the vendor bill
        for the lc product because the "You are trying to reconcile some
        entries that are already reconciled." error.
      
      We fix this by filtering out the already reconciled aml.
      Not that the flow is behaving as expected if the landed cost is created
      in another vendor bill, such as the tests were doing. We thus add
      another test.
      
      opw-2184988
      
      X-original-commit: 1e78527ac5295563e9610ad9ddd98834998285f3
      93b23776
    • Nicolas Martinelli's avatar
      [FIX] stock: default location for scrap · 25e38275
      Nicolas Martinelli authored
      
      - Create a default value for 'Source Location' or 'Scrap Location'
      - Create a Scrap Order
      
      the default value is not taken into account since it is overridden by
      `_onchange_company_id`.
      
      We avoid changing the location in case the company matches.
      
      opw-2189578
      
      closes odoo/odoo#44812
      
      X-original-commit: 5c544adb
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      25e38275
    • Nicolas Martinelli's avatar
      [FIX] account: 100% tax · 95300401
      Nicolas Martinelli authored
      
      - Create the following tax:
        Tax Computation: Percentage of Price Tax Included
        Amount: 100 %
        Included in price
      - Create an invoice, add a product with this tax
      - Save
      
      A ZeroDivision error is raised.
      
      opw-2186998
      
      closes odoo/odoo#44810
      
      X-original-commit: 0b11474a
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      95300401
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] purchase: specific search alter order duplication · 090748c3
      Andrea Grazioso (agr-odoo) authored
      
      1) Go to purchasing, and in the search area type "8888"
      2) Click on the little arrow next to "Search Product for: 8888"
      3) Select "[FURN_8888] Office Lamp"
      4) Choose Purchase Order PO00009 which has FURN_8888 on the second line:
      5) Choose Action > Duplicate
      
      The 1st line end up with the searched product, not the original product.
      This happens because the search add the context key
      'default_product_id'. By chance the product.product model has a
      'product_id' field which may happen to be not filled.
      This cause the model api to look for a default value in the context and the
      first line of the order get overridden.
      
      Removing the specific key from the env solve the issue
      
      opw-2188429
      
      closes odoo/odoo#44802
      
      X-original-commit: ed6ac9c6
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      090748c3
    • Adrian Torres's avatar
      [FIX] core: delay constraint application in case of upgrade · f61262eb
      Adrian Torres authored
      
      closes odoo/odoo#44800
      
      Co-authored-with: Xavier Dollé <xdo@odoo.com>
      X-original-commit: bc2bb5e0
      Signed-off-by: default avatarXavier Dollé (xdo) <xdo@odoo.com>
      f61262eb
  11. Jan 27, 2020
  12. Feb 06, 2020
Loading