Files
tryton-db-migration/reports/8_testdata_merged.yaml
T
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

1895 lines
41 KiB
YAML

{
"records": [
{
"key": "scenario_country_import__belgium",
"model": "country.country",
"fields": {
"name": "Belgium",
"code": "BE"
}
},
{
"key": "scenario_party_phone_number__spain",
"model": "country.country",
"fields": {
"name": "Spain",
"code": "ES"
}
},
{
"key": "scenario_currency_import__eur",
"model": "currency.currency",
"fields": {
"name": "Euro",
"symbol": "€",
"code": "EUR"
}
},
{
"key": "scenario_currency_rate_update__cron",
"model": "currency.cron",
"fields": {
"source": "ecb",
"frequency": "daily",
"day": null,
"currency": {
"$ref": "scenario_currency_import__eur"
},
"last_update": {
"$manual": "before_previous_week"
}
}
},
{
"key": "scenario_currency_rate_update__usd",
"model": "currency.currency",
"fields": {
"name": "U.S. Dollar",
"code": "USD",
"symbol": "$"
}
},
{
"key": "scenario_production_lot_number__sequence",
"model": "ir.sequence",
"fields": {
"name": "Lot",
"sequence_type": {
"$search": {
"model": "ir.sequence.type",
"domain": [
[
"name",
"=",
"Stock Lot"
]
]
}
},
"company": null
}
},
{
"key": "scenario_stock_lot_number__sequence",
"model": "ir.sequence",
"fields": {
"name": "Lot",
"sequence_type": {
"$search": {
"model": "ir.sequence.type",
"domain": [
[
"name",
"=",
"Stock Lot"
]
]
}
}
}
},
{
"key": "scenario_party_contact_mechanism_notifications__party1",
"model": "party.party",
"fields": {
"name": "Party 1"
}
},
{
"key": "scenario_party_erase__party",
"model": "party.party",
"fields": {
"name": "Pam",
"active": false
}
},
{
"key": "scenario_party_erase__attachment",
"model": "ir.attachment",
"fields": {
"resource": {
"$ref": "scenario_party_erase__party"
},
"name": "Attachment"
}
},
{
"key": "scenario_party_replace__party1",
"model": "party.party",
"fields": {
"name": "Pam"
}
},
{
"key": "scenario_stock_lot_assign_try__customer",
"model": "party.party",
"fields": {
"name": "Customer"
}
},
{
"key": "scenario_stock_lot_shipment_in__supplier",
"model": "party.party",
"fields": {
"name": "Supplier"
}
},
{
"key": "scenario_stock_product_location__supplier",
"model": "party.party",
"fields": {
"name": "Suppier"
}
},
{
"key": "scenario_stock_shipment_internal__employee_party",
"model": "party.party",
"fields": {
"name": "Employee"
}
},
{
"key": "scenario_stock_shipment_internal__employee",
"model": "company.employee",
"fields": {
"party": {
"$ref": "scenario_stock_shipment_internal__employee_party"
}
}
},
{
"key": "scenario_stock_shipment_out__employee",
"model": "company.employee",
"fields": {
"party": {
"$ref": "scenario_stock_shipment_internal__employee_party"
}
}
},
{
"key": "scenario_stock_reporting_margin__category_root",
"model": "product.category",
"fields": {
"name": "Root"
}
},
{
"key": "scenario_stock_reporting_margin__category1",
"model": "product.category",
"fields": {
"name": "Child1",
"parent": {
"$ref": "scenario_stock_reporting_margin__category_root"
}
}
},
{
"key": "scenario_stock_reporting_margin__category2",
"model": "product.category",
"fields": {
"name": "Child2",
"parent": {
"$ref": "scenario_stock_reporting_margin__category_root"
}
}
},
{
"key": "scenario_stock_lot_number__configuration",
"model": "product.configuration",
"fields": {
"default_lot_sequence": {
"$ref": "scenario_stock_lot_number__sequence"
}
}
},
{
"key": "scenario_product_copy_locations__template",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "20"
}
}
},
{
"key": "scenario_product_identifier__template",
"model": "product.template",
"fields": {
"name": "product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "service"
}
},
{
"key": "scenario_product_replace__template",
"model": "product.template",
"fields": {
"name": "Product",
"type": "goods",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Kilogram"
]
]
}
}
}
},
{
"key": "scenario_product_variant__template",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"list_price": {
"$decimal": "40.0000"
},
"code": "PRD"
}
},
{
"key": "scenario_product_variant__product2",
"model": "product.product",
"fields": {
"template": {
"$ref": "scenario_product_variant__template"
},
"suffix_code": "002",
"list_price": {
"$decimal": "50.0000"
}
}
},
{
"key": "scenario_production__template",
"model": "product.template",
"fields": {
"name": "product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"producible": true,
"list_price": {
"$decimal": "30"
}
}
},
{
"key": "scenario_production__template1",
"model": "product.template",
"fields": {
"name": "component 1",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "5"
}
}
},
{
"key": "scenario_production__template2",
"model": "product.template",
"fields": {
"name": "component 2",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Meter"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "7"
}
}
},
{
"key": "scenario_production_lot_number__template",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "10.0000"
},
"lot_required": [
"storage"
],
"lot_sequence": {
"$ref": "scenario_production_lot_number__sequence"
}
}
},
{
"key": "scenario_production_lot_trace__template",
"model": "product.template",
"fields": {
"name": "Product",
"type": "goods",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"producible": true,
"list_price": {
"$decimal": "1"
}
}
},
{
"key": "scenario_production_no_list_price__template",
"model": "product.template",
"fields": {
"name": "product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"producible": true
}
},
{
"key": "scenario_production_phantom_bom__template_extension",
"model": "product.template",
"fields": {
"name": "extension",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "5"
}
}
},
{
"key": "scenario_production_phantom_bom__template_foot",
"model": "product.template",
"fields": {
"name": "foot",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "5"
}
}
},
{
"key": "scenario_production_phantom_bom__template_hook",
"model": "product.template",
"fields": {
"name": "hook",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "7"
}
}
},
{
"key": "scenario_production_phantom_bom__template_leg",
"model": "product.template",
"fields": {
"name": "leg",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"producible": true,
"list_price": {
"$decimal": "7"
}
}
},
{
"key": "scenario_production_phantom_bom__template_table",
"model": "product.template",
"fields": {
"name": "table",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"producible": true,
"list_price": {
"$decimal": "30"
}
}
},
{
"key": "scenario_production_phantom_bom__template_top",
"model": "product.template",
"fields": {
"name": "top",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "5"
}
}
},
{
"key": "scenario_production_set_cost__template",
"model": "product.template",
"fields": {
"name": "product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"producible": true,
"list_price": {
"$decimal": "20"
}
}
},
{
"key": "scenario_stock_average_cost_price__template",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "300"
},
"cost_price_method": "average"
}
},
{
"key": "scenario_stock_inventory__template2",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Kilogram"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "140"
},
"cost_price_method": "average"
}
},
{
"key": "scenario_stock_lot_inventory_count__template",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"lot_required": [
"storage"
]
}
},
{
"key": "scenario_stock_lot_number__template",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"lot_sequence": null
}
},
{
"key": "scenario_stock_lot_shipment_out__template",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "20"
},
"lot_required": [
"storage"
]
}
},
{
"key": "scenario_stock_lot_trace__template",
"model": "product.template",
"fields": {
"name": "Product",
"type": "goods",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
}
}
},
{
"key": "scenario_stock_product_location_consumable__template",
"model": "product.template",
"fields": {
"name": "Consumable",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"consumable": true
}
},
{
"key": "scenario_stock_recompute_average_cost_price_production__template",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "50.0000"
},
"cost_price_method": "average"
}
},
{
"key": "scenario_stock_reporting_margin__template",
"model": "product.template",
"fields": {
"name": "Product",
"default_uom": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"type": "goods",
"list_price": {
"$decimal": "40"
}
}
},
{
"key": "scenario_production__bom",
"model": "production.bom",
"fields": {
"name": "product"
}
},
{
"key": "scenario_production__production",
"model": "production",
"fields": {
"planned_date": {
"$manual": "today"
},
"product": {
"$manual": "product"
},
"bom": {
"$ref": "scenario_production__bom"
},
"quantity": 2
}
},
{
"key": "scenario_production_phantom_bom__bom",
"model": "production.bom",
"fields": {
"name": "product with Phantom BoM"
}
},
{
"key": "scenario_production_phantom_bom__phantom_bom_input",
"model": "production.bom",
"fields": {
"name": "Leg Foot Input",
"phantom": true,
"phantom_quantity": 1,
"phantom_unit": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
}
}
},
{
"key": "scenario_production_phantom_bom__phantom_bom_output",
"model": "production.bom",
"fields": {
"name": "Extension Hook Ouput",
"phantom": true,
"phantom_quantity": 1,
"phantom_unit": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
}
}
},
{
"key": "scenario_production_split__bom",
"model": "production.bom",
"fields": {
"name": "Product"
}
},
{
"key": "scenario_production_split__production",
"model": "production",
"fields": {
"product": {
"$manual": "product"
},
"bom": {
"$ref": "scenario_production_split__bom"
},
"quantity": 10
}
},
{
"key": "scenario_production__production_lead_time",
"model": "production.lead_time",
"fields": {
"product": {
"$manual": "product"
},
"bom": {
"$ref": "scenario_production__bom"
},
"lead_time": {
"$manual": "dt.timedelta(1)"
}
}
},
{
"key": "scenario_stock_shipment_internal__user",
"model": "res.user",
"fields": {
"employee": {
"$ref": "scenario_stock_shipment_internal__employee"
}
}
},
{
"key": "scenario_stock_shipment_out__user",
"model": "res.user",
"fields": {
"employee": {
"$ref": "scenario_stock_shipment_out__employee"
}
}
},
{
"key": "scenario_stock_inventory__inventory",
"model": "stock.inventory",
"fields": {
"location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"empty_quantity": "keep"
}
},
{
"key": "scenario_stock_inventory_empty_quantity__inventory",
"model": "stock.inventory",
"fields": {
"location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"empty_quantity": "empty"
}
},
{
"key": "scenario_product_copy_locations__child_loc",
"model": "stock.location",
"fields": {
"name": "Child Location",
"parent": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"code": "CHI"
}
},
{
"key": "scenario_stock_average_cost_price__storage_sub_loc",
"model": "stock.location",
"fields": {
"name": "Storage Sub",
"type": "storage",
"parent": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
}
}
},
{
"key": "scenario_stock_lot_assign_try__zone1",
"model": "stock.location",
"fields": {
"name": "Zone1",
"parent": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"type": "storage"
}
},
{
"key": "scenario_stock_product_location_consumable__consumable_loc",
"model": "stock.location",
"fields": {
"name": "Consumable",
"parent": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_recompute_average_cost_price_production__production_loc",
"model": "stock.location",
"fields": {
"name": "Production",
"type": "production"
}
},
{
"key": "scenario_stock_shipment_in_same_storage_input__storage1",
"model": "stock.location",
"fields": {
"name": "Storage 1",
"parent": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
}
}
},
{
"key": "scenario_stock_shipment_internal__internal_loc",
"model": "stock.location",
"fields": {
"name": "Internal",
"type": "storage",
"parent": {
"$manual": "storage_loc.parent"
}
}
},
{
"key": "scenario_stock_lot_shipment_out_internal__lead_time",
"model": "stock.location.lead_time",
"fields": {
"warehouse_from": {
"$search": {
"model": "stock.location",
"domain": [
[
"type",
"=",
"warehouse"
]
]
}
},
"warehouse_to": {
"$manual": "warehouse2"
},
"lead_time": {
"$manual": "dt.timedelta(1)"
}
}
},
{
"key": "scenario_production_lot_trace__component_lot",
"model": "stock.lot",
"fields": {
"product": {
"$manual": "component"
},
"number": "2"
}
},
{
"key": "scenario_production_lot_trace__product_lot",
"model": "stock.lot",
"fields": {
"product": {
"$manual": "product"
},
"number": "1"
}
},
{
"key": "scenario_stock_lot_assign_try__lot",
"model": "stock.lot",
"fields": {
"number": "LOT",
"product": {
"$manual": "product"
}
}
},
{
"key": "scenario_stock_lot_inventory_count__lot",
"model": "stock.lot",
"fields": {
"number": "0001",
"product": {
"$manual": "product"
}
}
},
{
"key": "scenario_stock_lot_move_add__lot2",
"model": "stock.lot",
"fields": {
"number": "02",
"product": {
"$manual": "product"
}
}
},
{
"key": "scenario_stock_lot_number__lot",
"model": "stock.lot",
"fields": {
"product": {
"$manual": "product"
}
}
},
{
"key": "scenario_stock_lot_shipment_in__lot2",
"model": "stock.lot",
"fields": {
"number": "2",
"product": {
"$manual": "product"
}
}
},
{
"key": "scenario_stock_average_cost_price__incoming_move",
"model": "stock.move",
"fields": {
"product": {
"$manual": "product"
},
"unit": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"quantity": 1,
"from_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"SUP"
]
]
}
},
"to_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"planned_date": {
"$manual": "today"
},
"effective_date": {
"$manual": "today"
},
"unit_price": {
"$decimal": "200"
},
"currency": {
"$manual": "currency"
}
}
},
{
"key": "scenario_stock_lot_move_add__move",
"model": "stock.move",
"fields": {
"from_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"to_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"CUS"
]
]
}
},
"product": {
"$manual": "product"
},
"quantity": 10,
"unit_price": {
"$decimal": "20"
},
"currency": {
"$manual": "get_currency()"
}
}
},
{
"key": "scenario_stock_move_in_future__move",
"model": "stock.move",
"fields": {
"product": {
"$manual": "product"
},
"quantity": 2,
"from_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"SUP"
]
]
}
},
"to_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"currency": {
"$manual": "get_currency()"
},
"effective_date": {
"$manual": "today"
},
"unit_price": {
"$decimal": "1"
}
}
},
{
"key": "scenario_stock_period__move",
"model": "stock.move",
"fields": {
"product": {
"$manual": "product"
},
"quantity": 1,
"from_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"to_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"CUS"
]
]
}
},
"planned_date": {
"$manual": "yesterday"
},
"unit_price": {
"$decimal": "42.0000"
},
"currency": {
"$manual": "currency"
}
}
},
{
"key": "scenario_stock_product_quantities_by_warehouse__move_2",
"model": "stock.move",
"fields": {
"product": {
"$manual": "product"
},
"from_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"to_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"CUS"
]
]
}
},
"unit": {
"$search": {
"model": "product.uom",
"domain": [
[
"name",
"=",
"Unit"
]
]
}
},
"quantity": 6,
"planned_date": {
"$manual": "tomorrow"
},
"unit_price": {
"$decimal": "20"
},
"currency": {
"$manual": "currency"
}
}
},
{
"key": "scenario_stock_product_replace__move_2",
"model": "stock.move",
"fields": {
"product": {
"$manual": "product1"
},
"quantity": 1,
"from_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"to_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"CUS"
]
]
}
},
"unit_price": {
"$decimal": "20.0000"
},
"currency": {
"$manual": "company.currency"
}
}
},
{
"key": "scenario_stock_reporting_inventory__move_2",
"model": "stock.move",
"fields": {
"product": {
"$manual": "product"
},
"from_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"SUP"
]
]
}
},
"to_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"quantity": 10,
"effective_date": {
"$manual": "dt.date(2025, 1, 5)"
},
"unit_price": {
"$decimal": "10.0000"
},
"currency": {
"$manual": "currency"
}
}
},
{
"key": "scenario_stock_period__period",
"model": "stock.period",
"fields": {
"date": {
"$manual": "yesterday"
}
}
},
{
"key": "scenario_stock_lot_shipment_in__shipment",
"model": "stock.shipment.in",
"fields": {
"supplier": {
"$ref": "scenario_stock_lot_shipment_in__supplier"
}
}
},
{
"key": "scenario_stock_product_location__shipment_in",
"model": "stock.shipment.in",
"fields": {
"planned_date": {
"$manual": "today"
},
"supplier": {
"$ref": "scenario_stock_product_location__supplier"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_product_location_template__shipment_in",
"model": "stock.shipment.in",
"fields": {
"planned_date": {
"$manual": "today"
},
"supplier": {
"$ref": "scenario_stock_product_location__supplier"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_reporting__shipment_in",
"model": "stock.shipment.in",
"fields": {
"planned_date": {
"$manual": "today"
},
"supplier": {
"$ref": "scenario_stock_lot_shipment_in__supplier"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_shipment_in__shipment",
"model": "stock.shipment.in",
"fields": {
"supplier": {
"$ref": "scenario_stock_lot_shipment_in__supplier"
}
}
},
{
"key": "scenario_stock_shipment_in_same_storage_input__shipment_in",
"model": "stock.shipment.in",
"fields": {
"supplier": {
"$ref": "scenario_stock_lot_shipment_in__supplier"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_shipment_in_return__shipment_return",
"model": "stock.shipment.in.return",
"fields": {
"planned_date": {
"$manual": "yesterday"
},
"supplier": {
"$ref": "scenario_stock_lot_shipment_in__supplier"
},
"from_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
}
}
},
{
"key": "scenario_stock_lot_shipment_out_internal__shipment",
"model": "stock.shipment.internal",
"fields": {
"planned_date": {
"$manual": "tomorrow"
},
"from_location": {
"$manual": "warehouse1.storage_location"
},
"to_location": {
"$manual": "warehouse2.storage_location"
},
"effective_start_date": {
"$manual": "yesterday"
}
}
},
{
"key": "scenario_stock_reporting__shipment_internal",
"model": "stock.shipment.internal",
"fields": {
"planned_date": {
"$manual": "today"
},
"from_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
},
"to_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"type",
"=",
"lost_found"
]
]
}
}
}
},
{
"key": "scenario_stock_shipment_internal__shipment",
"model": "stock.shipment.internal",
"fields": {
"planned_date": {
"$manual": "today"
},
"from_location": {
"$ref": "scenario_stock_shipment_internal__internal_loc"
},
"to_location": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"STO"
]
]
}
}
}
},
{
"key": "scenario_stock_lot_shipment_out__shipment_out",
"model": "stock.shipment.out",
"fields": {
"planned_date": {
"$manual": "today"
},
"customer": {
"$ref": "scenario_stock_lot_assign_try__customer"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_reporting__shipment_out",
"model": "stock.shipment.out",
"fields": {
"planned_date": {
"$manual": "today"
},
"customer": {
"$ref": "scenario_stock_lot_assign_try__customer"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_shipment_out__shipment_out",
"model": "stock.shipment.out",
"fields": {
"planned_date": {
"$manual": "today"
},
"customer": {
"$ref": "scenario_stock_lot_assign_try__customer"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_shipment_out_same_storage_output__shipment_out",
"model": "stock.shipment.out",
"fields": {
"customer": {
"$ref": "scenario_stock_lot_assign_try__customer"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_split_shipment__shipment1",
"model": "stock.shipment.out",
"fields": {
"customer": {
"$ref": "scenario_stock_lot_assign_try__customer"
}
}
},
{
"key": "scenario_stock_product_location__shipment_out_return",
"model": "stock.shipment.out.return",
"fields": {
"customer": {
"$ref": "scenario_stock_lot_assign_try__customer"
}
}
},
{
"key": "scenario_stock_product_location_template__shipment_out_return",
"model": "stock.shipment.out.return",
"fields": {
"customer": {
"$ref": "scenario_stock_lot_assign_try__customer"
}
}
},
{
"key": "scenario_stock_shipment_out_return__shipment",
"model": "stock.shipment.out.return",
"fields": {
"customer": {
"$ref": "scenario_stock_lot_assign_try__customer"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
},
{
"key": "scenario_stock_shipment_out_return_same_storage_input__shipment",
"model": "stock.shipment.out.return",
"fields": {
"customer": {
"$ref": "scenario_stock_lot_assign_try__customer"
},
"warehouse": {
"$search": {
"model": "stock.location",
"domain": [
[
"code",
"=",
"WH"
]
]
}
}
}
}
]
}