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
+5
View File
@@ -0,0 +1,5 @@
{
"version": "5.8.16",
"module": "company",
"files": []
}
+100
View File
@@ -0,0 +1,100 @@
{
"version": "5.8.16",
"module": "country",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/country/country.py",
"class": "Country",
"method": "__register__",
"line": 30,
"operations": [
{
"object": "table",
"operation": "drop_constraint",
"line": 41,
"args": [
"'name_uniq'"
],
"kwargs": {},
"code": "table.drop_constraint('name_uniq')",
"phase": "after_super"
},
{
"object": "table",
"operation": "drop_constraint",
"line": 42,
"args": [
"'code_uniq'"
],
"kwargs": {},
"code": "table.drop_constraint('code_uniq')",
"phase": "after_super"
},
{
"object": "table",
"operation": "not_null_action",
"line": 45,
"args": [
"'code'",
"'remove'"
],
"kwargs": {},
"code": "table.not_null_action('code', 'remove')",
"phase": "after_super"
},
{
"object": "cursor",
"operation": "execute",
"line": 48,
"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": 48,
"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": 214,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 223,
"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": 223,
"args": [],
"kwargs": {
"where": "(data.module == 'country') & (data.model == cls.__name__)"
},
"code": "data.delete(where=(data.module == 'country') & (data.model == cls.__name__))",
"phase": "after_super"
}
]
}
]
}
+36
View File
@@ -0,0 +1,36 @@
{
"version": "5.8.16",
"module": "currency",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/currency/currency.py",
"class": "Currency",
"method": "__register__",
"line": 51,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 68,
"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": 68,
"args": [],
"kwargs": {
"where": "(data.module == 'currency') & (data.model == cls.__name__)"
},
"code": "data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))",
"phase": "after_super"
}
]
}
]
}
+318
View File
@@ -0,0 +1,318 @@
{
"version": "5.8.16",
"module": "party",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
"class": "Address",
"method": "__register__",
"line": 67,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 80,
"args": [
"*sql_table.update([sql_table.street], [value])"
],
"kwargs": {},
"code": "cursor.execute(*sql_table.update([sql_table.street], [value]))",
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
},
{
"object": "sql_table",
"operation": "update",
"line": 80,
"args": [
"[sql_table.street]",
"[value]"
],
"kwargs": {},
"code": "sql_table.update([sql_table.street], [value])",
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
},
{
"object": "table",
"operation": "drop_column",
"line": 83,
"args": [
"'streetbis'"
],
"kwargs": {},
"code": "table.drop_column('streetbis')",
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/address.py",
"class": "AddressFormat",
"method": "__register__",
"line": 265,
"operations": [
{
"object": "table",
"operation": "update",
"line": 280,
"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": 282,
"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": 285,
"args": [
"*query"
],
"kwargs": {},
"code": "cursor.execute(*query)",
"phase": "after_super",
"condition": "table_h.column_exist('country')"
},
{
"object": "table_h",
"operation": "drop_column",
"line": 286,
"args": [
"'country'"
],
"kwargs": {},
"code": "table_h.drop_column('country')",
"phase": "after_super",
"condition": "table_h.column_exist('country')"
},
{
"object": "table",
"operation": "update",
"line": 290,
"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": 292,
"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": 295,
"args": [
"*query"
],
"kwargs": {},
"code": "cursor.execute(*query)",
"phase": "after_super",
"condition": "table_h.column_exist('language')"
},
{
"object": "table_h",
"operation": "drop_column",
"line": 296,
"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/category.py",
"class": "Category",
"method": "__register__",
"line": 35,
"operations": [
{
"object": "table_h",
"operation": "drop_constraint",
"line": 41,
"args": [
"'name_parent_uniq'"
],
"kwargs": {},
"code": "table_h.drop_constraint('name_parent_uniq')",
"phase": "after_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
"class": "Party",
"method": "__register__",
"line": 81,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"line": 87,
"args": [
"'name'",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action('name', 'remove')",
"phase": "after_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
"class": "PartyLang",
"method": "__register__",
"line": 270,
"operations": [
{
"object": "table",
"operation": "insert",
"line": 283,
"args": [
"[table.party, table.lang]",
"party.select(party.id, party.lang)"
],
"kwargs": {},
"code": "table.insert([table.party, table.lang], party.select(party.id, party.lang))",
"phase": "after_super",
"condition": "party_h.column_exist('lang')"
},
{
"object": "party",
"operation": "select",
"line": 285,
"args": [
"party.id",
"party.lang"
],
"kwargs": {},
"code": "party.select(party.id, party.lang)",
"phase": "after_super",
"condition": "party_h.column_exist('lang')"
},
{
"object": "cursor",
"operation": "execute",
"line": 286,
"args": [
"*query"
],
"kwargs": {},
"code": "cursor.execute(*query)",
"phase": "after_super",
"condition": "party_h.column_exist('lang')"
},
{
"object": "party_h",
"operation": "drop_column",
"line": 287,
"args": [
"'lang'"
],
"kwargs": {},
"code": "party_h.drop_column('lang')",
"phase": "after_super",
"condition": "party_h.column_exist('lang')"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
"class": "Identifier",
"method": "__register__",
"line": 445,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 457,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
],
"kwargs": {},
"code": "cursor.execute(*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null)))",
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "party",
"operation": "select",
"line": 457,
"args": [
"party.id",
"party.vat_number",
"party.vat_country"
],
"kwargs": {
"where": "(party.vat_number != Null) | (party.vat_country != Null)"
},
"code": "party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))",
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "party_h",
"operation": "drop_column",
"line": 474,
"args": [
"'vat_number'"
],
"kwargs": {},
"code": "party_h.drop_column('vat_number')",
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "party_h",
"operation": "drop_column",
"line": 475,
"args": [
"'vat_country'"
],
"kwargs": {},
"code": "party_h.drop_column('vat_country')",
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
}
]
}
]
}
+180
View File
@@ -0,0 +1,180 @@
{
"version": "5.8.16",
"module": "product",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "Product",
"method": "__register__",
"line": 401,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 412,
"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": 412,
"args": [
"[table.suffix_code]",
"[table.code]"
],
"kwargs": {},
"code": "table.update([table.suffix_code], [table.code])",
"phase": "after_super",
"condition": "fill_suffix_code"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "ProductCostPriceMethod",
"method": "__register__",
"line": 622,
"operations": [
{
"object": "cursor",
"operation": "execute",
"line": 645,
"args": [
"*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))"
],
"kwargs": {},
"code": "cursor.execute(*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns])))",
"phase": "after_super",
"condition": "cost_price_table.column_exist('template')"
},
{
"object": "sql_table",
"operation": "insert",
"line": 645,
"args": [],
"kwargs": {
"columns": "[Column(sql_table, c) for c in columns]",
"values": "cost_price.select(*[Column(cost_price, c) for c in columns])"
},
"code": "sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))",
"phase": "after_super",
"condition": "cost_price_table.column_exist('template')"
},
{
"object": "cost_price",
"operation": "select",
"line": 647,
"args": [
"*[Column(cost_price, c) for c in columns]"
],
"kwargs": {},
"code": "cost_price.select(*[Column(cost_price, c) for c in columns])",
"phase": "after_super",
"condition": "cost_price_table.column_exist('template')"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
"class": "ProductCostPrice",
"method": "__register__",
"line": 678,
"operations": [
{
"object": "table",
"operation": "add_column",
"line": 692,
"args": [
"'template'",
"'INTEGER'"
],
"kwargs": {},
"code": "table.add_column('template', 'INTEGER')",
"phase": "after_super",
"condition": "not exist"
},
{
"object": "cursor",
"operation": "execute",
"line": 699,
"args": [
"*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))"
],
"kwargs": {},
"code": "cursor.execute(*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))))",
"phase": "after_super",
"condition": "table.column_exist('template')"
},
{
"object": "sql_table",
"operation": "insert",
"line": 699,
"args": [],
"kwargs": {
"columns": "[Column(sql_table, c) for c in columns] + [sql_table.product]",
"values": "sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))"
},
"code": "sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))",
"phase": "after_super",
"condition": "table.column_exist('template')"
},
{
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
"operation": "select",
"line": 702,
"args": [
"*[Column(sql_table, c) for c in columns] + [product.id]"
],
"kwargs": {
"where": "(sql_table.template != Null) & (sql_table.product == Null)"
},
"code": "sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))",
"phase": "after_super",
"condition": "table.column_exist('template')"
},
{
"object": "cursor",
"operation": "execute",
"line": 709,
"args": [
"*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))"
],
"kwargs": {},
"code": "cursor.execute(*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null)))",
"phase": "after_super",
"condition": "table.column_exist('template')"
},
{
"object": "sql_table",
"operation": "delete",
"line": 709,
"args": [],
"kwargs": {
"where": "(sql_table.template != Null) & (sql_table.product == Null)"
},
"code": "sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))",
"phase": "after_super",
"condition": "table.column_exist('template')"
},
{
"object": "table",
"operation": "drop_column",
"line": 712,
"args": [
"'template'"
],
"kwargs": {},
"code": "table.drop_column('template')",
"phase": "after_super",
"condition": "table.column_exist('template')"
}
]
}
]
}
+5
View File
@@ -0,0 +1,5 @@
{
"version": "5.8.16",
"module": "product_measurements",
"files": []
}
+77
View File
@@ -0,0 +1,77 @@
{
"version": "5.8.16",
"module": "production",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/production/production.py",
"class": "Production",
"method": "__register__",
"line": 254,
"operations": [
{
"object": "table_h",
"operation": "column_rename",
"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",
"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",
"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",
"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",
"line": 273,
"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": "5.8.16",
"module": "production_split",
"files": []
}
+40
View File
@@ -0,0 +1,40 @@
{
"version": "5.8.16",
"module": "stock_lot",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/stock_lot/product.py",
"class": "Template",
"method": "__register__",
"line": 29,
"operations": [
{
"object": "cursor_select",
"operation": "execute",
"line": 51,
"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": 51,
"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": "5.8.16",
"module": "stock_lot_sled",
"files": []
}
+26
View File
@@ -0,0 +1,26 @@
{
"version": "5.8.16",
"module": "stock_product_location",
"files": [
{
"file": "/home/uha4/tmp/tryton/modules/stock_product_location/location.py",
"class": "ProductLocation",
"method": "__register__",
"line": 43,
"operations": [
{
"object": "table",
"operation": "not_null_action",
"line": 49,
"args": [
"'product'",
"'remove'"
],
"kwargs": {},
"code": "table.not_null_action('product', 'remove')",
"phase": "after_super"
}
]
}
]
}
+5
View File
@@ -0,0 +1,5 @@
{
"version": "5.8.16",
"module": "stock_split",
"files": []
}