2026-08-07 22:27:49 +02:00
|
|
|
{
|
2026-08-08 01:29:43 +02:00
|
|
|
"version": "6.2",
|
2026-08-07 22:27:49 +02:00
|
|
|
"module": "production",
|
|
|
|
|
"files": [
|
|
|
|
|
{
|
2026-08-09 02:04:04 +02:00
|
|
|
"module": "production",
|
|
|
|
|
"file": "bom.py",
|
2026-08-07 22:27:49 +02:00
|
|
|
"class": "BOMInput",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 70,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "drop_constraint",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"production_bom_input"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 75,
|
|
|
|
|
"args": [
|
|
|
|
|
"'product_bom_uniq'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.drop_constraint('product_bom_uniq')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2026-08-08 22:32:31 +02:00
|
|
|
{
|
2026-08-09 02:04:04 +02:00
|
|
|
"module": "production",
|
|
|
|
|
"file": "configuration.py",
|
2026-08-08 22:32:31 +02:00
|
|
|
"class": "ConfigurationProductionSequence",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 45,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "backend.TableHandler",
|
|
|
|
|
"operation": "table_exist",
|
|
|
|
|
"tables": [
|
|
|
|
|
"production_configuration_production_sequence"
|
|
|
|
|
],
|
|
|
|
|
"line": 46,
|
|
|
|
|
"args": [
|
|
|
|
|
"cls._table"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "backend.TableHandler.table_exist(cls._table)",
|
|
|
|
|
"phase": "before_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2026-08-07 22:27:49 +02:00
|
|
|
{
|
2026-08-09 02:04:04 +02:00
|
|
|
"module": "production",
|
|
|
|
|
"file": "production.py",
|
2026-08-07 22:27:49 +02:00
|
|
|
"class": "Production",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 265,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "column_rename",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"production"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 271,
|
|
|
|
|
"args": [
|
|
|
|
|
"'code'",
|
|
|
|
|
"'number'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.column_rename('code', 'number')",
|
|
|
|
|
"phase": "before_super",
|
|
|
|
|
"condition": "table_h.column_exist('code')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"production"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 277,
|
|
|
|
|
"args": [
|
|
|
|
|
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.planned_start_date],\n [table.planned_date],\n where=(table.planned_start_date == Null)\n & (table.planned_date != Null)))",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "update",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"production"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 277,
|
|
|
|
|
"args": [
|
|
|
|
|
"[table.planned_start_date]",
|
|
|
|
|
"[table.planned_date]"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"where": "(table.planned_start_date == Null) & (table.planned_date != Null)"
|
|
|
|
|
},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "table.update(\n [table.planned_start_date],\n [table.planned_date],\n where=(table.planned_start_date == Null)\n & (table.planned_date != Null))",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"production"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 284,
|
|
|
|
|
"args": [
|
|
|
|
|
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.state], ['cancelled'],\n where=table.state == 'cancel'))",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "table",
|
|
|
|
|
"operation": "update",
|
2026-08-08 22:32:31 +02:00
|
|
|
"tables": [
|
|
|
|
|
"production"
|
|
|
|
|
],
|
2026-08-07 22:27:49 +02:00
|
|
|
"line": 284,
|
|
|
|
|
"args": [
|
|
|
|
|
"[table.state]",
|
|
|
|
|
"['cancelled']"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"where": "table.state == 'cancel'"
|
|
|
|
|
},
|
2026-08-09 00:47:23 +02:00
|
|
|
"code": "table.update(\n [table.state], ['cancelled'],\n where=table.state == 'cancel')",
|
2026-08-07 22:27:49 +02:00
|
|
|
"phase": "after_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|