Browse Source

[10.0][FIX][date_range] Periods of one day should be allowed (#947)

pull/3/head
mreficent 7 years ago
committed by Laurent Mignon (ACSONE)
parent
commit
99877cf7d7
  1. 2
      date_range/__manifest__.py
  2. 2
      date_range/i18n/am.po
  3. 2
      date_range/i18n/ar.po
  4. 2
      date_range/i18n/bg.po
  5. 2
      date_range/i18n/bs.po
  6. 4
      date_range/i18n/ca.po
  7. 4
      date_range/i18n/ca_ES.po
  8. 2
      date_range/i18n/cs.po
  9. 2
      date_range/i18n/da.po
  10. 4
      date_range/i18n/de.po
  11. 2
      date_range/i18n/el_GR.po
  12. 2
      date_range/i18n/en_AU.po
  13. 2
      date_range/i18n/en_GB.po
  14. 4
      date_range/i18n/es.po
  15. 2
      date_range/i18n/es_AR.po
  16. 2
      date_range/i18n/es_CL.po
  17. 2
      date_range/i18n/es_CO.po
  18. 2
      date_range/i18n/es_CR.po
  19. 2
      date_range/i18n/es_DO.po
  20. 2
      date_range/i18n/es_EC.po
  21. 2
      date_range/i18n/es_ES.po
  22. 2
      date_range/i18n/es_MX.po
  23. 2
      date_range/i18n/es_PE.po
  24. 2
      date_range/i18n/es_PY.po
  25. 2
      date_range/i18n/es_VE.po
  26. 2
      date_range/i18n/et.po
  27. 2
      date_range/i18n/eu.po
  28. 2
      date_range/i18n/fa.po
  29. 2
      date_range/i18n/fi.po
  30. 2
      date_range/i18n/fr.po
  31. 2
      date_range/i18n/fr_CA.po
  32. 2
      date_range/i18n/fr_CH.po
  33. 2
      date_range/i18n/fr_FR.po
  34. 2
      date_range/i18n/gl.po
  35. 2
      date_range/i18n/gl_ES.po
  36. 2
      date_range/i18n/he.po
  37. 2
      date_range/i18n/hi.po
  38. 4
      date_range/i18n/hr.po
  39. 2
      date_range/i18n/hr_HR.po
  40. 2
      date_range/i18n/hu.po
  41. 2
      date_range/i18n/id.po
  42. 2
      date_range/i18n/it.po
  43. 2
      date_range/i18n/ja.po
  44. 2
      date_range/i18n/ko.po
  45. 2
      date_range/i18n/lo.po
  46. 2
      date_range/i18n/lt.po
  47. 2
      date_range/i18n/lt_LT.po
  48. 2
      date_range/i18n/lv.po
  49. 2
      date_range/i18n/mk.po
  50. 2
      date_range/i18n/mn.po
  51. 2
      date_range/i18n/nb.po
  52. 2
      date_range/i18n/nb_NO.po
  53. 2
      date_range/i18n/nl.po
  54. 2
      date_range/i18n/nl_BE.po
  55. 4
      date_range/i18n/nl_NL.po
  56. 2
      date_range/i18n/pl.po
  57. 4
      date_range/i18n/pt.po
  58. 2
      date_range/i18n/pt_BR.po
  59. 2
      date_range/i18n/pt_PT.po
  60. 2
      date_range/i18n/ro.po
  61. 2
      date_range/i18n/ru.po
  62. 2
      date_range/i18n/sk.po
  63. 2
      date_range/i18n/sl.po
  64. 2
      date_range/i18n/sr.po
  65. 2
      date_range/i18n/sr@latin.po
  66. 2
      date_range/i18n/sv.po
  67. 2
      date_range/i18n/th.po
  68. 2
      date_range/i18n/tr.po
  69. 2
      date_range/i18n/tr_TR.po
  70. 2
      date_range/i18n/uk.po
  71. 2
      date_range/i18n/vi.po
  72. 2
      date_range/i18n/vi_VN.po
  73. 2
      date_range/i18n/zh_CN.po
  74. 2
      date_range/i18n/zh_TW.po
  75. 4
      date_range/models/date_range.py
  76. 2
      date_range/tests/test_date_range.py

2
date_range/__manifest__.py

@ -4,7 +4,7 @@
{
"name": "Date Range",
"summary": "Manage all kind of date range",
"version": "10.0.1.0.1",
"version": "10.0.1.0.2",
"category": "Uncategorized",
"website": "https://odoo-community.org/",
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",

2
date_range/i18n/am.po

@ -20,7 +20,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/ar.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/bg.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/bs.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

4
date_range/i18n/ca.po

@ -21,8 +21,8 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgstr ""
msgid "%s is not a valid range (%s > %s)"
msgstr "%s no és un rang vàlid (%s > %s)"
#. module: date_range
#: code:addons/date_range/models/date_range.py:71

4
date_range/i18n/ca_ES.po

@ -21,8 +21,8 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgstr ""
msgid "%s is not a valid range (%s > %s)"
msgstr "%s no és un rang vàlid (%s > %s)"
#. module: date_range
#: code:addons/date_range/models/date_range.py:71

2
date_range/i18n/cs.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/da.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

4
date_range/i18n/de.po

@ -21,8 +21,8 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgstr "%s ist nicht im erlaubten Bereich (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr "%s ist nicht im erlaubten Bereich (%s > %s)"
#. module: date_range
#: code:addons/date_range/models/date_range.py:71

2
date_range/i18n/el_GR.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/en_AU.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/en_GB.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

4
date_range/i18n/es.po

@ -21,8 +21,8 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgstr "%s no es un rango válido (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr "%s no es un rango válido (%s > %s)"
#. module: date_range
#: code:addons/date_range/models/date_range.py:71

2
date_range/i18n/es_AR.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_CL.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_CO.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_CR.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_DO.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_EC.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_ES.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_MX.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_PE.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_PY.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/es_VE.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/et.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/eu.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/fa.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/fi.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/fr.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/fr_CA.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/fr_CH.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/fr_FR.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/gl.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/gl_ES.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/he.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/hi.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

4
date_range/i18n/hr.po

@ -21,8 +21,8 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgstr "%s nije valjani raspon (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr "%s nije valjani raspon (%s > %s)"
#. module: date_range
#: code:addons/date_range/models/date_range.py:71

2
date_range/i18n/hr_HR.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/hu.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/id.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/it.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/ja.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/ko.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/lo.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/lt.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/lt_LT.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/lv.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/mk.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/mn.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/nb.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/nb_NO.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/nl.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/nl_BE.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

4
date_range/i18n/nl_NL.po

@ -21,8 +21,8 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgstr "%s is geen geldig bereik (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr "%s is geen geldig bereik (%s > %s)"
#. module: date_range
#: code:addons/date_range/models/date_range.py:71

2
date_range/i18n/pl.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

4
date_range/i18n/pt.po

@ -21,8 +21,8 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgstr "%s não é um intervalo válido (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr "%s não é um intervalo válido (%s > %s)"
#. module: date_range
#: code:addons/date_range/models/date_range.py:71

2
date_range/i18n/pt_BR.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/pt_PT.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/ro.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/ru.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/sk.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/sl.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/sr.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/sr@latin.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/sv.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/th.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/tr.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/tr_TR.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/uk.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/vi.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/vi_VN.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/zh_CN.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

2
date_range/i18n/zh_TW.po

@ -21,7 +21,7 @@ msgstr ""
#. module: date_range
#: code:addons/date_range/models/date_range.py:43
#, python-format
msgid "%s is not a valid range (%s >= %s)"
msgid "%s is not a valid range (%s > %s)"
msgstr ""
#. module: date_range

4
date_range/models/date_range.py

@ -38,9 +38,9 @@ class DateRange(models.Model):
for this in self:
start = fields.Date.from_string(this.date_start)
end = fields.Date.from_string(this.date_end)
if start >= end:
if start > end:
raise ValidationError(
_("%s is not a valid range (%s >= %s)") % (
_("%s is not a valid range (%s > %s)") % (
this.name, this.date_start, this.date_end))
if this.type_id.allow_overlap:
continue

2
date_range/tests/test_date_range.py

@ -56,7 +56,7 @@ class DateRangeTest(TransactionCase):
})
self.assertEqual(
cm.exception.name,
'FS2016 is not a valid range (2016-12-31 >= 2015-01-01)')
'FS2016 is not a valid range (2016-12-31 > 2015-01-01)')
def test_overlap(self):
date_range = self.env['date.range']

Loading…
Cancel
Save