Drop support of Python 2.6

review2691002
This commit is contained in:
Cédric Krier
2014-01-31 00:03:50 +01:00
parent f946225e2c
commit 0dc2dfc23b
3 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ Installing trytond_product_cost_fifo
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_stock (http://www.tryton.org/)
-1
View File
@@ -66,7 +66,6 @@ setup(name='trytond_product_cost_fifo',
'Natural Language :: Slovenian',
'Natural Language :: Spanish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Office/Business',
],
+8 -8
View File
@@ -101,8 +101,8 @@ Make 4 units of the product available @ 10 ::
Check Cost Price is 10::
>>> product.reload()
>>> product.template.cost_price == Decimal('10')
True
>>> product.template.cost_price
Decimal('10.0000')
Add 2 more units @ 25::
@@ -122,8 +122,8 @@ Add 2 more units @ 25::
Check Cost Price FIFO is 15::
>>> product.reload()
>>> product.template.cost_price == Decimal('15')
True
>>> product.template.cost_price
Decimal('15.0000')
Sell 3 units @ 50::
@@ -143,8 +143,8 @@ Sell 3 units @ 50::
Check Cost Price FIFO is 20::
>>> product.reload()
>>> product.template.cost_price == Decimal('20')
True
>>> product.template.cost_price
Decimal('20.0000')
Sell 2 more units @ 50::
@@ -164,5 +164,5 @@ Sell 2 more units @ 50::
Check Cost Price FIFO is 25::
>>> product.reload()
>>> product.template.cost_price == Decimal('25')
True
>>> product.template.cost_price
Decimal('25.0000')