Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
peluko00 committed Oct 21, 2024
1 parent 80b5070 commit 3266a81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rma_repair/tests/test_rma_repair_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ def setUpClass(cls):
cls.warehouse_company = cls.env["stock.warehouse"].search(
[("company_id", "=", cls.env.user.company_id.id)], limit=1
)
cls.product = cls.env["product.product"].create(
{"name": "Product test", "type": "product"}
)
cls.rma_loc = cls.warehouse_company.rma_loc_id
cls.res_partner = cls.env["res.partner"].create({"name": "Test"})
cls.rma = cls.env["rma"].create(
{
"product_id": cls.env.ref("product.product_delivery_01").id,
"product_id": cls.product.id,
"product_uom_qty": 2,
"location_id": cls.rma_loc.id,
"partner_id": cls.res_partner.id,
Expand Down

0 comments on commit 3266a81

Please sign in to comment.