Skip to content
Snippets Groups Projects
  1. Nov 28, 2019
  2. Nov 27, 2019
  3. Nov 28, 2019
    • Goffin Simon's avatar
      [FIX] website_sale: Wrong price_unit in the cart · c1c44041
      Goffin Simon authored
      
      Steps to reproduce the bug:
      - Let's consider two companies C1 and C2
      - Let's consider website W
      - Activate multi-company
      - Disable common contact book and common catalog
      - Switch the superuser in company C2
      - Activate pricelist
      - Create a public pricelist PL for C1 and available on W
      - Set up a pricelist with compute price = formula and  based on = cost
      - Go Sales > Configuration > tick Multiple Sales Prices per Product and tick Prices computed from formulas
      - Create a portal user PU and set PL on him
      - Create a product P with cost = 10$ and publish it on W
      - Set up the product valuation as: automated
      - Log as PU and go on the shop
      - Put P on your cart
      
      Bug:
      
      The price of P was 0$ instead of 10$
      
      opw:2092695
      
      closes odoo/odoo#40981
      
      X-original-commit: 40d3fa50
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      c1c44041
    • Martin Trigaux's avatar
      [FIX] tools: no pollution during export translation · b175558c
      Martin Trigaux authored
      
      Before this commit, the export of translations was incorrect for code
      and model translations:
      
      For code translations, the field 'name' was used for the matching
      while the _() method explicitly use None in the _get_source call to
      only use the field 'src' for the search.
      
      For model translations, the field 'res_id' was not used when searching
      for a translation.
      For instance, if a ir.model.fields did not have translated label,
      exporting the translations was using the translations of the first
      field having the same source.
      While this could be convient during the import (to be discussed),
      doing so in an export of translation is clearly an unexpected
      side-effect.
      
      closes odoo/odoo#40909
      
      X-original-commit: 4534181f
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      b175558c
    • jbm-odoo's avatar
      [Fix] hr_employee: Fix compute fields · 9725eadf
      jbm-odoo authored
      
      When we add a user to employee, we can have problem with leave,
      expense or coach manager. It's due to those compute fields.
      
      closes odoo/odoo#40795
      
      Related: odoo/enterprise#6865
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      9725eadf
    • jbm-odoo's avatar
      [IMP] fleet: Add analytic account and mobility card · df44538a
      jbm-odoo authored
      Create analytic account from fleet (and link it to vehicle) based
      on the plate and the fiscal deduction rate (if l10n_hr_payroll_fleet
      is installed).
      
      Add on employee a Mobility Card number. This number is set on vehicle
      when we put a partner linked to employee on a vehicle.
      
      taskID: 2127641
      df44538a
  4. Nov 27, 2019
  5. Nov 28, 2019
  6. Nov 27, 2019
  7. Nov 28, 2019
    • William Henrotin's avatar
      [IMP] stock: track changes on type · 8c164109
      William Henrotin authored
      
      Changing a product type from consumable to storable and and vice versa can
      make the quantity in stock confusing. As only storable product update the
      stock quants, the amount on stock moves could be diffenrent that the one
      on stock quant if the product type has been changed in the past.
      
      This commit will make those changes saved in the chatter history in order
      to easily track inconsistencies
      
      closes odoo/odoo#40997
      
      Opw: 2125124
      X-original-commit: 7c330b44
      Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
      8c164109
  8. Nov 27, 2019
  9. Nov 22, 2019
  10. Nov 28, 2019
  11. Nov 27, 2019
  12. Nov 14, 2019
  13. Nov 13, 2019
  14. Nov 27, 2019
  15. Nov 21, 2019
  16. Nov 27, 2019
  17. Nov 26, 2019
  18. Nov 27, 2019
  19. Nov 22, 2019
    • jvm-odoo's avatar
      [FIX] sale_crm: fix crm quotation context · 5ff3bec5
      jvm-odoo authored
      
      Reproduce the issue
      
          - Install CRM & sale_crm
          - Create an opportunity
          - Create a quotation from the opportunity
      
          The name of the draft is the opportunity's name instead of "New"
      
          - Add a "Storage Box" to the quotation, for instance
          - Confirm the quotation
          - Check the delivery note
      
          The name of the delivery note is the opportunity's name instead of
          WH/OUT/...
      
      Cause
      
          This issue is caused by 4c9c249c. It seems that we pass an extra
          default_name in the context.
      
      This commit removes the extra default_name from the context.
      
      OPW-2122928
      
      closes odoo/odoo#40943
      
      X-original-commit: e8d91e4a
      Signed-off-by: default avatarJason Van Malder <jasonvanmalder@users.noreply.github.com>
      5ff3bec5
Loading