now included shellscript and results

This commit is contained in:
2026-08-07 22:27:49 +02:00
parent d743f4acad
commit 1f1f6cf097
192 changed files with 11341 additions and 0 deletions
+106
View File
@@ -0,0 +1,106 @@
{
"version": "7.0.55",
"module": "company",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/company/res.py",
"class": "User",
"method": "__register__",
"line": 116,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 130,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
],
"kwargs": {},
"code": "cursor.execute(*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)))",
"phase": "after_super",
"condition": "table_h.column_exist('main_company')"
},
{
"object": "user_company",
"operation": "insert",
"line": 130,
"args": [
"[user_company.user, user_company.company]",
"table.select(table.id, table.main_company, where=table.main_company != Null)"
],
"kwargs": {},
"code": "user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))",
"phase": "after_super",
"condition": "table_h.column_exist('main_company')"
},
{
"object": "table",
"operation": "select",
"line": 132,
"args": [
"table.id",
"table.main_company"
],
"kwargs": {
"where": "table.main_company != Null"
},
"code": "table.select(table.id, table.main_company, where=table.main_company != Null)",
"phase": "after_super",
"condition": "table_h.column_exist('main_company')"
},
{
"object": "cursor",
"operation": "execute",
"line": 135,
"args": [
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))"
],
"kwargs": {},
"code": "cursor.execute(*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))))",
"phase": "after_super",
"condition": "table_h.column_exist('main_company')"
},
{
"object": "user_company",
"operation": "insert",
"line": 135,
"args": [
"[user_company.user, user_company.company]",
"table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))"
],
"kwargs": {},
"code": "user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))",
"phase": "after_super",
"condition": "table_h.column_exist('main_company')"
},
{
"object": "table",
"operation": "select",
"line": 137,
"args": [
"table.id",
"table.company"
],
"kwargs": {
"where": "(table.company != Null) & (table.company != table.main_company)"
},
"code": "table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))",
"phase": "after_super",
"condition": "table_h.column_exist('main_company')"
},
{
"object": "table_h",
"operation": "drop_column",
"line": 141,
"args": [
"'main_company'"
],
"kwargs": {},
"code": "table_h.drop_column('main_company')",
"phase": "after_super",
"condition": "table_h.column_exist('main_company')"
}
]
}
]
}
+112
View File
@@ -0,0 +1,112 @@
{
"version": "7.0.55",
"module": "country",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
"class": "Country",
"method": "__register__",
"line": 178,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 187,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
],
"kwargs": {},
"code": "cursor.execute(*data.delete(where=(data.module == 'country') & (data.model == cls.__name__)))",
"phase": "after_super"
},
{
"object": "data",
"operation": "delete",
"line": 187,
"args": [],
"kwargs": {
"where": "(data.module == 'country') & (data.model == cls.__name__)"
},
"code": "data.delete(where=(data.module == 'country') & (data.model == cls.__name__))",
"phase": "after_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
"class": "Subdivision",
"method": "__register__",
"line": 424,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 435,
"args": [
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
],
"kwargs": {},
"code": "cursor.execute(*data.delete(where=(data.module == 'country') & (data.model == cls.__name__)))",
"phase": "after_super"
},
{
"object": "data",
"operation": "delete",
"line": 435,
"args": [],
"kwargs": {
"where": "(data.module == 'country') & (data.model == cls.__name__)"
},
"code": "data.delete(where=(data.module == 'country') & (data.model == cls.__name__))",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
"line": 439,
"args": [
"'type'"
],
"kwargs": {
"action": "'remove'"
},
"code": "table_h.not_null_action('type', action='remove')",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
"line": 442,
"args": [
"'code'"
],
"kwargs": {
"action": "'remove'"
},
"code": "table_h.not_null_action('code', action='remove')",
"phase": "after_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
"class": "PostalCode",
"method": "__register__",
"line": 507,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"line": 511,
"args": [
"'zip'",
"'postal_code'"
],
"kwargs": {},
"code": "table_h.column_rename('zip', 'postal_code')",
"phase": "before_super"
}
]
}
]
}
+48
View File
@@ -0,0 +1,48 @@
{
"version": "7.0.55",
"module": "currency",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/currency/currency.py",
"class": "Currency",
"method": "__register__",
"line": 72,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 83,
"args": [
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
],
"kwargs": {},
"code": "cursor.execute(*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__)))",
"phase": "after_super"
},
{
"object": "data",
"operation": "delete",
"line": 83,
"args": [],
"kwargs": {
"where": "(data.module == 'currency') & (data.model == cls.__name__)"
},
"code": "data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))",
"phase": "after_super"
},
{
"object": "table_h",
"operation": "not_null_action",
"line": 87,
"args": [
"'symbol'",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action('symbol', 'remove')",
"phase": "after_super"
}
]
}
]
}
+202
View File
@@ -0,0 +1,202 @@
{
"version": "7.0.55",
"module": "party",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
"class": "Address",
"method": "__register__",
"line": 84,
"operations": [
{
"object": "table",
"operation": "column_rename",
"line": 88,
"args": [
"'zip'",
"'postal_code'"
],
"kwargs": {},
"code": "table.column_rename('zip', 'postal_code')",
"phase": "before_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
"class": "AddressFormat",
"method": "__register__",
"line": 303,
"operations": [
{
"object": "table",
"operation": "update",
"line": 318,
"args": [
"[table.country_code]",
"country.select(country.code, where=country.id == table.country)"
],
"kwargs": {},
"code": "table.update([table.country_code], country.select(country.code, where=country.id == table.country))",
"phase": "after_super",
"condition": "table_h.column_exist('country')"
},
{
"object": "country",
"operation": "select",
"line": 320,
"args": [
"country.code"
],
"kwargs": {
"where": "country.id == table.country"
},
"code": "country.select(country.code, where=country.id == table.country)",
"phase": "after_super",
"condition": "table_h.column_exist('country')"
},
{
"object": "cursor",
"operation": "execute",
"line": 323,
"args": [
"*query"
],
"kwargs": {},
"code": "cursor.execute(*query)",
"phase": "after_super",
"condition": "table_h.column_exist('country')"
},
{
"object": "table_h",
"operation": "drop_column",
"line": 324,
"args": [
"'country'"
],
"kwargs": {},
"code": "table_h.drop_column('country')",
"phase": "after_super",
"condition": "table_h.column_exist('country')"
},
{
"object": "table",
"operation": "update",
"line": 328,
"args": [
"[table.language_code]",
"language.select(Substring(language.code, 0, 2), where=language.id == table.language)"
],
"kwargs": {},
"code": "table.update([table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language))",
"phase": "after_super",
"condition": "table_h.column_exist('language')"
},
{
"object": "language",
"operation": "select",
"line": 330,
"args": [
"Substring(language.code, 0, 2)"
],
"kwargs": {
"where": "language.id == table.language"
},
"code": "language.select(Substring(language.code, 0, 2), where=language.id == table.language)",
"phase": "after_super",
"condition": "table_h.column_exist('language')"
},
{
"object": "cursor",
"operation": "execute",
"line": 333,
"args": [
"*query"
],
"kwargs": {},
"code": "cursor.execute(*query)",
"phase": "after_super",
"condition": "table_h.column_exist('language')"
},
{
"object": "table_h",
"operation": "drop_column",
"line": 334,
"args": [
"'language'"
],
"kwargs": {},
"code": "table_h.drop_column('language')",
"phase": "after_super",
"condition": "table_h.column_exist('language')"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
"class": "Configuration",
"method": "__register__",
"line": 34,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 45,
"args": [
"*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])"
],
"kwargs": {},
"code": "cursor.execute(*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]))",
"phase": "after_super",
"condition": "configuration.identifier_types != identifier_types"
},
{
"object": "table",
"operation": "update",
"line": 45,
"args": [
"[table.identifier_types]",
"[cls.identifier_types.sql_format(identifier_types)]"
],
"kwargs": {},
"code": "table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])",
"phase": "after_super",
"condition": "configuration.identifier_types != identifier_types"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
"class": "Identifier",
"method": "__register__",
"line": 780,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 787,
"args": [
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
],
"kwargs": {},
"code": "cursor.execute(*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit'))",
"phase": "after_super"
},
{
"object": "table",
"operation": "update",
"line": 787,
"args": [
"[table.type]",
"['cn_ric']"
],
"kwargs": {
"where": "table.type == 'cn_rit'"
},
"code": "table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')",
"phase": "after_super"
}
]
}
]
}
+39
View File
@@ -0,0 +1,39 @@
{
"version": "7.0.55",
"module": "product",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "Product",
"method": "__register__",
"line": 494,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 505,
"args": [
"*table.update([table.suffix_code], [table.code])"
],
"kwargs": {},
"code": "cursor.execute(*table.update([table.suffix_code], [table.code]))",
"phase": "after_super",
"condition": "fill_suffix_code"
},
{
"object": "table",
"operation": "update",
"line": 505,
"args": [
"[table.suffix_code]",
"[table.code]"
],
"kwargs": {},
"code": "table.update([table.suffix_code], [table.code])",
"phase": "after_super",
"condition": "fill_suffix_code"
}
]
}
]
}
+5
View File
@@ -0,0 +1,5 @@
{
"version": "7.0.55",
"module": "product_measurements",
"files": []
}
+84
View File
@@ -0,0 +1,84 @@
{
"version": "7.0.55",
"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"
}
]
}
]
}
+5
View File
@@ -0,0 +1,5 @@
{
"version": "7.0.55",
"module": "production_split",
"files": []
}
+40
View File
@@ -0,0 +1,40 @@
{
"version": "7.0.55",
"module": "stock_lot",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/stock_lot/product.py",
"class": "Template",
"method": "__register__",
"line": 63,
"operations": [
{
"object": "cursor_select",
"operation": "execute",
"line": 85,
"args": [
"*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)"
],
"kwargs": {},
"code": "cursor_select.execute(*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template))",
"phase": "after_super",
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
},
{
"object": "template_lot_type",
"operation": "select",
"line": 85,
"args": [
"template_lot_type.template"
],
"kwargs": {
"distinct_on": "template_lot_type.template"
},
"code": "template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)",
"phase": "after_super",
"condition": "table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)"
}
]
}
]
}
+5
View File
@@ -0,0 +1,5 @@
{
"version": "7.0.55",
"module": "stock_lot_sled",
"files": []
}
+26
View File
@@ -0,0 +1,26 @@
{
"version": "7.0.55",
"module": "stock_product_location",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/stock_product_location/location.py",
"class": "ProductLocation",
"method": "__register__",
"line": 41,
"operations": [
{
"object": "table",
"operation": "not_null_action",
"line": 47,
"args": [
"'product'",
"'remove'"
],
"kwargs": {},
"code": "table.not_null_action('product', 'remove')",
"phase": "after_super"
}
]
}
]
}
+5
View File
@@ -0,0 +1,5 @@
{
"version": "7.0.55",
"module": "stock_split",
"files": []
}