Files
tryton-db-migration/data/7.6/production.json
T
uha4 64fda357ad several small fixes:
- systemmodule ir und res aufgenommen
- Version auf Major.Minor reduziert
- reihenfolge der Module fixiert
2026-08-08 01:29:43 +02:00

92 lines
2.6 KiB
JSON

{
"version": "7.6",
"module": "production",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/production/bom.py",
"class": "BOMInput",
"method": "__register__",
"line": 142,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"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",
"line": 154,
"args": [
"'product_bom_uniq'"
],
"kwargs": {},
"code": "table_h.drop_constraint('product_bom_uniq')",
"phase": "after_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/production/ir.py",
"class": "Cron",
"method": "__register__",
"line": 19,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 26,
"args": [
"*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')"
],
"kwargs": {},
"code": "cursor.execute(*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron'))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"line": 26,
"args": [
"[table.method]",
"['ir.cron|stock_shipment_assign_try']"
],
"kwargs": {
"where": "table.method == 'production|assign_cron'"
},
"code": "table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')",
"phase": "after_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/production/production.py",
"class": "Production",
"method": "__register__",
"line": 267,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"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'))"
}
]
}
]
}