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
This commit is contained in:
@@ -0,0 +1,103 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user