[tryton-debian-vcs] tryton-modules-project-plan branch upstream updated. upstream/3.8.0-2-g43d5043

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Jun 2 16:23:39 UTC 2016


The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-project-plan.git;a=commitdiff;h=upstream/3.8.0-2-g43d5043

commit 43d504378597ed7d615a6c4c834b4cfdac26c66f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri May 27 18:35:26 2016 +0200

    Adding upstream version 4.0.1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 589fdf2..3edb697 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.1 - 2016-05-11
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.0 - 2016-05-02
 * Bug fixes (see mercurial logs for details)
 * Add Python3 support
diff --git a/PKG-INFO b/PKG-INFO
index a1eab86..cd6ea4d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_project_plan
-Version: 4.0.0
+Version: 4.0.1
 Summary: Tryton module to add planning capabilities on projects
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/locale/ca_ES.po b/locale/ca_ES.po
index 9c09e41..0e5ce48 100644
--- a/locale/ca_ES.po
+++ b/locale/ca_ES.po
@@ -98,7 +98,6 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Restricció de finalització"
 
-#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
 msgid "Constraint Finish Time"
 msgstr "Restricció d'hora de finalització"
diff --git a/locale/de_DE.po b/locale/de_DE.po
index a08cece..533e6bc 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -98,7 +98,6 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Fixes Enddatum"
 
-#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
 msgid "Constraint Finish Time"
 msgstr "Fixe Endzeit"
diff --git a/locale/es_AR.po b/locale/es_AR.po
index b1ab4db..f68cafc 100644
--- a/locale/es_AR.po
+++ b/locale/es_AR.po
@@ -98,7 +98,6 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Restricción de finalización"
 
-#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
 msgid "Constraint Finish Time"
 msgstr "Restricción hora de finalización"
diff --git a/locale/es_CO.po b/locale/es_CO.po
index b66a8bc..eebe37c 100644
--- a/locale/es_CO.po
+++ b/locale/es_CO.po
@@ -98,7 +98,6 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Final de la Restricción"
 
-#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
 msgid "Constraint Finish Time"
 msgstr "Tiempo Final de la Restricción"
diff --git a/locale/es_EC.po b/locale/es_EC.po
index 4f2cb34..58a71ef 100644
--- a/locale/es_EC.po
+++ b/locale/es_EC.po
@@ -98,7 +98,6 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Fin de limitación"
 
-#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
 msgid "Constraint Finish Time"
 msgstr "Hora fin de limitación"
diff --git a/locale/es_ES.po b/locale/es_ES.po
index 008e9f9..8cfa6f6 100644
--- a/locale/es_ES.po
+++ b/locale/es_ES.po
@@ -98,7 +98,6 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Restricción de finalización"
 
-#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
 msgid "Constraint Finish Time"
 msgstr "Restricción hora de finalización"
diff --git a/locale/fr_FR.po b/locale/fr_FR.po
index 8949af3..9b306ca 100644
--- a/locale/fr_FR.po
+++ b/locale/fr_FR.po
@@ -98,10 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Fin imposée"
 
-#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
 msgid "Constraint Finish Time"
-msgstr "Fin imposée"
+msgstr "Heure de fin imposée"
 
 msgctxt "field:project.work,constraint_start_date:"
 msgid "Constraint Start"
diff --git a/locale/sl_SI.po b/locale/sl_SI.po
index 8af4649..92dbcbe 100644
--- a/locale/sl_SI.po
+++ b/locale/sl_SI.po
@@ -98,7 +98,6 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Planiran konec"
 
-#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
 msgid "Constraint Finish Time"
 msgstr "Planiran konćni čas"
diff --git a/tryton.cfg b/tryton.cfg
index 74f8b82..6b9c598 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.0
+version=4.0.1
 depends:
     ir
     company
