Files
uha4 a55774eff2 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
2026-08-22 17:45:46 +02:00

1033 lines
24 KiB
JSON

{
"tables_added": [
"company_company_logo_cache",
"company_company_tax_identifier",
"country_organization",
"country_organization_member",
"country_postal_code",
"country_region",
"currency_cron",
"ir_avatar",
"ir_avatar_cache",
"ir_calendar_day",
"ir_calendar_month",
"ir_chat_channel",
"ir_chat_follower",
"ir_chat_message",
"ir_cron_log",
"ir_email",
"ir_email_address",
"ir_email_template",
"ir_error",
"ir_filestore_queue",
"ir_message",
"ir_model_log",
"ir_ui_view_tree_optional",
"party_address_subdivision_type",
"party_contact_mechanism_language",
"product_configuration_default_lot_sequence",
"product_cost_price_revision",
"product_identifier",
"res_notification",
"res_user_device",
"stock_location_waste"
],
"tables_changed": {
"company_company": {
"added_columns": [
"logo"
],
"expected_category": "geändert",
"removed_columns": [
"parent"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"company_employee": {
"added_columns": [
"supervisor"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"country_country": {
"added_columns": [
"active",
"region"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 249,
"row_count_b": 249,
"schema_changed": true,
"type_changes": {}
},
"country_subdivision": {
"added_columns": [
"active"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 4835,
"row_count_b": 5046,
"schema_changed": true,
"type_changes": {}
},
"currency_currency": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 170,
"row_count_b": 178,
"schema_changed": false,
"type_changes": {}
},
"currency_currency_rate": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 1,
"row_count_b": 0,
"schema_changed": false,
"type_changes": {}
},
"ir_action": {
"added_columns": [
"records"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 122,
"row_count_b": 167,
"schema_changed": true,
"type_changes": {}
},
"ir_action_act_window": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 87,
"row_count_b": 125,
"schema_changed": false,
"type_changes": {}
},
"ir_action_act_window_domain": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 39,
"row_count_b": 47,
"schema_changed": false,
"type_changes": {}
},
"ir_action_act_window_view": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 146,
"row_count_b": 225,
"schema_changed": false,
"type_changes": {}
},
"ir_action_keyword": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 117,
"row_count_b": 165,
"schema_changed": false,
"type_changes": {}
},
"ir_action_report": {
"added_columns": [
"record_name"
],
"expected_category": "geändert",
"removed_columns": [
"email"
],
"row_count_a": 10,
"row_count_b": 10,
"schema_changed": true,
"type_changes": {}
},
"ir_action_wizard": {
"added_columns": [],
"expected_category": "geändert",
"removed_columns": [
"email"
],
"row_count_a": 25,
"row_count_b": 32,
"schema_changed": true,
"type_changes": {}
},
"ir_attachment": {
"added_columns": [
"copy_to_resources"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"ir_cache": {
"added_columns": [],
"expected_category": "geändert",
"removed_columns": [],
"row_count_a": 21,
"row_count_b": 43,
"schema_changed": true,
"type_changes": {
"create_date": [
"timestamp(6) without time zone",
"timestamp without time zone"
],
"write_date": [
"timestamp(6) without time zone",
"timestamp without time zone"
]
}
},
"ir_configuration": {
"added_columns": [
"product_price_decimal",
"series"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 1,
"row_count_b": 1,
"schema_changed": true,
"type_changes": {}
},
"ir_cron": {
"added_columns": [
"day",
"hour",
"method",
"minute",
"weekday"
],
"expected_category": "geändert",
"removed_columns": [
"args",
"function",
"model",
"name",
"number_calls",
"repeat_missed",
"request_user",
"user"
],
"row_count_a": 1,
"row_count_b": 10,
"schema_changed": true,
"type_changes": {}
},
"ir_export": {
"added_columns": [
"header",
"ignore_search_limit",
"records",
"user"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"ir_lang": {
"added_columns": [
"am",
"nplurals",
"pg_text_search",
"plural",
"pm"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 19,
"row_count_b": 25,
"schema_changed": true,
"type_changes": {}
},
"ir_model": {
"added_columns": [
"string"
],
"expected_category": "geändert",
"removed_columns": [
"model"
],
"row_count_a": 159,
"row_count_b": 215,
"schema_changed": true,
"type_changes": {}
},
"ir_model_access": {
"added_columns": [
"active"
],
"expected_category": "geändert",
"removed_columns": [],
"row_count_a": 138,
"row_count_b": 163,
"schema_changed": true,
"type_changes": {
"model": [
"integer",
"character varying"
]
}
},
"ir_model_button": {
"added_columns": [
"active"
],
"expected_category": "geändert",
"removed_columns": [],
"row_count_a": 67,
"row_count_b": 80,
"schema_changed": true,
"type_changes": {
"model": [
"integer",
"character varying"
]
}
},
"ir_model_data": {
"added_columns": [
"field_names"
],
"expected_category": "geändert",
"removed_columns": [
"fs_values",
"values"
],
"row_count_a": 6583,
"row_count_b": 2080,
"schema_changed": true,
"type_changes": {}
},
"ir_model_field": {
"added_columns": [
"access",
"string"
],
"expected_category": "geändert",
"removed_columns": [
"field_description"
],
"row_count_a": 1709,
"row_count_b": 2858,
"schema_changed": true,
"type_changes": {
"model": [
"integer",
"character varying"
]
}
},
"ir_model_field_access": {
"added_columns": [
"active",
"model"
],
"expected_category": "geändert",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {
"field": [
"integer",
"character varying"
]
}
},
"ir_module": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 138,
"row_count_b": 219,
"schema_changed": false,
"type_changes": {}
},
"ir_module_config_wizard_item": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 3,
"row_count_b": 4,
"schema_changed": false,
"type_changes": {}
},
"ir_module_dependency": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 587,
"row_count_b": 951,
"schema_changed": false,
"type_changes": {}
},
"ir_note": {
"added_columns": [
"copy_to_resources"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"ir_queue": {
"added_columns": [],
"expected_category": "geändert",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {
"data": [
"text",
"jsonb"
]
}
},
"ir_rule": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 34,
"row_count_b": 38,
"schema_changed": false,
"type_changes": {}
},
"ir_rule_group": {
"added_columns": [],
"expected_category": "geändert",
"removed_columns": [],
"row_count_a": 26,
"row_count_b": 34,
"schema_changed": true,
"type_changes": {
"model": [
"integer",
"character varying"
]
}
},
"ir_sequence": {
"added_columns": [
"sequence_type"
],
"expected_category": "geändert",
"removed_columns": [
"code"
],
"row_count_a": 8,
"row_count_b": 8,
"schema_changed": true,
"type_changes": {}
},
"ir_sequence_strict": {
"added_columns": [
"sequence_type"
],
"expected_category": "geändert",
"removed_columns": [
"code"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"ir_sequence_type": {
"added_columns": [],
"expected_category": "geändert",
"removed_columns": [
"code"
],
"row_count_a": 8,
"row_count_b": 13,
"schema_changed": true,
"type_changes": {}
},
"ir_session": {
"added_columns": [
"ip_address"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"ir_translation": {
"added_columns": [
"src_plural",
"value_1",
"value_2",
"value_3"
],
"expected_category": "geändert",
"removed_columns": [
"src_md5"
],
"row_count_a": 8173,
"row_count_b": 8940,
"schema_changed": true,
"type_changes": {}
},
"ir_trigger": {
"added_columns": [
"action",
"on_create_",
"on_delete_",
"on_time_",
"on_write_"
],
"expected_category": "geändert",
"removed_columns": [
"action_function",
"action_model",
"on_create",
"on_delete",
"on_time",
"on_write"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"ir_ui_icon": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 16,
"row_count_b": 20,
"schema_changed": false,
"type_changes": {}
},
"ir_ui_menu": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 93,
"row_count_b": 108,
"schema_changed": false,
"type_changes": {}
},
"ir_ui_menu_favorite": {
"added_columns": [],
"expected_category": "geändert",
"removed_columns": [
"sequence"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"ir_ui_view": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 261,
"row_count_b": 367,
"schema_changed": false,
"type_changes": {}
},
"ir_ui_view_tree_width": {
"added_columns": [
"occurrence",
"screen_width"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"party_address": {
"added_columns": [
"attn",
"building_name",
"building_number",
"floor_number",
"post_box",
"post_office",
"postal_code",
"private_bag",
"room_number",
"street_name",
"street_unstructured",
"unit_number"
],
"expected_category": "geändert",
"removed_columns": [
"name",
"street",
"zip"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"party_address_format": {
"added_columns": [
"building_number_format",
"country_code",
"floor_number_format",
"language_code",
"post_box_format",
"post_office_format",
"private_bag_format",
"room_number_format",
"street_format",
"unit_number_format"
],
"expected_category": "geändert",
"removed_columns": [
"country",
"language"
],
"row_count_a": 66,
"row_count_b": 222,
"schema_changed": true,
"type_changes": {}
},
"party_configuration": {
"added_columns": [
"identifier_types"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"party_contact_mechanism": {
"added_columns": [
"address",
"delivery"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"party_identifier": {
"added_columns": [
"active",
"address",
"code_compact"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"party_party": {
"added_columns": [
"code_alnum",
"code_digit"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"product_category": {
"added_columns": [
"code"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"product_configuration": {
"added_columns": [
"category_sequence",
"product_sequence",
"template_sequence"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"product_list_price": {
"added_columns": [
"product"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"product_product": {
"added_columns": [
"position",
"replaced_by",
"suffix_code"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"product_template": {
"added_columns": [
"code",
"lot_required",
"lot_sequence"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"product_uom": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 32,
"row_count_b": 35,
"schema_changed": false,
"type_changes": {}
},
"product_uom_category": {
"added_columns": [],
"expected_category": null,
"removed_columns": [],
"row_count_a": 6,
"row_count_b": 7,
"schema_changed": false,
"type_changes": {}
},
"production": {
"added_columns": [
"assigned_by",
"done_by",
"origin",
"origin_planned_date",
"run_by",
"type",
"unit"
],
"expected_category": "geändert",
"removed_columns": [
"uom"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"production_bom": {
"added_columns": [
"code",
"phantom",
"phantom_quantity",
"phantom_unit"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"production_bom_input": {
"added_columns": [
"phantom_bom",
"unit"
],
"expected_category": "geändert",
"removed_columns": [
"uom"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"production_bom_output": {
"added_columns": [
"phantom_bom",
"unit"
],
"expected_category": "geändert",
"removed_columns": [
"uom"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"production_configuration": {
"added_columns": [
"bom_sequence"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"res_group": {
"added_columns": [
"active",
"parent"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 10,
"row_count_b": 13,
"schema_changed": true,
"type_changes": {}
},
"res_user": {
"added_columns": [
"company_filter",
"notifications",
"warehouse"
],
"expected_category": "geändert",
"removed_columns": [
"main_company"
],
"row_count_a": 3,
"row_count_b": 2,
"schema_changed": true,
"type_changes": {}
},
"res_user_login_attempt": {
"added_columns": [
"device_cookie"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"stock_inventory": {
"added_columns": [],
"expected_category": "geändert",
"removed_columns": [
"lost_found"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"stock_location": {
"added_columns": [
"allow_pickup",
"lost_found_location",
"production_output_location",
"production_picking_location"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 9,
"row_count_b": 9,
"schema_changed": true,
"type_changes": {}
},
"stock_lot": {
"added_columns": [
"active"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"stock_move": {
"added_columns": [
"origin_planned_date",
"product_cost_price",
"production_cost_price_updated",
"unit",
"unit_price_updated"
],
"expected_category": "geändert",
"removed_columns": [
"internal_volume",
"internal_weight",
"uom"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"stock_product_location": {
"added_columns": [
"template"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"stock_shipment_in": {
"added_columns": [
"origin_planned_date",
"warehouse_input",
"warehouse_storage"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"stock_shipment_in_return": {
"added_columns": [
"origin_planned_date"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"stock_shipment_internal": {
"added_columns": [
"internal_transit_location",
"origin_planned_date",
"packed_by"
],
"expected_category": "nur ergänzt",
"removed_columns": [],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"stock_shipment_out": {
"added_columns": [
"origin_planned_date",
"picked_by",
"shipped_by",
"warehouse_output",
"warehouse_storage"
],
"expected_category": "geändert",
"removed_columns": [
"assigned_by"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
},
"stock_shipment_out_return": {
"added_columns": [
"contact_address",
"origin_planned_date",
"warehouse_input",
"warehouse_storage"
],
"expected_category": "geändert",
"removed_columns": [
"delivery_address"
],
"row_count_a": 0,
"row_count_b": 0,
"schema_changed": true,
"type_changes": {}
}
},
"tables_removed": [
"country_zip",
"cron_company_rel",
"party_category_rel",
"stock_lot_type"
],
"tables_unchanged": [
"ir_action_url",
"ir_export_line",
"ir_model_button_click",
"ir_model_button_rule",
"ir_note_read",
"ir_session_wizard",
"ir_trigger_log",
"ir_ui_view_search",
"ir_ui_view_tree_state",
"party_category",
"party_configuration_party_lang",
"party_configuration_party_sequence",
"party_party_lang",
"party_party_location",
"product_configuration_default_cost_price_method",
"product_cost_price",
"product_cost_price_method",
"production_configuration_production_sequence",
"production_lead_time",
"res_user_application",
"res_user_warning",
"stock_configuration",
"stock_configuration_location",
"stock_configuration_sequence",
"stock_inventory_line",
"stock_location_lead_time",
"stock_location_lot_shelf_life",
"stock_period",
"stock_period_cache",
"stock_period_cache_lot"
]
}