Drop support of Python 2.6
review2691002
This commit is contained in:
1 parent
8d00c02533
commit
263118d436
3 files changed
+5
-6
No files matched your search
@@ -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/)
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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')
|
||||
Reference in new issue
Block a user