Skip to content

Commit

Permalink
[TEST] With dependencies.
Browse files Browse the repository at this point in the history
This commit must be ignored in Odoo Bot merge action
  • Loading branch information
flachica committed Oct 19, 2022
1 parent 8500c07 commit 6d90f69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stock_reserve_sale/tests/test_stock_reserve_sale.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from odoo.tests import Form, common


class TestStockReserveSale(common.SavepointCase):
class TestStockReserveSale(common.TransactionCase):
def setUp(self):
super().setUp()
partner_form = Form(self.env["res.partner"])
Expand All @@ -18,10 +18,12 @@ def setUp(self):
product_form = Form(self.env["product.product"])
product_form.name = "Test Product 1"
product_form.type = "product"
product_form.detailed_type = "product"
self.product_1 = product_form.save()
product_form = Form(self.env["product.product"])
product_form.name = "Test Product 2"
product_form.type = "product"
product_form.detailed_type = "product"
self.product_2 = product_form.save()
self.env["stock.quant"].create(
{
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
odoo-addon-stock-reserve @ git+https://github.com/OCA/stock-logistics-warehouse.git@refs/pull/1485/head#subdirectory=setup/stock_reserve

0 comments on commit 6d90f69

Please sign in to comment.