diff --git a/trytond_project_plan.egg-info/PKG-INFO b/trytond_project_plan.egg-info/PKG-INFO
index 7f3c7bf..4ec0a2c 100644
--- a/trytond_project_plan.egg-info/PKG-INFO
+++ b/trytond_project_plan.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-project-plan
-Version: 4.0.0
+Version: 4.0.1
 Summary: Tryton module to add planning capabilities on projects
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_project_plan.egg-info/SOURCES.txt b/trytond_project_plan.egg-info/SOURCES.txt
index cd11b8b..d7319b8 100644
--- a/trytond_project_plan.egg-info/SOURCES.txt
+++ b/trytond_project_plan.egg-info/SOURCES.txt
@@ -27,11 +27,13 @@ work.xml
 ./locale/hu_HU.po
 ./locale/it_IT.po
 ./locale/ja_JP.po
+./locale/lo_LA.po
 ./locale/lt_LT.po
 ./locale/nl_NL.po
 ./locale/pt_BR.po
 ./locale/ru_RU.po
 ./locale/sl_SI.po
+./locale/zh_CN.po
 ./tests/__init__.py
 ./tests/test_project_plan.py
 ./view/allocation_form.xml
diff --git a/trytond_project_plan.egg-info/requires.txt b/trytond_project_plan.egg-info/requires.txt
index 5479396..f58fb5b 100644
--- a/trytond_project_plan.egg-info/requires.txt
+++ b/trytond_project_plan.egg-info/requires.txt
@@ -1,4 +1,4 @@
 trytond_company >= 4.0, < 4.1
 trytond_project >= 4.0, < 4.1
 trytond_timesheet >= 4.0, < 4.1
-trytond >= 4.0, < 4.1
\ No newline at end of file
+trytond >= 4.0, < 4.1
commit 1bde22d0cf2873ee1687a582f1853b86db60c250
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri May 27 18:26:11 2016 +0200

    Adding upstream version 4.0.0.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 5e43553..589fdf2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+Version 4.0.0 - 2016-05-02
+* Bug fixes (see mercurial logs for details)
+* Add Python3 support
+
 Version 3.8.0 - 2015-11-02
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 431debe..2ec85a4 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
 Copyright (C) 2009-2013 Bertrand Chenal.
-Copyright (C) 2009-2015 Cédric Krier.
-Copyright (C) 2009-2015 B2CK SPRL.
+Copyright (C) 2009-2016 Cédric Krier.
+Copyright (C) 2009-2016 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index b47dbe9..a1eab86 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_project_plan
-Version: 3.8.0
+Version: 4.0.0
 Summary: Tryton module to add planning capabilities on projects
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
 Description: trytond_project_plan
         ====================
         
@@ -55,6 +55,7 @@ Classifier: Intended Audience :: Manufacturing
 Classifier: License :: OSI Approved :: GNU General Public License (GPL)
 Classifier: Natural Language :: Bulgarian
 Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
 Classifier: Natural Language :: Czech
 Classifier: Natural Language :: Dutch
 Classifier: Natural Language :: English
@@ -68,6 +69,9 @@ Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/allocation.py b/allocation.py
index ef61c4f..4bcb43a 100644
--- a/allocation.py
+++ b/allocation.py
@@ -3,7 +3,6 @@
 from trytond import backend
 from trytond.model import ModelView, ModelSQL, fields
 from trytond.pool import Pool
-from trytond.transaction import Transaction
 
 __all__ = ['Allocation']
 
@@ -22,12 +21,11 @@ class Allocation(ModelSQL, ModelView):
     @classmethod
     def __register__(cls, module_name):
         TableHandler = backend.get('TableHandler')
-        cursor = Transaction().cursor
 
         super(Allocation, cls).__register__(module_name)
 
         # Migration from 3.2:
-        table = TableHandler(cursor, cls, module_name)
+        table = TableHandler(cls, module_name)
         table.drop_constraint('percentage_positive')
 
     @staticmethod
