Drop support of Python 2.6
review2691002
This commit is contained in:
1 parent
6dbddb52a4
commit
cec2b682a2
3 files changed
+3
-4
No files matched your search
@@ -4,7 +4,7 @@ Installing trytond_production
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
* Python 2.6 or later (http://www.python.org/)
|
||||
* Python 2.7 or later (http://www.python.org/)
|
||||
* trytond (http://www.tryton.org/)
|
||||
* trytond_product (http://www.tryton.org/)
|
||||
* trytond_company (http://www.tryton.org/)
|
||||
|
||||
@@ -67,7 +67,6 @@ setup(name='trytond_production',
|
||||
'Natural Language :: Slovenian',
|
||||
'Natural Language :: Spanish',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python :: 2.6',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Topic :: Office/Business',
|
||||
],
|
||||
|
||||
@@ -168,8 +168,8 @@ Make a production::
|
||||
>>> output, = production.outputs
|
||||
>>> output.quantity == 2
|
||||
True
|
||||
>>> production.cost == Decimal('25')
|
||||
True
|
||||
>>> production.cost
|
||||
Decimal('25.0')
|
||||
>>> production.save()
|
||||
>>> Production.wait([production.id], config.context)
|
||||
>>> production.state
|
||||
|
||||
Reference in new issue
Block a user