Skip to content
Snippets Groups Projects
  1. Jun 18, 2019
    • Patrick Hoste's avatar
      [FIX] website_slides: fix various issues to eLearning platform · f0ec2a8f
      Patrick Hoste authored
      
      Including
      
      * change h4 to h1 on the slide page;
      * add the rel='canonical' link header on the fullscreen view in order to
      improve SEO and links;
      * add space between quiz questions;
      * remove social share statistics as they are broken and not really useful;
      * moved tabs before the Quiz on the slide page;
      * allow to modify slide in backend by removing some readonly attributes;
      
      Linked to task ID 2010024
      Related to PR #34176
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      f0ec2a8f
  2. Jun 17, 2019
  3. Jun 14, 2019
  4. Jun 13, 2019
  5. Jun 12, 2019
  6. Jun 13, 2019
    • Sébastien Theys's avatar
      [FIX] website_sale: fix modal price when Select Quantity is disabled · bb9c3910
      Sébastien Theys authored
      
      To reproduce:
      
      - Go on the website page of a product with optional products.
      - Disable the Select Quantity customize show.
      - Click add to cart.
      
      This will open the optional product modal, where the quantity will be displayed.
      
      However changing that quantity will have no effect, especially the price will
      not update accordingly.
      
      The real issue is that the quantity should not be displayed there if Select
      Quantity is disabled, but this has never worked before, so this is outside the
      scope of this fix.
      
      Anyway, since the quantity is present there, we would at least expect it to
      correctly recompute the price, which worked fine when the modal was introduced,
      but has been broken since 51e51055
      
      opw-2005317
      
      closes odoo/odoo#33992
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      bb9c3910
    • Nicolas Martinelli's avatar
      [FIX] hr_payroll_account: analytic account · 4b8f72eb
      Nicolas Martinelli authored
      
      - Set an analytic account on an employee contract
      - Set credit and debit accounts on the salary rules
      - Create a payslip, confirm
      
      The journal items created do not use the analytic account set on the
      contract.
      
      If no analytic account is set on the salary rule, we fall back on the
      contract account.
      
      opw-2006090
      
      closes odoo/odoo#34095
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      4b8f72eb
  7. Jun 12, 2019
    • Nans Lefebvre's avatar
      [FIX] stock: put stored related field product_code in compute_sudo · f1706c84
      Nans Lefebvre authored
      
      Have a multi-company setup, with shared products.
      Write the default code of a product; an access error is raised on inventory.line
      
      On inventory.line, the field product_code is defined as related to
      'product_id.default_code', and stored.
      So when writing on the default_code of a product, we get the inventory lines of
      other companies. For obvious reasons their access is protected by the record
      rule "Inventory Line multi-company", therefore the access error is raised.
      
      To avoid that situation stored related fields should be in compute_sudo.
      
      Note that similarly this is necessary for product_name.
      There is one more subtlety: directly writing on the product.product does trigger
      the access error, but writing it on the product.template does not.
      
      opw 2007167
      
      closes odoo/odoo#34019
      
      Signed-off-by: default avatarNans Lefebvre (len) <len@odoo.com>
      f1706c84
  8. Jun 13, 2019
  9. Jun 12, 2019
  10. Jun 11, 2019
  11. Jun 07, 2019
    • Nicolas Martinelli's avatar
      [FIX] sale: recompute delivered qty · a25f6e1b
      Nicolas Martinelli authored
      
      - Create a product A of type "Service", Invoice based on "Milestones",
      Service Tracking "Create a task in a new project".
      - Create a new SO with A, confirm.
      - Go the to task associated to the SO, go to "Timesheets" tab, add an
      entry
      - In the SO, edit the delivered quantity
      - Create invoice, validate
      
      Back to the SO, delivered quantity is reset to 0.
      
      We make sure to filter out SO lines which have a delivered quantity set
      manually.
      
      Introduced by d6ad2222.
      
      opw-1982020
      
      closes odoo/odoo#33991
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      a25f6e1b
  12. Jun 09, 2019
  13. Jun 07, 2019
    • Lucas Lefèvre's avatar
      [FIX] hr_holidays: Fix out of office message default value · 12ace54a
      Lucas Lefèvre authored
      
      If a user has an ooom in his Preferences, it should be
      used as the default value for a leave ooom.
      
      closes odoo/odoo#33890
      
      Signed-off-by: default avatarRomain Libert (rli) <rli@odoo.com>
      12ace54a
    • Lucas Lefèvre's avatar
      [FIX] hr_holidays: Fix out of office message edition · 8dff37f3
      Lucas Lefèvre authored
      Purpose
      =======
      Currently, the ooom field is editable in the leave view but an ir.rule
      prevents the employee to save as soon as the leave is approved.
      
      Specification
      =============
      An employee should be able to edit the out of office message
      even if the leave is already approved.
      8dff37f3
    • Cédric Snauwaert's avatar
      [FIX] account: remove the warning in reconciliation widget for to_check · cc6cc7ae
      Cédric Snauwaert authored
      
      The goal of the to_check checkbox in the reconciliation widget is to set the to_check field present on the move that will be created. However since the UI is not perfect, the to_check checkbox was added on the wizard when we create a new line in the widget, which cause the following problem: what if we select to_check on line1 and then deselect it on line2, previously it was not possible to do this, a warning was thrown to tell the user that he had some line with to_check set and some other not. A better way to do this, and more user friendly is by preventing the user from deselecting the checkbox if some other line has the to_check value set.
      
      closes odoo/odoo#33956
      
      Signed-off-by: default avatarCedric Snauwaert (csn) <csn@openerp.com>
      cc6cc7ae
Loading