Skip to content

Commit

Permalink
[IMP] stock_quant_manual_assign_without_lock_lot: added test
Browse files Browse the repository at this point in the history
  • Loading branch information
oihane authored and Dimitrios T. Tanis committed Jun 16, 2017
1 parent 2057fe6 commit 4b813ca
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ env:
matrix:
- LINT_CHECK="1"
- TRANSIFEX="1"
- TESTS="1" ODOO_REPO="odoo/odoo" EXCLUDE="product_last_mrp_info"
- TESTS="1" ODOO_REPO="OCA/OCB" EXCLUDE="product_last_mrp_info"
- TESTS="1" ODOO_REPO="odoo/odoo" EXCLUDE="product_last_mrp_info,stock_quant_manual_assign_without_lock_lot"
- TESTS="1" ODOO_REPO="OCA/OCB" EXCLUDE="product_last_mrp_info,stock_quant_manual_assign_without_lock_lot"
- TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="stock_quant_manual_assign_without_lock_lot"
- TESTS="1" ODOO_REPO="OCA/OCB" INCLUDE="stock_quant_manual_assign_without_lock_lot"

virtualenv:
system_site_packages: true
Expand Down
17 changes: 9 additions & 8 deletions stock_quant_manual_assign_without_lock_lot/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,20 @@
"name": "Stock Quant Manual Assign Without Lock Lot",
"version": "8.0.2.0.0",
"license": "AGPL-3",
"author": "OdooMRP team,"
"AvanzOSC,"
"author": "OdooMRP team, "
"AvanzOSC, "
"Serv. Tecnol. Avanzados - Pedro M. Baeza",
"website": "http://www.odoomrp.com",
"contributors": [
"Ana Juaristi <[email protected]>",
"Ana Juaristi <[email protected]>",
"Pedro Manuel Baeza <[email protected]>",
"Alfredo de la Fuente <[email protected]>",
],
"category": "quant",
"depends": ['mrp_lock_lot',
'stock_quant_manual_assign',
],
],
"category": "Warehouse Management",
"depends": [
"stock_lock_lot",
"stock_quant_manual_assign",
],
"data": [],
"installable": True,
"auto_install": True,
Expand Down
5 changes: 5 additions & 0 deletions stock_quant_manual_assign_without_lock_lot/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright © 2017 Ainara Galdona - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import test_stock_quant_manual_assign_without_lock_lot
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright © 2017 Ainara Galdona - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from openerp.addons.stock_quant_manual_assign.tests\
.test_stock_quant_manual_assign import TestStockQuantManualAssign
from openerp.tests.common import at_install, post_install


@at_install(False)
@post_install(True)
class TestStockQuantManualAssignWithoutLockLot(TestStockQuantManualAssign):

def setUp(self):
super(TestStockQuantManualAssignWithoutLockLot, self).setUp()

0 comments on commit 4b813ca

Please sign in to comment.