Files
tryton-db-migration/data/7.6/production.json
T

110 lines
3.0 KiB
JSON
Raw Normal View History

2026-08-07 22:27:49 +02:00
{
2026-08-08 01:29:43 +02:00
"version": "7.6",
2026-08-07 22:27:49 +02:00
"module": "production",
"files": [
{
"module": "production",
"file": "bom.py",
2026-08-07 22:27:49 +02:00
"class": "BOMInput",
"method": "__register__",
"line": 142,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production_bom_input"
],
2026-08-07 22:27:49 +02:00
"line": 148,
"args": [
"'uom'",
"'unit'"
],
"kwargs": {},
"code": "table_h.column_rename('uom', 'unit')",
"phase": "before_super",
"condition": "table_h.column_exist('uom') and (not table_h.column_exist('unit'))"
},
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"production_bom_input"
],
2026-08-07 22:27:49 +02:00
"line": 154,
"args": [
"'product_bom_uniq'"
],
"kwargs": {},
"code": "table_h.drop_constraint('product_bom_uniq')",
"phase": "after_super"
}
]
},
{
"module": "production",
"file": "ir.py",
2026-08-07 22:27:49 +02:00
"class": "Cron",
"method": "__register__",
"line": 19,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"ir_cron"
],
2026-08-07 22:27:49 +02:00
"line": 26,
"args": [
"*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.method], ['ir.cron|stock_shipment_assign_try'],\n where=table.method == 'production|assign_cron'))",
2026-08-07 22:27:49 +02:00
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"tables": [
"ir_cron"
],
2026-08-07 22:27:49 +02:00
"line": 26,
"args": [
"[table.method]",
"['ir.cron|stock_shipment_assign_try']"
],
"kwargs": {
"where": "table.method == 'production|assign_cron'"
},
2026-08-09 00:47:23 +02:00
"code": "table.update(\n [table.method], ['ir.cron|stock_shipment_assign_try'],\n where=table.method == 'production|assign_cron')",
2026-08-07 22:27:49 +02:00
"phase": "after_super"
}
]
},
{
"module": "production",
"file": "production.py",
2026-08-07 22:27:49 +02:00
"class": "Production",
"method": "__register__",
"line": 267,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"tables": [
"production"
],
2026-08-07 22:27:49 +02:00
"line": 273,
"args": [
"'uom'",
"'unit'"
],
"kwargs": {},
"code": "table_h.column_rename('uom', 'unit')",
"phase": "before_super",
"condition": "table_h.column_exist('uom') and (not table_h.column_exist('unit'))"
}
]
}
]
}