Skip to content
Snippets Groups Projects
  1. May 11, 2020
    • Wolfgang Taferner's avatar
      [FIX] base, l10n_at: address format, vat label and country states · 73f56875
      Wolfgang Taferner authored
      
      Address format and vat label are not properly set for Austria and
      country states are missing for localized needs.
      
      closes odoo/odoo#51038
      
      X-original-commit: 5f05e2f8
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      73f56875
    • Swapnesh Shah's avatar
      [FIX] website_sale: check invitation scope based on website · 1bcaaaff
      Swapnesh Shah authored
      
      Try to Reproduce the Issue:
      
      Enable Multi Website
          My Website: Set `On invitation` (b2b) under Website settings. -- It will set `auth_signup.invitation_scope` to b2b
          My Website2 : Set `Free sign up` (b2c) under Website settings. -- It will set `auth_signup.invitation_scope` to b2c
      
      Place a Guest Order for Website one.
      `Sign Up` button will be visible as current Implementation is checking for ICP only.
      
      With this commit, We are checking Invitation Scope based on the Current Website.
      
      Fixes #50964
      
      closes odoo/odoo#51037
      
      X-original-commit: 608e8b4c
      Signed-off-by: default avatarJérémy Kersten (jke) <jke@openerp.com>
      1bcaaaff
    • Swapnesh Shah's avatar
      [FIX] hr_holidays: use correct company from environment · 8376fd1b
      Swapnesh Shah authored
      
      Before this commit, It was considering the company from the current company of the User while User can be in different Company Environment.
      
      With this fix, we are taking the company from Environment.
      
      closes odoo/odoo#51023
      
      X-original-commit: 7b32cc6e
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      8376fd1b
    • Swapnesh Shah's avatar
      [FIX] odoo_referral: notify user if popup is blocked · 28a68b6b
      Swapnesh Shah authored
      
      Before this, User was unaware of the fact that Popup might be blocked which due to which window won't be opened.
      
      With this commit, We notify users about that.
      
      closes odoo/odoo#51015
      
      X-original-commit: 393f417c
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      28a68b6b
    • Swapnesh Shah's avatar
      [FIX] hr: use correct company for new employee · 665c2d53
      Swapnesh Shah authored
      
      Before this commit, Creating New Employee from User's form was taking default company from the current logged-in User instead of the User for which it Employee is being created.
      
      With this commit, We take default company from User for which employee is created.
      
      closes odoo/odoo#51014
      
      X-original-commit: 9206cc4d
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      665c2d53
    • Jorge Pinna Puissant's avatar
      [FIX] mail: unlink user notifications with related record · 5faf3ce1
      Jorge Pinna Puissant authored
      
      Message with type user_notification are special "invisible"
      notifications that are not accessible to users normally. That's why they
      were excluded from the automatic message deletion in
      mail.thread.unlink(), to avoid permission errors. But this caused
      orphans leftover notifications in the database, and the fix here is to
      instead do the deletion of messages in sudo mode, and make sure
      user_notification messages are deleted as well.
      
      Doing this is not a security risk because the deletion of the record
      itself (the super call) is still done without sudo, and if it fails,
      the whole transaction will be rolled back. And it is part of the
      expected ACLs for messages that if you can delete a record you are
      allowed delete its messages. The fact that user_notification messages
      are not accessible by normal users is for usability reasons (noise in
      chatter), not security reasons.
      
      opw-2234282
      
      closes odoo/odoo#51010
      
      X-original-commit: 094559aef4fdfebcba43a089cec4da5f4028a8f2
      Signed-off-by: default avatarJorge Pinna Puissant (jpp) <jpp@odoo.com>
      5faf3ce1
    • Jorge Pinna Puissant's avatar
      [FIX] point_of_sale: wrong date on invoice created from pos · 44ce4baa
      Jorge Pinna Puissant authored
      
      - Have a user in an early timezone (for example Samoa Standard Time);
      - Open a POS session in the evening (say 20h).
      - Buy something, pay and ask for an invoice.
      
      Before this commit, the date of the order was correct (today at 20h),
      but the date of the invoice was wrong (it shows tomorrows date). This
      issue occurs because the invoice date wasn't taking into account the
      timezone.
      
      Now, both dates are corrected.
      
      opw-2231820
      
      closes odoo/odoo#51001
      
      X-original-commit: 19e9c4a0380e7ad7af297d13909dcbc63629a20d
      Signed-off-by: default avatarJorge Pinna Puissant (jpp) <jpp@odoo.com>
      44ce4baa
    • Jorge Pinna Puissant's avatar
      [FIX] point_of_sale: wrong date on session last closing date · 0602f598
      Jorge Pinna Puissant authored
      Before this commit, the last closing date of the POS didn't take into
      account the timezone.
      
      Now, the date take into account the timezone.
      
      opw-2231820
      
      X-original-commit: 1b738ac4b8b52042976ad209a1968135c55a16dc
      0602f598
    • Jorge Pinna Puissant's avatar
      [FIX] point_of_sale: wrong date in pos payment · 01c64f39
      Jorge Pinna Puissant authored
      - Have a user in an early timezone (for example Samoa Standard Time);
      - Open a POS session in the evening (say 20h).
      - Buy something and pay with cash.
      - Close the session.
      - List the session orders, and open the newly create order.
      
      Before this commit, the date of the order was correct (today at 20h),
      but the date of the payment was wrong (yesterday at 13h). This error
      occurs because a wrong format was used and the date was taken into
      account two times the timezone.
      
      Now, both dates are corrected.
      
      This fix is a partial revert of 21575407
      
      opw-2231820
      
      X-original-commit: 020e5547ad10583000748659de0e2b14ceabbf97
      01c64f39
  2. May 07, 2020
  3. May 11, 2020
  4. May 08, 2020
  5. May 10, 2020
  6. May 01, 2020
  7. May 09, 2020
  8. May 11, 2020
    • Odoo's Mergebot's avatar
      [REF] *_sale_coupon: create coupon module · ce08c58f
      Odoo's Mergebot authored
      
      This refactoring extracts parts of sale_coupon module to create a more
      generic module called coupon. This new module can be extended in
      different sales modules to implement functionalities specific to modules
      that extend it.
      
      TASK-ID: 1967639
      
      Enterprise PR: odoo/enterprise#6020
      
      --
      I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
      
      closes odoo/odoo#38382
      
      Related: odoo/upgrade#1072
      Signed-off-by: default avatarpimodoo <pimodoo@users.noreply.github.com>
      ce08c58f
  9. May 08, 2020
  10. May 11, 2020
  11. May 08, 2020
  12. May 07, 2020
    • Samuel Degueldre's avatar
      [FIX] web_editor: increase precision of number-string conversion · e09120a1
      Samuel Degueldre authored
      
      Previously, when converting a number to a string we only kept 3
      decimals, it turns out that when converting back and forth between rem
      and pixels, we were losing enough precision that we had inexact pixel
      values shown to the end user for odd number of pixels, even with the
      default rem value of 16px.
      
      This commit increases the precision to 5 to work around this issue and
      allow us to convert exactly between rem and pixels at the default
      16px/rem.
      
      task-2248360
      
      closes odoo/odoo#50881
      
      X-original-commit: fdce273f4fe72a9e2555acecad3c2989110dac1a
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      e09120a1
  13. May 08, 2020
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] pos_discount: correctly get discount amount · f0afe742
      Andrea Grazioso (agr-odoo) authored
      
      Activate a language which has comma as decimal separator
      Go into POS settings, activate 'Global Discount'.
      Open POS session, add some product and use global discount.
      Input some number with decimals and confirm.
      Discount will be not applied
      
      This occur because of javascript type coercion:
       Math.min(100, "11.0") -> 11
       Math.min(100, "11,0") -> NaN
      
      So in locales with thousands separator the statement would produce
      different results. Forcing float parsing fix the issue
      
      opw-2243482
      
      closes odoo/odoo#50900
      
      X-original-commit: 84a6c2a5
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      f0afe742
    • Laurent Stukkens (LTU)'s avatar
      [IMP] web: Allow hide/show stroke in signature · 68584351
      Laurent Stukkens (LTU) authored
      
      In the sign application, it appeared that when using the default signature
      in a signature SignItem that was higher the stroke at the bottom was doubbled.
      
      This was caused by the fact that the bottom stroke is always added to the
      template and that the default signature image had it already.
      
      In order to solve this, we have added a setting 'show-stroke' that allows
      controlling the stroke presence in the signature.
      
      Task Id 2216067
      Closes #48529
      
      Related odoo/enterprise#9538
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      68584351
    • Laurent Stukkens (LTU)'s avatar
      [FIX] web_tour: Correct misplaced tip info mode in iframe · 7c005030
      Laurent Stukkens (LTU) authored
      * The info mode was misplaced when running into iframe.
      
      * Added static position to the tip when anchor position is fixed
      
      Task Id 2216067
      Closes #48529
      7c005030
  14. May 07, 2020
  15. Apr 30, 2020
Loading