changeset 2:ea5ff9f9ef91 5.0 tip

Update to 5.0
author Cédric Krier <ced@b2ck.com>
date Thu, 29 Nov 2018 12:25:15 +0100
parents b2249314c1af
children
files res.py setup.py tryton.cfg
diffstat 3 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/res.py	Mon Sep 03 16:57:14 2018 +0200
+++ b/res.py	Thu Nov 29 12:25:15 2018 +0100
@@ -35,8 +35,7 @@
         'res.group', "Group", ondelete='CASCADE', required=True)
 
 
-class User:
-    __metaclass__ = PoolMeta
+class User(metaclass=PoolMeta):
     __name__ = 'res.user'
     roles = fields.One2Many('res.user.role', 'user', "Roles")
 
--- a/setup.py	Mon Sep 03 16:57:14 2018 +0200
+++ b/setup.py	Thu Nov 29 12:25:15 2018 +0100
@@ -110,6 +110,7 @@
         'Topic :: Office/Business',
         ],
     license='GPL-3',
+    python_requires='>=3.4',
     install_requires=requires,
     dependency_links=dependency_links,
     zip_safe=False,
@@ -120,5 +121,4 @@
     test_suite='tests',
     test_loader='trytond.test_loader:Loader',
     tests_require=tests_require,
-    use_2to3=True,
     )
--- a/tryton.cfg	Mon Sep 03 16:57:14 2018 +0200
+++ b/tryton.cfg	Thu Nov 29 12:25:15 2018 +0100
@@ -1,5 +1,5 @@
 [tryton]
-version=4.8.0
+version=5.0.0
 depends:
     ir
     res