Skip to content
Snippets Groups Projects
  1. Oct 27, 2017
    • Nicolas Lempereur's avatar
      6e1e350e
    • Laurent Smet's avatar
      [FIX] account, l10n_*: preserve existing tags on upgrade · c44024b5
      Laurent Smet authored
      Taxes tags for some localization have been rewrote in order to improve the taxes report.
      However, these changes delete the existing account.tags on stable version.
      
      These "[l10n_*] one tag per grid in tax reports" should target master instead of 9.0.
      
      -opw: 777464
      c44024b5
    • Christophe Monniez's avatar
      [FIX] website_slides: pdf slide viewer slug · e47e78e2
      Christophe Monniez authored
      When trying to get the pdf content in an IFrame, the url based on
      ID was not found and then redirected to a rewritten URL eventually
      with  wrong protocol (https became http). This causes a bug in
      modern browser that doesn't allow mixed content if the base website
      is in https. By using the slug in the URL, there is no redirection
      and we avoid changing the protocol.
      Thanks @Gorash and @nim-odoo
      
      opw-777950
      e47e78e2
  2. Oct 26, 2017
  3. Oct 25, 2017
  4. Oct 24, 2017
  5. Oct 23, 2017
  6. Oct 20, 2017
    • rde's avatar
      [IMP] auth_oauth: prevent portal users to land on /web after login · 31c1be1f
      rde authored
      Before this commit, a portal user would land on /web after login in with oauth.
      He would then just see the "Website" app.
      He should then click on it to land on website instead of landing directly on it
      after login in, which is not convenient, especially since theses users doesn't
      know Odoo (in case of sale customers manually created for instance).
      
      Now, if users has no 'base.group_user' right, it will be redirected to the
      website directly instead of /web.
      31c1be1f
    • Nicolas Martinelli's avatar
      [FIX] account: tax included · c6a9bab0
      Nicolas Martinelli authored
      - Create a tax included of 21 %
      - Create a product sold 7.00, set the 21 % tax
      - Add the product in a SO
      
      Amount w/o tax: 5.79
      Amount tax: 1.22
      Total: 7.01
      
      We defer the base rounding to the end of the method so that the rounding
      doesn't impact the tax computation of included taxes.
      
      Complement of 6e46ba7b
      
      opw-777221
      c6a9bab0
    • Fabien Meghazi's avatar
      [FIX] qweb2.js: fix erratic object type detection in foreach (Fixes #15655) · 3be3c6f5
      Fabien Meghazi authored
      Could not add a test as the qweb js testsuite is broken and it's xml
      test files have been modified in order to test qweb.py specific cases.
      3be3c6f5
  7. Oct 19, 2017
    • Goffin Simon's avatar
      [FIX] base_vat, website_sale: Verification of vat number in EU country · 2deb95b8
      Goffin Simon authored
          We have problems when trying to validate our EU VAT report because some vat number are wrongly encoded in Odoo.
          There are 2 problems:
      
          1) We use vatnumber library to check the validity of the VAT number entered by the user on website.
             That library removes the following characters '.' and '-' in order to perform the check and
             thus can return True for a number like 123.123.123.13 or -123-3454-34
             And those VAT number are then saved in our database but are rejected by the state
             as VAT number should only contains alphanumeric character
          -> Solution: prevent entering vat number with other characters than alphanumeric for users that are located in EUROPE!
      
          2) Usually VAT is prefixed by country code, however some people in europe managed to bypass the system
             by prefixing their VAT number with CC instead of their country code, CC is consider valid in odoo
             (it means Country Code) but is not a valid European country code in general, which means that those
             people that should have pay some tax have not. Which is a huge problem.
          -> Solution: prevent the use of CC as country code by the user when entering a vatnumber only if the user country is in EUROPE!
      
          source: https://en.wikipedia.org/wiki/VAT_identification_number
      
      opw:772621
      2deb95b8
  8. Oct 17, 2017
  9. Oct 16, 2017
  10. Oct 13, 2017
    • Jeremy Kersten's avatar
      [FIX] website_forum: add missing karma_answer field in form view · dc5bb0d6
      Jeremy Kersten authored
      This commit closes #19672
      dc5bb0d6
    • Martin Trigaux's avatar
      [FIX] tools: correctly export the non-module translations · 8f1d889e
      Martin Trigaux authored
      8ac39287 introdcude a way to export the source terms not located inside an
      addons module (e.g. error messages in openerp/service/models.py)
      
      0529a7f9 fixed a bug in the get_module_from_path with addons path with similar
      names.
      
      The above commit introduced a regression making files located outside of an
      addons path to be wrongly considered as a module
      e.g. openerp/service/models.py used not to match any module and was considered
      correctly as belonging to base module
      After, 0529a7f9, '~/openerp/service' being different than '~/openerp/service/'
      the module was considered as 'models.py' (which is incorrect).
      
      Compare correctly both parent path to have a correct match
      
      Fixes # 19907
      8f1d889e
  11. Oct 12, 2017
  12. Oct 11, 2017
  13. Oct 10, 2017
    • Nicolas Martinelli's avatar
      [FIX] account: invoiced amount · 99703583
      Nicolas Martinelli authored
      - Create 2 companies: A is parent of B.
      - Demo is in Company A
      - Create 2 invoices for a partner: one in A, one in B (100 each)
      - Validate the invoices
      
      Connected as Demo, the 'Invoiced' amount on the partner form view (stat
      button) is 100, while clicking on it shows both invoices (total of 200).
      
      There is no need to manually add the company in the `where` clause since
      the `_apply_ir_rules` will take care of adding the appropriate
      multi-company rules.
      
      opw-772479
      99703583
    • Christophe Simonis's avatar
  14. Oct 09, 2017
  15. Oct 08, 2017
  16. Oct 03, 2017
  17. Oct 02, 2017
  18. Oct 01, 2017
  19. Sep 29, 2017
  20. Sep 27, 2017
Loading