Drop support of Python 2.6

review2691002
This commit is contained in:
Cédric Krier committed 2014-01-31 00:03:12 +01:00
1 parent 8d00c02533
commit 263118d436
3 files changed
+5 -6

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ Installing trytond_account_stock_anglo_saxon
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_account (http://www.tryton.org/)
* trytond_account_invoice (http://www.tryton.org/)
-1
View File
@@ -68,7 +68,6 @@ setup(name='trytond_account_stock_anglo_saxon',
'Natural Language :: Slovenian',
'Natural Language :: Spanish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Office/Business',
'Topic :: Office/Business :: Financial :: Accounting',
+4 -4
View File
@@ -394,8 +394,8 @@ Create customer invoice with negative quantity::
u'posted'
>>> move = invoice.move
>>> line_cogs, = (l for l in move.lines if l.account == cogs)
>>> line_cogs.credit == Decimal('5')
True
>>> line_cogs.credit
Decimal('5.00')
>>> line_stock, = (l for l in move.lines if l.account == stock_customer)
>>> line_stock.debit == Decimal('5')
True
>>> line_stock.debit
Decimal('5.00')