diff --git a/locale/bg_BG.po b/locale/bg_BG.po
index 7a4b526..04f1652 100644
--- a/locale/bg_BG.po
+++ b/locale/bg_BG.po
@@ -99,8 +99,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Ограничение за край"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Ограничение за време на завършване"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/ca_ES.po b/locale/ca_ES.po
index 8cc5985..9c09e41 100644
--- a/locale/ca_ES.po
+++ b/locale/ca_ES.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Restricció de finalització"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Restricció d'hora de finalització"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/cs_CZ.po b/locale/cs_CZ.po
index 84cf7f0..896b912 100644
--- a/locale/cs_CZ.po
+++ b/locale/cs_CZ.po
@@ -99,7 +99,7 @@ msgid "Constraint Finish"
 msgstr ""
 
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr ""
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/de_DE.po b/locale/de_DE.po
index 59d0b32..a08cece 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Fixes Enddatum"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Fixe Endzeit"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/es_AR.po b/locale/es_AR.po
index 6ff3fcb..b1ab4db 100644
--- a/locale/es_AR.po
+++ b/locale/es_AR.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Restricción de finalización"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Restricción hora de finalización"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/es_CO.po b/locale/es_CO.po
index 3be9690..b66a8bc 100644
--- a/locale/es_CO.po
+++ b/locale/es_CO.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Final de la Restricción"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Tiempo Final de la Restricción"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/es_EC.po b/locale/es_EC.po
index 31262a7..4f2cb34 100644
--- a/locale/es_EC.po
+++ b/locale/es_EC.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Fin de limitación"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Hora fin de limitación"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/es_ES.po b/locale/es_ES.po
index 79b06c1..008e9f9 100644
--- a/locale/es_ES.po
+++ b/locale/es_ES.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Restricción de finalización"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Restricción hora de finalización"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/es_MX.po b/locale/es_MX.po
index 2758a31..0d0c273 100644
--- a/locale/es_MX.po
+++ b/locale/es_MX.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Restricción de finalización"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Restricción hora de finalización"
 
 msgctxt "field:project.work,constraint_start_date:"
@@ -170,17 +171,20 @@ msgctxt "model:project.predecessor_successor,name:"
 msgid "Predecessor - Successor"
 msgstr "Predecesor - Sucesor"
 
+#, fuzzy
 msgctxt "view:project.allocation:"
 msgid "Allocation"
-msgstr ""
+msgstr "Asignación"
 
+#, fuzzy
 msgctxt "view:project.allocation:"
 msgid "Allocations"
-msgstr ""
+msgstr "Asignaciones"
 
+#, fuzzy
 msgctxt "view:project.work:"
 msgid "Allocations"
-msgstr ""
+msgstr "Asignaciones"
 
 msgctxt "view:project.work:"
 msgid "Plan"
diff --git a/locale/fr_FR.po b/locale/fr_FR.po
index a8f1a9b..8949af3 100644
--- a/locale/fr_FR.po
+++ b/locale/fr_FR.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Fin imposée"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Fin imposée"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/hu_HU.po b/locale/hu_HU.po
index 84cf7f0..896b912 100644
--- a/locale/hu_HU.po
+++ b/locale/hu_HU.po
@@ -99,7 +99,7 @@ msgid "Constraint Finish"
 msgstr ""
 
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr ""
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 84cf7f0..896b912 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -99,7 +99,7 @@ msgid "Constraint Finish"
 msgstr ""
 
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr ""
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/ja_JP.po b/locale/ja_JP.po
index 84cf7f0..896b912 100644
--- a/locale/ja_JP.po
+++ b/locale/ja_JP.po
@@ -99,7 +99,7 @@ msgid "Constraint Finish"
 msgstr ""
 
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr ""
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/ja_JP.po b/locale/lo_LA.po
similarity index 99%
copy from locale/ja_JP.po
copy to locale/lo_LA.po
index 84cf7f0..896b912 100644
--- a/locale/ja_JP.po
+++ b/locale/lo_LA.po
@@ -99,7 +99,7 @@ msgid "Constraint Finish"
 msgstr ""
 
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr ""
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/lt_LT.po b/locale/lt_LT.po
index 84cf7f0..896b912 100644
--- a/locale/lt_LT.po
+++ b/locale/lt_LT.po
@@ -99,7 +99,7 @@ msgid "Constraint Finish"
 msgstr ""
 
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr ""
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/nl_NL.po b/locale/nl_NL.po
index ed6e201..c2e2626 100644
--- a/locale/nl_NL.po
+++ b/locale/nl_NL.po
@@ -104,7 +104,7 @@ msgid "Constraint Finish"
 msgstr ""
 
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr ""
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index d1fa74c..4ca46a3 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Restrição de Finalização"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Restrição de Hora de Finalização"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/ru_RU.po b/locale/ru_RU.po
index c653029..a4f7549 100644
--- a/locale/ru_RU.po
+++ b/locale/ru_RU.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Порог завершения"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Порог завершения (время)"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/sl_SI.po b/locale/sl_SI.po
index 5256eda..8af4649 100644
--- a/locale/sl_SI.po
+++ b/locale/sl_SI.po
@@ -98,8 +98,9 @@ msgctxt "field:project.work,constraint_finish_date:"
 msgid "Constraint Finish"
 msgstr "Planiran konec"
 
