mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
@@ -14,11 +14,6 @@ class RepairType(models.Model):
|
||||
"Source Location",
|
||||
help="This is the location where the product to repair is located.",
|
||||
)
|
||||
destination_location_id = fields.Many2one(
|
||||
"stock.location",
|
||||
"Destination Location",
|
||||
help="This is the location where the product repaired will be located.",
|
||||
)
|
||||
source_location_add_part_id = fields.Many2one(
|
||||
"stock.location",
|
||||
"Source Location Add Component",
|
||||
|
||||
@@ -29,9 +29,6 @@ class TestRepairType(TransactionCase):
|
||||
{
|
||||
"name": "Repairings Office 1",
|
||||
"source_location_id": self.env.ref("stock.stock_location_stock").id,
|
||||
"destination_location_id": self.env.ref(
|
||||
"stock.stock_location_customers"
|
||||
).id,
|
||||
"source_location_add_part_id": self.env.ref(
|
||||
"stock.stock_location_components"
|
||||
).id,
|
||||
@@ -50,9 +47,6 @@ class TestRepairType(TransactionCase):
|
||||
"source_location_id": self.env.ref(
|
||||
"stock.stock_location_components"
|
||||
).id,
|
||||
"destination_location_id": self.env.ref(
|
||||
"stock.stock_location_stock"
|
||||
).id,
|
||||
"source_location_add_part_id": self.env.ref(
|
||||
"stock.location_refrigerator_small"
|
||||
).id,
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
<group>
|
||||
<group>
|
||||
<field name="source_location_id" />
|
||||
<field name="destination_location_id" />
|
||||
</group>
|
||||
<group>
|
||||
<field name="source_location_add_part_id" />
|
||||
@@ -48,7 +47,6 @@
|
||||
<tree>
|
||||
<field name="name" />
|
||||
<field name="source_location_id" />
|
||||
<field name="destination_location_id" invisible="1" />
|
||||
<field name="source_location_add_part_id" />
|
||||
<field name="destination_location_add_part_id" />
|
||||
<field name="source_location_remove_part_id" />
|
||||
|
||||
Reference in New Issue
Block a user