summaryrefslogtreecommitdiff
path: root/addons/lunch/tests
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2019-01-08 13:10:55 +0100
committerYannick Tivisse <yti@odoo.com>2019-01-08 13:10:55 +0100
commit3729ebf34de4fd5015c8109331c195a759e68622 (patch)
tree543e7a9baba6b2de71ee5a4bd6ab954113e4679c /addons/lunch/tests
parent8ed2a7e68abd754b6fc3721103a2c5572c0a2e02 (diff)
Revert "[IMP] lunch: reintroduce lunch_alerts, change display of wizard"
This reverts commit 6f5dc5733fa387a410166afb24339bb2a4a88019.
Diffstat (limited to 'addons/lunch/tests')
-rw-r--r--addons/lunch/tests/common.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/addons/lunch/tests/common.py b/addons/lunch/tests/common.py
index 3c5a31188e3..f38b9c547ec 100644
--- a/addons/lunch/tests/common.py
+++ b/addons/lunch/tests/common.py
@@ -67,13 +67,9 @@ class TestsCommon(common.TransactionCase):
'supplier_id': self.supplier_coin_gourmand.id,
})
- self.garniture_type = self.env['lunch.topping.type'].create({
- 'name': 'Graniture',
- })
-
- self.topping_olives = self.env['lunch.topping'].create({
+ self.topping_olives = self.env['lunch.product'].create({
'name': 'Olives',
'price': 0.3,
- 'category_id': self.category_pizza.id,
- 'type_id': self.garniture_type.id,
+ 'supplier_id': self.supplier_pizza_inn.id,
+ 'is_topping': True,
})