Merge PR #830 into 14.0

Signed-off-by LoisRForgeFlow
This commit is contained in:
OCA-git-bot
2022-09-23 11:00:58 +00:00
3 changed files with 0 additions and 13 deletions

View File

@@ -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",

View File

@@ -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,

View File

@@ -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" />