[FIX] rma,_sale,_product_cores: tests and locked so for product cores

This commit is contained in:
Jared Kipe
2022-08-29 18:52:32 +00:00
parent 161c749479
commit e538bff369
4 changed files with 139 additions and 11 deletions

View File

@@ -77,6 +77,7 @@ class TestRMA(common.TransactionCase):
self.assertEqual(rma.out_picking_id.move_lines.state, 'cancel')
def test_20_picking_rma(self):
self.product1.type = 'product'
type_out = self.env.ref('stock.picking_type_out')
location = self.env.ref('stock.stock_location_stock')
location_customer = self.env.ref('stock.stock_location_customers')