From fe3d485aff6caa43877a3c8e9bf547ac00d95fef Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Mon, 9 Oct 2017 14:58:40 +0200 Subject: [PATCH] [MIG] date_range --- date_range/README.rst | 2 +- date_range/__manifest__.py | 2 +- date_range/i18n/ar.po | 2 +- date_range/i18n/bg.po | 2 +- date_range/i18n/bs.po | 2 +- date_range/i18n/ca.po | 2 +- date_range/i18n/ca_ES.po | 2 +- date_range/i18n/cs.po | 2 +- date_range/i18n/da.po | 2 +- date_range/i18n/de.po | 2 +- date_range/i18n/el_GR.po | 2 +- date_range/i18n/en_AU.po | 2 +- date_range/i18n/en_GB.po | 2 +- date_range/i18n/es.po | 2 +- date_range/i18n/es_AR.po | 2 +- date_range/i18n/es_CL.po | 2 +- date_range/i18n/es_CO.po | 2 +- date_range/i18n/es_CR.po | 2 +- date_range/i18n/es_DO.po | 2 +- date_range/i18n/es_EC.po | 2 +- date_range/i18n/es_ES.po | 2 +- date_range/i18n/es_MX.po | 2 +- date_range/i18n/es_PE.po | 2 +- date_range/i18n/es_PY.po | 2 +- date_range/i18n/es_VE.po | 2 +- date_range/i18n/et.po | 2 +- date_range/i18n/eu.po | 2 +- date_range/i18n/fa.po | 2 +- date_range/i18n/fi.po | 2 +- date_range/i18n/fr.po | 2 +- date_range/i18n/fr_CA.po | 2 +- date_range/i18n/fr_CH.po | 2 +- date_range/i18n/fr_FR.po | 2 +- date_range/i18n/gl.po | 2 +- date_range/i18n/gl_ES.po | 2 +- date_range/i18n/he.po | 2 +- date_range/i18n/hi.po | 2 +- date_range/i18n/hr.po | 2 +- date_range/i18n/hr_HR.po | 2 +- date_range/i18n/hu.po | 2 +- date_range/i18n/id.po | 2 +- date_range/i18n/it.po | 2 +- date_range/i18n/ja.po | 2 +- date_range/i18n/ko.po | 2 +- date_range/i18n/lo.po | 2 +- date_range/i18n/lt.po | 2 +- date_range/i18n/lt_LT.po | 2 +- date_range/i18n/lv.po | 2 +- date_range/i18n/mk.po | 2 +- date_range/i18n/mn.po | 2 +- date_range/i18n/nb.po | 2 +- date_range/i18n/nb_NO.po | 2 +- date_range/i18n/nl.po | 2 +- date_range/i18n/nl_BE.po | 2 +- date_range/i18n/nl_NL.po | 2 +- date_range/i18n/pl.po | 2 +- date_range/i18n/pt.po | 2 +- date_range/i18n/pt_BR.po | 2 +- date_range/i18n/pt_PT.po | 2 +- date_range/i18n/ro.po | 2 +- date_range/i18n/ru.po | 2 +- date_range/i18n/sk.po | 2 +- date_range/i18n/sl.po | 2 +- date_range/i18n/sr.po | 2 +- date_range/i18n/sr@latin.po | 2 +- date_range/i18n/sv.po | 2 +- date_range/i18n/th.po | 2 +- date_range/i18n/tr.po | 2 +- date_range/i18n/tr_TR.po | 2 +- date_range/i18n/uk.po | 2 +- date_range/i18n/vi.po | 2 +- date_range/i18n/vi_VN.po | 2 +- date_range/i18n/zh_CN.po | 2 +- date_range/i18n/zh_TW.po | 2 +- date_range/tests/test_date_range.py | 4 ++-- date_range/tests/test_date_range_generator.py | 2 +- date_range/wizard/date_range_generator.py | 2 +- 77 files changed, 78 insertions(+), 78 deletions(-) diff --git a/date_range/README.rst b/date_range/README.rst index dec0a24..60bb0cf 100644 --- a/date_range/README.rst +++ b/date_range/README.rst @@ -63,7 +63,7 @@ To configure this module, you need to: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/149/10.0 + :target: https://runbot.odoo-community.org/runbot/149/11.0 Known issues / Roadmap diff --git a/date_range/__manifest__.py b/date_range/__manifest__.py index a479a20..b2ac4f9 100644 --- a/date_range/__manifest__.py +++ b/date_range/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Date Range", "summary": "Manage all kind of date range", - "version": "10.0.1.0.2", + "version": "11.0.1.0.0", "category": "Uncategorized", "website": "https://odoo-community.org/", "author": "ACSONE SA/NV, Odoo Community Association (OCA)", diff --git a/date_range/i18n/ar.po b/date_range/i18n/ar.po index 8d28dce..9276042 100644 --- a/date_range/i18n/ar.po +++ b/date_range/i18n/ar.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/bg.po b/date_range/i18n/bg.po index f43d487..a90e4d7 100644 --- a/date_range/i18n/bg.po +++ b/date_range/i18n/bg.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/bs.po b/date_range/i18n/bs.po index 644d935..e45306d 100644 --- a/date_range/i18n/bs.po +++ b/date_range/i18n/bs.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/ca.po b/date_range/i18n/ca.po index ff7b64d..9f6e6c2 100644 --- a/date_range/i18n/ca.po +++ b/date_range/i18n/ca.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/ca_ES.po b/date_range/i18n/ca_ES.po index 3457a1a..e58500e 100644 --- a/date_range/i18n/ca_ES.po +++ b/date_range/i18n/ca_ES.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-12-23 02:01+0000\n" "PO-Revision-Date: 2016-12-23 02:01+0000\n" diff --git a/date_range/i18n/cs.po b/date_range/i18n/cs.po index 5ef3574..ff975c3 100644 --- a/date_range/i18n/cs.po +++ b/date_range/i18n/cs.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/da.po b/date_range/i18n/da.po index cb4385b..aa031d6 100644 --- a/date_range/i18n/da.po +++ b/date_range/i18n/da.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/de.po b/date_range/i18n/de.po index cc1dd09..70d0433 100644 --- a/date_range/i18n/de.po +++ b/date_range/i18n/de.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/el_GR.po b/date_range/i18n/el_GR.po index ec29c9b..f4770aa 100644 --- a/date_range/i18n/el_GR.po +++ b/date_range/i18n/el_GR.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/en_AU.po b/date_range/i18n/en_AU.po index f1c93d2..c1c96f9 100644 --- a/date_range/i18n/en_AU.po +++ b/date_range/i18n/en_AU.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-12-23 02:01+0000\n" "PO-Revision-Date: 2016-12-23 02:01+0000\n" diff --git a/date_range/i18n/en_GB.po b/date_range/i18n/en_GB.po index 6691574..8e2b9d0 100644 --- a/date_range/i18n/en_GB.po +++ b/date_range/i18n/en_GB.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es.po b/date_range/i18n/es.po index d3f3cc5..fe64327 100644 --- a/date_range/i18n/es.po +++ b/date_range/i18n/es.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_AR.po b/date_range/i18n/es_AR.po index 93de073..cad8c26 100644 --- a/date_range/i18n/es_AR.po +++ b/date_range/i18n/es_AR.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_CL.po b/date_range/i18n/es_CL.po index 166cdeb..e5c8107 100644 --- a/date_range/i18n/es_CL.po +++ b/date_range/i18n/es_CL.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_CO.po b/date_range/i18n/es_CO.po index 3472834..d955f5c 100644 --- a/date_range/i18n/es_CO.po +++ b/date_range/i18n/es_CO.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_CR.po b/date_range/i18n/es_CR.po index 78a8e38..9a1d20b 100644 --- a/date_range/i18n/es_CR.po +++ b/date_range/i18n/es_CR.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_DO.po b/date_range/i18n/es_DO.po index 9a61914..d6e6201 100644 --- a/date_range/i18n/es_DO.po +++ b/date_range/i18n/es_DO.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_EC.po b/date_range/i18n/es_EC.po index 1eb65d9..d2aa915 100644 --- a/date_range/i18n/es_EC.po +++ b/date_range/i18n/es_EC.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_ES.po b/date_range/i18n/es_ES.po index 12ef258..04a6a93 100644 --- a/date_range/i18n/es_ES.po +++ b/date_range/i18n/es_ES.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_MX.po b/date_range/i18n/es_MX.po index a96a864..162c024 100644 --- a/date_range/i18n/es_MX.po +++ b/date_range/i18n/es_MX.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_PE.po b/date_range/i18n/es_PE.po index cab240e..f3901fe 100644 --- a/date_range/i18n/es_PE.po +++ b/date_range/i18n/es_PE.po @@ -6,7 +6,7 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_PY.po b/date_range/i18n/es_PY.po index 535b11f..60f47f3 100644 --- a/date_range/i18n/es_PY.po +++ b/date_range/i18n/es_PY.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/es_VE.po b/date_range/i18n/es_VE.po index be38bec..0e1b8b0 100644 --- a/date_range/i18n/es_VE.po +++ b/date_range/i18n/es_VE.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/et.po b/date_range/i18n/et.po index 61a8242..a645e16 100644 --- a/date_range/i18n/et.po +++ b/date_range/i18n/et.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/eu.po b/date_range/i18n/eu.po index 7a5a4a8..82776fb 100644 --- a/date_range/i18n/eu.po +++ b/date_range/i18n/eu.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/fa.po b/date_range/i18n/fa.po index 90911c1..abb0544 100644 --- a/date_range/i18n/fa.po +++ b/date_range/i18n/fa.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/fi.po b/date_range/i18n/fi.po index c541364..0d6c0ce 100644 --- a/date_range/i18n/fi.po +++ b/date_range/i18n/fi.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/fr.po b/date_range/i18n/fr.po index 76cfbe8..18faf4c 100644 --- a/date_range/i18n/fr.po +++ b/date_range/i18n/fr.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/fr_CA.po b/date_range/i18n/fr_CA.po index 9b2ce43..a6435c1 100644 --- a/date_range/i18n/fr_CA.po +++ b/date_range/i18n/fr_CA.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/fr_CH.po b/date_range/i18n/fr_CH.po index a859cd9..02d20d5 100644 --- a/date_range/i18n/fr_CH.po +++ b/date_range/i18n/fr_CH.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/fr_FR.po b/date_range/i18n/fr_FR.po index 0c4761f..111270c 100644 --- a/date_range/i18n/fr_FR.po +++ b/date_range/i18n/fr_FR.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/gl.po b/date_range/i18n/gl.po index 4177286..8003f60 100644 --- a/date_range/i18n/gl.po +++ b/date_range/i18n/gl.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/gl_ES.po b/date_range/i18n/gl_ES.po index 7b8beea..b6c29e3 100644 --- a/date_range/i18n/gl_ES.po +++ b/date_range/i18n/gl_ES.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-11-26 03:36+0000\n" "PO-Revision-Date: 2016-11-26 03:36+0000\n" diff --git a/date_range/i18n/he.po b/date_range/i18n/he.po index 1abbd3a..3482c7e 100644 --- a/date_range/i18n/he.po +++ b/date_range/i18n/he.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/hi.po b/date_range/i18n/hi.po index 8a75727..29a9de2 100644 --- a/date_range/i18n/hi.po +++ b/date_range/i18n/hi.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-12-23 02:01+0000\n" "PO-Revision-Date: 2016-12-23 02:01+0000\n" diff --git a/date_range/i18n/hr.po b/date_range/i18n/hr.po index 8ea3891..da5bc86 100644 --- a/date_range/i18n/hr.po +++ b/date_range/i18n/hr.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/hr_HR.po b/date_range/i18n/hr_HR.po index 32881d5..8afb3a1 100644 --- a/date_range/i18n/hr_HR.po +++ b/date_range/i18n/hr_HR.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/hu.po b/date_range/i18n/hu.po index 3ac9e71..e3fc5a3 100644 --- a/date_range/i18n/hu.po +++ b/date_range/i18n/hu.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/id.po b/date_range/i18n/id.po index 9241ea1..925b7ce 100644 --- a/date_range/i18n/id.po +++ b/date_range/i18n/id.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/it.po b/date_range/i18n/it.po index acf0c44..f67b88d 100644 --- a/date_range/i18n/it.po +++ b/date_range/i18n/it.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/ja.po b/date_range/i18n/ja.po index c7b7ef0..08b33f6 100644 --- a/date_range/i18n/ja.po +++ b/date_range/i18n/ja.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/ko.po b/date_range/i18n/ko.po index e925577..4e7a6eb 100644 --- a/date_range/i18n/ko.po +++ b/date_range/i18n/ko.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/lo.po b/date_range/i18n/lo.po index a1a3bdb..83410d3 100644 --- a/date_range/i18n/lo.po +++ b/date_range/i18n/lo.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-12-23 02:01+0000\n" "PO-Revision-Date: 2016-12-23 02:01+0000\n" diff --git a/date_range/i18n/lt.po b/date_range/i18n/lt.po index 7ee3f4d..6d2f812 100644 --- a/date_range/i18n/lt.po +++ b/date_range/i18n/lt.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/lt_LT.po b/date_range/i18n/lt_LT.po index ca0c487..75faa98 100644 --- a/date_range/i18n/lt_LT.po +++ b/date_range/i18n/lt_LT.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-12-23 02:01+0000\n" "PO-Revision-Date: 2016-12-23 02:01+0000\n" diff --git a/date_range/i18n/lv.po b/date_range/i18n/lv.po index 393ffaf..37d5a73 100644 --- a/date_range/i18n/lv.po +++ b/date_range/i18n/lv.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/mk.po b/date_range/i18n/mk.po index d85afa0..0066fe9 100644 --- a/date_range/i18n/mk.po +++ b/date_range/i18n/mk.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/mn.po b/date_range/i18n/mn.po index 1b09cef..41bcb7b 100644 --- a/date_range/i18n/mn.po +++ b/date_range/i18n/mn.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/nb.po b/date_range/i18n/nb.po index 0715a28..f74d6b4 100644 --- a/date_range/i18n/nb.po +++ b/date_range/i18n/nb.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/nb_NO.po b/date_range/i18n/nb_NO.po index 50ce0df..b2c5909 100644 --- a/date_range/i18n/nb_NO.po +++ b/date_range/i18n/nb_NO.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-12-23 02:01+0000\n" "PO-Revision-Date: 2016-12-23 02:01+0000\n" diff --git a/date_range/i18n/nl.po b/date_range/i18n/nl.po index 99b7166..4127f96 100644 --- a/date_range/i18n/nl.po +++ b/date_range/i18n/nl.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/nl_BE.po b/date_range/i18n/nl_BE.po index 51a2b15..efc0c39 100644 --- a/date_range/i18n/nl_BE.po +++ b/date_range/i18n/nl_BE.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/nl_NL.po b/date_range/i18n/nl_NL.po index 48ebe77..2b45cab 100644 --- a/date_range/i18n/nl_NL.po +++ b/date_range/i18n/nl_NL.po @@ -6,7 +6,7 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/pl.po b/date_range/i18n/pl.po index 963028d..812cbc2 100644 --- a/date_range/i18n/pl.po +++ b/date_range/i18n/pl.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/pt.po b/date_range/i18n/pt.po index 6a505d2..4900e43 100644 --- a/date_range/i18n/pt.po +++ b/date_range/i18n/pt.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/pt_BR.po b/date_range/i18n/pt_BR.po index d4d480b..28c129c 100644 --- a/date_range/i18n/pt_BR.po +++ b/date_range/i18n/pt_BR.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/pt_PT.po b/date_range/i18n/pt_PT.po index 110f992..c9031ee 100644 --- a/date_range/i18n/pt_PT.po +++ b/date_range/i18n/pt_PT.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/ro.po b/date_range/i18n/ro.po index 651e6ff..205bd27 100644 --- a/date_range/i18n/ro.po +++ b/date_range/i18n/ro.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/ru.po b/date_range/i18n/ru.po index bf79139..86d32ea 100644 --- a/date_range/i18n/ru.po +++ b/date_range/i18n/ru.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/sk.po b/date_range/i18n/sk.po index ff24122..361fb44 100644 --- a/date_range/i18n/sk.po +++ b/date_range/i18n/sk.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/sl.po b/date_range/i18n/sl.po index 5a9ace5..1d4dfaa 100644 --- a/date_range/i18n/sl.po +++ b/date_range/i18n/sl.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/sr.po b/date_range/i18n/sr.po index b415355..47ea420 100644 --- a/date_range/i18n/sr.po +++ b/date_range/i18n/sr.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/sr@latin.po b/date_range/i18n/sr@latin.po index fa72736..53eea24 100644 --- a/date_range/i18n/sr@latin.po +++ b/date_range/i18n/sr@latin.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/sv.po b/date_range/i18n/sv.po index 8bf5067..cdd39d2 100644 --- a/date_range/i18n/sv.po +++ b/date_range/i18n/sv.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/th.po b/date_range/i18n/th.po index 600337e..542203c 100644 --- a/date_range/i18n/th.po +++ b/date_range/i18n/th.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/tr.po b/date_range/i18n/tr.po index e527b49..ccf1cae 100644 --- a/date_range/i18n/tr.po +++ b/date_range/i18n/tr.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/tr_TR.po b/date_range/i18n/tr_TR.po index 1822054..5778265 100644 --- a/date_range/i18n/tr_TR.po +++ b/date_range/i18n/tr_TR.po @@ -6,7 +6,7 @@ # OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/uk.po b/date_range/i18n/uk.po index bcffaa8..a81d6ba 100644 --- a/date_range/i18n/uk.po +++ b/date_range/i18n/uk.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/vi.po b/date_range/i18n/vi.po index c104b0b..45e2dd9 100644 --- a/date_range/i18n/vi.po +++ b/date_range/i18n/vi.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/vi_VN.po b/date_range/i18n/vi_VN.po index 2e7c92b..cd37e82 100644 --- a/date_range/i18n/vi_VN.po +++ b/date_range/i18n/vi_VN.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-02-18 02:29+0000\n" "PO-Revision-Date: 2017-02-18 02:29+0000\n" diff --git a/date_range/i18n/zh_CN.po b/date_range/i18n/zh_CN.po index a624fba..d34f1f7 100644 --- a/date_range/i18n/zh_CN.po +++ b/date_range/i18n/zh_CN.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/i18n/zh_TW.po b/date_range/i18n/zh_TW.po index c6e355c..52d4abf 100644 --- a/date_range/i18n/zh_TW.po +++ b/date_range/i18n/zh_TW.po @@ -6,7 +6,7 @@ # OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-08-01 02:44+0000\n" "PO-Revision-Date: 2017-08-01 02:44+0000\n" diff --git a/date_range/tests/test_date_range.py b/date_range/tests/test_date_range.py index e5cd5e4..c84b6c1 100644 --- a/date_range/tests/test_date_range.py +++ b/date_range/tests/test_date_range.py @@ -82,7 +82,7 @@ class DateRangeTest(TransactionCase): 'date_end': '2016-12-31', 'type_id': self.type.id, }) - self.assertEquals(dr.name, 'FS2016') + self.assertEqual(dr.name, 'FS2016') def test_domain(self): date_range = self.env['date.range'] @@ -94,7 +94,7 @@ class DateRangeTest(TransactionCase): }) domain = dr.get_domain('my_field') # By default the domain include limits - self.assertEquals( + self.assertEqual( domain, [('my_field', '>=', '2015-01-01'), ('my_field', '<=', '2015-12-31')]) diff --git a/date_range/tests/test_date_range_generator.py b/date_range/tests/test_date_range_generator.py index 419d7bc..1c47c9d 100644 --- a/date_range/tests/test_date_range_generator.py +++ b/date_range/tests/test_date_range_generator.py @@ -27,7 +27,7 @@ class DateRangeGeneratorTest(TransactionCase): generator.action_apply() ranges = self.env['date.range'].search( [('type_id', '=', self.type.id)]) - self.assertEquals(len(ranges), 4) + self.assertEqual(len(ranges), 4) range4 = ranges[3] self.assertEqual(range4.date_start, '1943-10-01') self.assertEqual(range4.date_end, '1943-12-31') diff --git a/date_range/wizard/date_range_generator.py b/date_range/wizard/date_range_generator.py index 970af6b..2b61075 100644 --- a/date_range/wizard/date_range_generator.py +++ b/date_range/wizard/date_range_generator.py @@ -43,7 +43,7 @@ class DateRangeGenerator(models.TransientModel): count=self.count+1) vals = list(vals) date_ranges = [] - count_digits = len(unicode(self.count)) + count_digits = len(str(self.count)) for idx, dt_start in enumerate(vals[:-1]): date_start = fields.Date.to_string(dt_start.date()) # always remove 1 day for the date_end since range limits are