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,202 @@
|
||||
{
|
||||
"version": "7.0",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user