Skip to content
Snippets Groups Projects
  1. Sep 17, 2023
  2. Sep 10, 2023
  3. Sep 03, 2023
  4. Aug 27, 2023
  5. Aug 16, 2023
    • Abdelouahab (abla)'s avatar
      [FIX] website_event_sale: mandatory company · cf06431b
      Abdelouahab (abla) authored
      
      To reproduce
      ============
      - create event with ticket that can be sold on website
      - make company field empty in event form
      - buy ticket from website and go back to the event form > Error raised
      
      Problem
      ========
      - the method `_compute_sale_price_subtotal` is using `company_id`, but as
      it's not required in Form View we give it a null value
      
      Solution
      ========
      - make `company_id` required from view
      - if `company_id` is not set, use the current company from `env`
      - Define constraint on `website_id` as the user should choose website from
      same company of the event
      
      opw-3395108
      
      closes odoo/odoo#128091
      
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      cf06431b
  6. Aug 13, 2023
  7. Aug 06, 2023
  8. Jul 30, 2023
  9. Jul 25, 2023
  10. Jul 23, 2023
  11. Jul 17, 2023
  12. Jul 16, 2023
  13. Jul 11, 2023
    • Thibault Delavallée's avatar
      [IMP] event: format mobile / phone number of attendees when possible · 94fa8d96
      Thibault Delavallée authored
      
      ISSUE
      
      SMS reminders are not always correctly sent, as people fill form using local
      numbers. When scheduler run the number is not always recognized to be
      formatted using E164 format. We should try to normalize numbers when possible.
      
      SPECIFICATIONS
      
      Try a sanitize: format number based on event country (or partner if set).
      If formatting it works, use the given number, otherwise use the original
      number.
      
      Do it at registration creation, as classic flow is the frontend where customers
      give numbers used to create registrations. When the number is coming from the
      partner through the compute, do not do anything and keep current behavior
      which copies partner number if not given directly on the registration.
      
      Add an onchange to try to format the number in the form view, like what is
      done on leads. Do not automatically do it at write as it is not really
      required currently from business point of view, it is more an helper for
      frontend registration.
      
      Task-3342820
      
      closes odoo/odoo#123658
      
      Signed-off-by: default avatarWarnon Aurélien (awa) <awa@odoo.com>
      94fa8d96
  14. Jul 09, 2023
  15. Jul 02, 2023
  16. Jun 25, 2023
  17. Jun 18, 2023
  18. Jun 11, 2023
  19. Jun 04, 2023
  20. May 28, 2023
  21. May 14, 2023
  22. May 07, 2023
  23. Apr 30, 2023
  24. Apr 26, 2023
  25. Apr 16, 2023
  26. Apr 14, 2023
  27. Apr 09, 2023
  28. Apr 02, 2023
  29. Mar 30, 2023
    • Tommy (tong)'s avatar
      [FIX] event_sale: fix unit test · 96998664
      Tommy (tong) authored
      
      Steps to reproduce:
      
      - Install any localization account module
      - Install event_sale
      - Run the unit test :TestEventSale.test_ticket_price_with_currency_conversion
      
      Current behaviour:
      The unit test will fail in line 341
      
      Expected behaviour:
      The unit test should not fail
      
      Explanation:
      The unit test used self.env.company which will populate demo invoices after installing
      the localization account module. Therefore we can't change the currency on the company
      any more in event_sale/tests/test_event_sale.py line 341. It is better to create a new
      company in the unit test to prevent side effect like this.
      
      closes odoo/odoo#116777
      
      X-original-commit: 105b48b5
      Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
      96998664
  30. Mar 26, 2023
  31. Mar 20, 2023
  32. Mar 19, 2023
  33. Mar 12, 2023
  34. Mar 05, 2023
  35. Feb 27, 2023
  36. Feb 26, 2023
  37. Feb 20, 2023
  38. Feb 13, 2023
  39. Feb 05, 2023
  40. Jan 29, 2023
Loading