Public Access
114 lines
3.3 KiB
JSON
114 lines
3.3 KiB
JSON
{
|
|
"version": "5.8",
|
|
"module": "production",
|
|
"files": [
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"file": "/home/uha4/tmp/tryton/modules/production/production.py",
|
|
"class": "Production",
|
|
"method": "__register__",
|
|
"line": 254,
|
|
"operations": [
|
|
{
|
|
"object": "table_h",
|
|
"operation": "column_rename",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 260,
|
|
"args": [
|
|
"'code'",
|
|
"'number'"
|
|
],
|
|
"kwargs": {},
|
|
"code": "table_h.column_rename('code', 'number')",
|
|
"phase": "before_super",
|
|
"condition": "table_h.column_exist('code')"
|
|
},
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 266,
|
|
"args": [
|
|
"*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))"
|
|
],
|
|
"kwargs": {},
|
|
"code": "cursor.execute(*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null)))",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 266,
|
|
"args": [
|
|
"[table.planned_start_date]",
|
|
"[table.planned_date]"
|
|
],
|
|
"kwargs": {
|
|
"where": "(table.planned_start_date == Null) & (table.planned_date != Null)"
|
|
},
|
|
"code": "table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "cursor",
|
|
"operation": "execute",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 273,
|
|
"args": [
|
|
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
|
|
],
|
|
"kwargs": {},
|
|
"code": "cursor.execute(*table.update([table.state], ['cancelled'], where=table.state == 'cancel'))",
|
|
"phase": "after_super"
|
|
},
|
|
{
|
|
"object": "table",
|
|
"operation": "update",
|
|
"tables": [
|
|
"production"
|
|
],
|
|
"line": 273,
|
|
"args": [
|
|
"[table.state]",
|
|
"['cancelled']"
|
|
],
|
|
"kwargs": {
|
|
"where": "table.state == 'cancel'"
|
|
},
|
|
"code": "table.update([table.state], ['cancelled'], where=table.state == 'cancel')",
|
|
"phase": "after_super"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |