2026-08-07 22:27:49 +02:00
|
|
|
{
|
2026-08-08 01:29:43 +02:00
|
|
|
"version": "5.6",
|
2026-08-07 22:27:49 +02:00
|
|
|
"module": "production",
|
|
|
|
|
"files": [
|
2026-08-08 22:32:31 +02:00
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/production/configuration.py",
|
|
|
|
|
"class": "ConfigurationProductionSequence",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 43,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "backend.TableHandler",
|
|
|
|
|
"operation": "table_exist",
|
|
|
|
|
"tables": [
|
|
|
|
|
"production_configuration_production_sequence"
|
|
|
|
|
],
|
|
|
|
|
"line": 44,
|
|
|
|
|
"args": [
|
|
|
|
|
"cls._table"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "backend.TableHandler.table_exist(cls._table)",
|
|
|
|
|
"phase": "before_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2026-08-07 22:27:49 +02:00
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/production/production.py",
|
|
|
|
|
"class": "Production",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 249,
|
|
|
|
|
"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": 255,
|
|
|
|
|
"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": 261,
|
|
|
|
|
"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": 261,
|
|
|
|
|
"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"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|