Migrate to version 3.4

This commit is contained in:
Sergi Almacellas Abellana 2014-11-05 13:21:17 +01:00
parent 533cc6a336
commit 04ca2ab9f8
3 changed files with 10 additions and 13 deletions

View File

@ -1 +1,6 @@
Version 3.4.0 - 2014-11-03
Version 3.2.0 - 2014-05-22
Version 3.0.0 - 2013-11-13
* Initial release * Initial release

View File

@ -13,9 +13,7 @@ from trytond.transaction import Transaction
class TestCase(unittest.TestCase): class TestCase(unittest.TestCase):
''' 'Test module'
Test module.
'''
def setUp(self): def setUp(self):
trytond.tests.test_tryton.install_module('stock_lot_expiry') trytond.tests.test_tryton.install_module('stock_lot_expiry')
@ -29,21 +27,15 @@ class TestCase(unittest.TestCase):
self.user = POOL.get('res.user') self.user = POOL.get('res.user')
def test0005views(self): def test0005views(self):
''' 'Test views'
Test views.
'''
test_view('stock_lot_expiry') test_view('stock_lot_expiry')
def test0006depends(self): def test0006depends(self):
''' 'Test depends'
Test depends.
'''
test_depends() test_depends()
def test0010_lot_on_change_product_and_expired(self): def test0010_lot_on_change_product_and_expired(self):
''' 'Test Lot.on_change_product() and Lot.expired'
Test Lot.on_change_product() and Lot.expired.
'''
with Transaction().start(DB_NAME, USER, with Transaction().start(DB_NAME, USER,
context=CONTEXT) as transaction: context=CONTEXT) as transaction:
unit, = self.uom.search([('name', '=', 'Unit')]) unit, = self.uom.search([('name', '=', 'Unit')])

View File

@ -1,5 +1,5 @@
[tryton] [tryton]
version=3.2.0 version=3.4.0
depends: depends:
product product
stock_lot stock_lot