Files
tryton-db-migration/reports/coverage_5.0.md
T
uha4 c0dd24b6c5 Proteus-Zweig: dataset.yaml-Pipeline und 5.0/8.0-Modellbaumvergleich
- create_dataset.py, compare_snapshots.py, rst_to_dataset.py: Proteus-
  Testdatensatz anlegen/vergleichen bzw. aus *.rst-Szenarien extrahieren
- create_dataset.py: Feld-Alias-Fallback (FIELD_RENAMES) für bekannte
  Umbenennungen wie stock.move.uom -> unit, bidirektional
- merge_dedup_rsts.py: Extrahierte YAMLs pro Version zusammenführen,
  versionsinterne Duplikate entfernen, abhängigkeitskorrekt sortieren
- extract_model_tree.py: Modellbaum (Modelle/Felder) statisch aus dem
  Tryton-Quellcode ziehen, für 5.0 und 8.0
- model_diff.py, model_coverage.py: 5.0<->8.0-Modelländerungen finden und
  gegen die aktuelle Testdatenabdeckung abgleichen, priorisiert nach
  tatsächlicher Änderung
- reports/*_merged.yaml: Extraktionsergebnisse für die aktiven
  Module (rohe *.rst-Quellen bewusst nicht mitversioniert)
- Ordner doc ergänzt
2026-08-22 10:52:13 +02:00

4.4 KiB

Testdaten-Abdeckung gegen den 5.0-Modellbaum

Komplett unabgedeckte Modelle (35)

Für diese Modelle gibt es noch gar keinen Record in der dataset.yaml:

  • company.company [geändert]
  • country.subdivision [geändert]
  • currency.currency [geändert]
  • currency.currency.rate [geändert]
  • party.address [geändert]
  • party.address.format [geändert]
  • party.contact_mechanism [geändert]
  • product.cost_price [geändert]
  • product.list_price [geändert]
  • product.product [geändert]
  • production.bom.input [geändert]
  • stock.inventory.line [geändert]
  • stock.lot [geändert]
  • stock.product.location [geändert]
  • stock.shipment.in.return [geändert]
  • country.zip [entfernt]
  • stock.lot.type [entfernt]
  • country.country [nur ergänzt]
  • party.configuration [nur ergänzt]
  • party.identifier [nur ergänzt]
  • product.category [nur ergänzt]
  • product.configuration [nur ergänzt]
  • production.configuration [nur ergänzt]
  • stock.configuration [nur ergänzt]
  • party.category [unverändert]
  • party.party.lang [unverändert]
  • party.party.location [unverändert]
  • product.cost_price_method [unverändert]
  • product.uom [unverändert]
  • product.uom.category [unverändert]
  • production.configuration.production_sequence [unverändert]
  • stock.configuration.sequence [unverändert]
  • stock.period [unverändert]
  • stock.period.cache [unverändert]
  • stock.period.cache.lot [unverändert]

Teilweise abgedeckte Modelle (15)

Modell hat mind. einen Record, aber nicht alle setzbaren Felder werden benutzt:

product.template [geändert]

  • optional, ungenutzt: categories, categories_all, consumable, cost_price_methods, expiration_state, expiration_time, height, height_uom, length, length_uom, list_prices, lot_required, products, shelf_life_state, shelf_life_time, volume, volume_uom, weight, weight_uom, width, width_uom

production [geändert]

  • required, aber ungenutzt: company, location, warehouse
  • optional, ungenutzt: effective_date, effective_start_date, inputs, number, outputs, planned_start_date, reference, state, uom

res.user [geändert]

  • required, aber ungenutzt: menu
  • optional, ungenutzt: actions, applications, company, email, employees, groups, language, password, password_hash, password_reset, password_reset_expire, signature, warnings

stock.inventory [geändert]

  • required, aber ungenutzt: company, date, lost_found
  • optional, ungenutzt: lines, number, state

stock.move [geändert]

  • required, aber ungenutzt: internal_quantity
  • optional, ungenutzt: cost_price, internal_volume, internal_weight, lot, origin, production_input, production_output, shipment, state

stock.shipment.in [geändert]

  • optional, ungenutzt: contact_address, effective_date, incoming_moves, inventory_moves, moves, number, reference, state

stock.shipment.internal [geändert]

  • optional, ungenutzt: effective_date, effective_start_date, incoming_moves, moves, number, outgoing_moves, planned_start_date, reference, state

stock.shipment.out [geändert]

  • required, aber ungenutzt: delivery_address
  • optional, ungenutzt: effective_date, inventory_moves, moves, number, outgoing_moves, reference, state

stock.shipment.out.return [geändert]

  • required, aber ungenutzt: delivery_address
  • optional, ungenutzt: effective_date, incoming_moves, inventory_moves, moves, number, planned_date, reference, state

company.employee [nur ergänzt]

  • required, aber ungenutzt: company
  • optional, ungenutzt: end_date, start_date

party.party [nur ergänzt]

  • required, aber ungenutzt: code
  • optional, ungenutzt: addresses, categories, contact_mechanisms, customer_location, identifiers, lang, langs, locations, replaced_by, supplier_location

production.bom [nur ergänzt]

  • optional, ungenutzt: inputs, output_products, outputs

stock.location [nur ergänzt]

  • required, aber ungenutzt: left, right
  • optional, ungenutzt: address, childs, flat_childs, input_location, output_location, picking_location, production_location, storage_location

ir.attachment [unverändert]

  • required, aber ungenutzt: type
  • optional, ungenutzt: data, description, file_id, link

stock.location.lead_time [unverändert]

  • optional, ungenutzt: warehouse_from, warehouse_to