Public Access
several small fixes:
- systemmodule ir und res aufgenommen - Version auf Major.Minor reduziert - reihenfolge der Module fixiert
This commit is contained in:
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"version": "7.0",
|
||||
"module": "production",
|
||||
"files": [
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/production/bom.py",
|
||||
"class": "BOMInput",
|
||||
"method": "__register__",
|
||||
"line": 72,
|
||||
"operations": [
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"line": 78,
|
||||
"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": 84,
|
||||
"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": 264,
|
||||
"operations": [
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"line": 270,
|
||||
"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": "cursor",
|
||||
"operation": "execute",
|
||||
"line": 278,
|
||||
"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": 278,
|
||||
"args": [
|
||||
"[table.state]",
|
||||
"['cancelled']"
|
||||
],
|
||||
"kwargs": {
|
||||
"where": "table.state == 'cancel'"
|
||||
},
|
||||
"code": "table.update([table.state], ['cancelled'], where=table.state == 'cancel')",
|
||||
"phase": "after_super"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user