2026-08-07 22:27:49 +02:00
|
|
|
{
|
2026-08-08 01:29:43 +02:00
|
|
|
"version": "6.8",
|
2026-08-07 22:27:49 +02:00
|
|
|
"module": "production",
|
|
|
|
|
"files": [
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/production/bom.py",
|
|
|
|
|
"class": "BOMInput",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 70,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "drop_constraint",
|
|
|
|
|
"line": 75,
|
|
|
|
|
"args": [
|
|
|
|
|
"'product_bom_uniq'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.drop_constraint('product_bom_uniq')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"file": "/home/uha4/tmp/tryton/modules/production/production.py",
|
|
|
|
|
"class": "Production",
|
|
|
|
|
"method": "__register__",
|
|
|
|
|
"line": 263,
|
|
|
|
|
"operations": [
|
|
|
|
|
{
|
|
|
|
|
"object": "table_h",
|
|
|
|
|
"operation": "column_rename",
|
|
|
|
|
"line": 269,
|
|
|
|
|
"args": [
|
|
|
|
|
"'code'",
|
|
|
|
|
"'number'"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {},
|
|
|
|
|
"code": "table_h.column_rename('code', 'number')",
|
|
|
|
|
"phase": "before_super",
|
|
|
|
|
"condition": "table_h.column_exist('code')"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"object": "cursor",
|
|
|
|
|
"operation": "execute",
|
|
|
|
|
"line": 275,
|
|
|
|
|
"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",
|
|
|
|
|
"line": 275,
|
|
|
|
|
"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",
|
|
|
|
|
"line": 282,
|
|
|
|
|
"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",
|
|
|
|
|
"line": 282,
|
|
|
|
|
"args": [
|
|
|
|
|
"[table.state]",
|
|
|
|
|
"['cancelled']"
|
|
|
|
|
],
|
|
|
|
|
"kwargs": {
|
|
|
|
|
"where": "table.state == 'cancel'"
|
|
|
|
|
},
|
|
|
|
|
"code": "table.update([table.state], ['cancelled'], where=table.state == 'cancel')",
|
|
|
|
|
"phase": "after_super"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|