+#, fuzzy
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr "Planiran konćni čas"
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/locale/ja_JP.po b/locale/zh_CN.po
similarity index 99%
copy from locale/ja_JP.po
copy to locale/zh_CN.po
index 84cf7f0..896b912 100644
--- a/locale/ja_JP.po
+++ b/locale/zh_CN.po
@@ -99,7 +99,7 @@ msgid "Constraint Finish"
 msgstr ""
 
 msgctxt "field:project.work,constraint_finish_time:"
-msgid "Constraint  Finish Time"
+msgid "Constraint Finish Time"
 msgstr ""
 
 msgctxt "field:project.work,constraint_start_date:"
diff --git a/setup.py b/setup.py
index 2f7f82b..abed3ae 100644
--- a/setup.py
+++ b/setup.py
@@ -5,11 +5,17 @@
 from setuptools import setup
 import re
 import os
-import ConfigParser
+import io
+try:
+    from configparser import ConfigParser
+except ImportError:
+    from ConfigParser import ConfigParser
 
 
 def read(fname):
-    return open(os.path.join(os.path.dirname(__file__), fname)).read()
+    return io.open(
+        os.path.join(os.path.dirname(__file__), fname),
+        'r', encoding='utf-8').read()
 
 
 def get_require_version(name):
@@ -21,7 +27,7 @@ def get_require_version(name):
         major_version, minor_version + 1)
     return require
 
-config = ConfigParser.ConfigParser()
+config = ConfigParser()
 config.readfp(open('tryton.cfg'))
 info = dict(config.items('tryton'))
 for key in ('depends', 'extras_depend', 'xml'):
@@ -43,7 +49,7 @@ if minor_version % 2:
 
 requires = []
 for dep in info.get('depends', []):
-    if not re.match(r'(ir|res|webdav)(\W|$)', dep):
+    if not re.match(r'(ir|res)(\W|$)', dep):
         requires.append(get_require_version('trytond_%s' % dep))
 requires.append(get_require_version('trytond'))
 
@@ -76,6 +82,7 @@ setup(name=name,
         'License :: OSI Approved :: GNU General Public License (GPL)',
         'Natural Language :: Bulgarian',
         'Natural Language :: Catalan',
+        'Natural Language :: Chinese (Simplified)',
         'Natural Language :: Czech',
         'Natural Language :: Dutch',
         'Natural Language :: English',
@@ -89,6 +96,9 @@ setup(name=name,
         'Natural Language :: Spanish',
         'Operating System :: OS Independent',
         'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3.3',
+        'Programming Language :: Python :: 3.4',
+        'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Office/Business',
@@ -102,4 +112,5 @@ setup(name=name,
     """,
     test_suite='tests',
     test_loader='trytond.test_loader:Loader',
+    use_2to3=True,
     )
diff --git a/tests/__init__.py b/tests/__init__.py
index 9d49738..d99647c 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,6 +1,9 @@
 # This file is part of Tryton.  The COPYRIGHT file at the top level of
 # this repository contains the full copyright notices and license terms.
 
-from .test_project_plan import suite
+try:
+    from trytond.modules.project_plan.tests.test_project_plan import suite
+except ImportError:
+    from .test_project_plan import suite
 
 __all__ = ['suite']
diff --git a/tryton.cfg b/tryton.cfg
index ab8f7b3..74f8b82 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.8.0
+version=4.0.0
 depends:
     ir
     company
diff --git a/trytond_project_plan.egg-info/PKG-INFO b/trytond_project_plan.egg-info/PKG-INFO
index 57255e0..7f3c7bf 100644
--- a/trytond_project_plan.egg-info/PKG-INFO
+++ b/trytond_project_plan.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-project-plan
-Version: 3.8.0
+Version: 4.0.0
 Summary: Tryton module to add planning capabilities on projects
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
 Description: trytond_project_plan
         ====================
         
@@ -55,6 +55,7 @@ Classifier: Intended Audience :: Manufacturing
 Classifier: License :: OSI Approved :: GNU General Public License (GPL)
 Classifier: Natural Language :: Bulgarian
 Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
 Classifier: Natural Language :: Czech
 Classifier: Natural Language :: Dutch
 Classifier: Natural Language :: English
@@ -68,6 +69,9 @@ Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Office/Business
diff --git a/trytond_project_plan.egg-info/SOURCES.txt b/trytond_project_plan.egg-info/SOURCES.txt
index 8dbf2bc..cd11b8b 100644
--- a/trytond_project_plan.egg-info/SOURCES.txt
+++ b/trytond_project_plan.egg-info/SOURCES.txt
@@ -51,11 +51,13 @@ locale/fr_FR.po
 locale/hu_HU.po
 locale/it_IT.po
 locale/ja_JP.po
+locale/lo_LA.po
 locale/lt_LT.po
 locale/nl_NL.po
 locale/pt_BR.po
 locale/ru_RU.po
 locale/sl_SI.po
+locale/zh_CN.po
 trytond_project_plan.egg-info/PKG-INFO
 trytond_project_plan.egg-info/SOURCES.txt
 trytond_project_plan.egg-info/dependency_links.txt
diff --git a/trytond_project_plan.egg-info/requires.txt b/trytond_project_plan.egg-info/requires.txt
index a963a0a..5479396 100644
--- a/trytond_project_plan.egg-info/requires.txt
+++ b/trytond_project_plan.egg-info/requires.txt
@@ -1,4 +1,4 @@
-trytond_company >= 3.8, < 3.9
-trytond_project >= 3.8, < 3.9
-trytond_timesheet >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond_company >= 4.0, < 4.1
+trytond_project >= 4.0, < 4.1
+trytond_timesheet >= 4.0, < 4.1
+trytond >= 4.0, < 4.1
\ No newline at end of file
diff --git a/work.py b/work.py
index 509bdb6..f7e830d 100644
--- a/work.py
+++ b/work.py
@@ -11,7 +11,6 @@ from trytond.transaction import Transaction
 from trytond.pool import Pool, PoolMeta
 
 __all__ = ['Work', 'PredecessorSuccessor', 'Leveling']
-__metaclass__ = PoolMeta
 
 
 def intfloor(x):
@@ -19,6 +18,7 @@ def intfloor(x):
 
 
 class Work:
+    __metaclass__ = PoolMeta
     __name__ = 'project.work'
     predecessors = fields.Many2Many('project.predecessor_successor',
         'successor', 'predecessor', 'Predecessors',
@@ -50,7 +50,7 @@ class Work:
     actual_start_time = fields.DateTime("Actual Start Time")
     actual_finish_time = fields.DateTime("Actual Finish Time")
     constraint_start_time = fields.DateTime("Constraint Start Time")
-    constraint_finish_time = fields.DateTime("Constraint  Finish Time")
+    constraint_finish_time = fields.DateTime("Constraint Finish Time")
     early_start_date = fields.Function(fields.Date('Early Start'),
             'get_function_fields')
     late_start_date = fields.Function(fields.Date('Late Start'),
-- 
tryton-modules-project-plan



More information about the tryton-debian-vcs mailing list