neues skript sql_dump_diff.py zum Vergleich von 2 sql-dumps.

- leere, frisch initialisierte Datenbanken der Versionen verglichen
- datasetprogramme erkennen jetzt auch suche nach standardtabellen wie uom
This commit is contained in:
2026-08-22 17:45:46 +02:00
parent c0dd24b6c5
commit a55774eff2
19 changed files with 78583 additions and 269 deletions
+270 -27
View File
@@ -77,7 +77,16 @@
"fields": {
"name": "product",
"default_uom": {
"$manual": "unit"
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"producible": true,
@@ -92,7 +101,16 @@
"fields": {
"name": "component 1",
"default_uom": {
"$manual": "unit"
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
@@ -106,7 +124,16 @@
"fields": {
"name": "component 2",
"default_uom": {
"$manual": "meter"
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Meter"
]
]
}
},
"type": "goods",
"list_price": {
@@ -120,7 +147,16 @@
"fields": {
"name": "Product",
"default_uom": {
"$manual": "unit"
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
@@ -135,7 +171,16 @@
"fields": {
"name": "Product",
"default_uom": {
"$manual": "kg"
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Kilogram"
]
]
}
},
"type": "goods",
"list_price": {
@@ -150,7 +195,16 @@
"fields": {
"name": "Product",
"default_uom": {
"$manual": "unit"
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
@@ -229,7 +283,16 @@
"model": "stock.inventory",
"fields": {
"location": {
"$manual": "storage_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"empty_quantity": "keep"
}
@@ -239,7 +302,16 @@
"model": "stock.inventory",
"fields": {
"location": {
"$manual": "storage_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"empty_quantity": "empty"
}
@@ -251,7 +323,16 @@
"name": "Storage Sub",
"type": "storage",
"parent": {
"$manual": "storage_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
}
}
},
@@ -261,7 +342,16 @@
"fields": {
"name": "Child Location",
"parent": {
"$manual": "storage_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"code": "CHI"
}
@@ -272,7 +362,16 @@
"fields": {
"name": "Storage 1",
"parent": {
"$manual": "storage_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
}
}
},
@@ -307,14 +406,41 @@
"$manual": "product"
},
"uom": {
"$manual": "unit"
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"quantity": 1,
"from_location": {
"$manual": "supplier_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"SUP"
]
]
}
},
"to_location": {
"$manual": "storage_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"planned_date": {
"$manual": "today"
@@ -344,7 +470,16 @@
"$ref": "scenario_stock_product_location__supplier"
},
"warehouse": {
"$manual": "warehouse_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
},
"company": {
"$manual": "company"
@@ -362,7 +497,16 @@
"$ref": "scenario_stock_reporting__supplier"
},
"warehouse": {
"$manual": "warehouse_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
},
"company": {
"$manual": "company"
@@ -377,7 +521,16 @@
"$ref": "scenario_stock_reporting__supplier"
},
"warehouse": {
"$manual": "warehouse_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
},
"company": {
"$manual": "company"
@@ -395,10 +548,28 @@
"$manual": "company"
},
"from_location": {
"$manual": "storage_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"to_location": {
"$manual": "lost_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"type",
"=",
"lost_found"
]
]
}
}
}
},
@@ -413,7 +584,16 @@
"$ref": "scenario_stock_shipment_internal__internal_loc"
},
"to_location": {
"$manual": "storage_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
}
}
},
@@ -428,7 +608,16 @@
"$ref": "scenario_stock_lot_shipment_out__customer"
},
"warehouse": {
"$manual": "warehouse_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
},
"company": {
"$manual": "company"
@@ -446,7 +635,16 @@
"$ref": "scenario_stock_lot_shipment_out__customer"
},
"warehouse": {
"$manual": "warehouse_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
},
"company": {
"$manual": "company"
@@ -464,7 +662,16 @@
"$ref": "scenario_stock_lot_shipment_out__customer"
},
"warehouse": {
"$manual": "warehouse_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
},
"company": {
"$manual": "company"
@@ -479,7 +686,16 @@
"$ref": "scenario_stock_lot_shipment_out__customer"
},
"warehouse": {
"$manual": "warehouse_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
},
"company": {
"$manual": "company"
@@ -506,10 +722,28 @@
"$ref": "scenario_stock_product_location__supplier"
},
"from_location": {
"$manual": "output_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"OUT"
]
]
}
},
"to_location": {
"$manual": "supplier_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"SUP"
]
]
}
}
}
},
@@ -521,7 +755,16 @@
"$ref": "scenario_stock_lot_shipment_out__customer"
},
"warehouse": {
"$manual": "warehouse_loc"
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
},
"company": {
"$manual": "company"