Files

251 lines
7.2 KiB
JSON
Raw Permalink Normal View History

2026-08-07 22:27:49 +02:00
{
2026-08-08 01:29:43 +02:00
"version": "5.2",
2026-08-07 22:27:49 +02:00
"module": "party",
"files": [
{
"module": "party",
"file": "address.py",
2026-08-07 22:27:49 +02:00
"class": "Address",
"method": "__register__",
"line": 66,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
2026-08-07 22:27:49 +02:00
"line": 79,
"args": [
"*sql_table.update([sql_table.street], [value])"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.street],\n [value]))",
2026-08-07 22:27:49 +02:00
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
},
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
2026-08-07 22:27:49 +02:00
"line": 79,
"args": [
"[sql_table.street]",
"[value]"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "sql_table.update(\n [sql_table.street],\n [value])",
2026-08-07 22:27:49 +02:00
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
},
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
2026-08-07 22:27:49 +02:00
"line": 82,
"args": [
"'streetbis'"
],
"kwargs": {},
"code": "table.drop_column('streetbis')",
"phase": "after_super",
"condition": "table.column_exist('streetbis')"
}
]
},
{
"module": "party",
"file": "category.py",
2026-08-07 22:27:49 +02:00
"class": "Category",
"method": "__register__",
"line": 43,
"operations": [
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
2026-08-07 22:27:49 +02:00
"line": 49,
"args": [
"'name_parent_uniq'"
],
"kwargs": {},
"code": "table_h.drop_constraint('name_parent_uniq')",
"phase": "after_super"
}
]
},
{
"module": "party",
"file": "party.py",
2026-08-07 22:27:49 +02:00
"class": "Party",
"method": "__register__",
"line": 91,
"operations": [
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
2026-08-07 22:27:49 +02:00
"line": 97,
"args": [
"'name'",
"'remove'"
],
"kwargs": {},
"code": "table_h.not_null_action('name', 'remove')",
"phase": "after_super"
}
]
},
{
"module": "party",
"file": "party.py",
2026-08-07 22:27:49 +02:00
"class": "PartyLang",
"method": "__register__",
"line": 278,
"operations": [
{
"object": "table",
"operation": "insert",
"tables": [
"party_party_lang",
"party_party"
],
2026-08-07 22:27:49 +02:00
"line": 292,
"args": [
"[table.party, table.lang]",
"party.select(party.id, party.lang)"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "table.insert(\n [table.party, table.lang],\n party.select(party.id, party.lang))",
2026-08-07 22:27:49 +02:00
"phase": "after_super",
"condition": "party_h.column_exist('lang')"
},
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
2026-08-07 22:27:49 +02:00
"line": 294,
"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",
"tables": [],
2026-08-07 22:27:49 +02:00
"line": 295,
"args": [
"*query"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*(table.insert(\n [table.party, table.lang],\n party.select(party.id, party.lang))))",
2026-08-07 22:27:49 +02:00
"phase": "after_super",
"condition": "party_h.column_exist('lang')"
},
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
2026-08-07 22:27:49 +02:00
"line": 296,
"args": [
"'lang'"
],
"kwargs": {},
"code": "party_h.drop_column('lang')",
"phase": "after_super",
"condition": "party_h.column_exist('lang')"
}
]
},
{
"module": "party",
"file": "party.py",
2026-08-07 22:27:49 +02:00
"class": "PartyIdentifier",
"method": "__register__",
"line": 439,
"operations": [
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
2026-08-07 22:27:49 +02:00
"line": 451,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
],
"kwargs": {},
2026-08-09 00:47:23 +02:00
"code": "(Transaction().connection.cursor()).execute(*party.select(\n party.id, party.vat_number, party.vat_country,\n where=(party.vat_number != Null)\n | (party.vat_country != Null)))",
2026-08-07 22:27:49 +02:00
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
2026-08-07 22:27:49 +02:00
"line": 451,
"args": [
"party.id",
"party.vat_number",
"party.vat_country"
],
"kwargs": {
"where": "(party.vat_number != Null) | (party.vat_country != Null)"
},
2026-08-09 00:47:23 +02:00
"code": "party.select(\n party.id, party.vat_number, party.vat_country,\n where=(party.vat_number != Null)\n | (party.vat_country != Null))",
2026-08-07 22:27:49 +02:00
"phase": "after_super",
"condition": "party_h.column_exist('vat_number') and party_h.column_exist('vat_country')"
},
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
2026-08-07 22:27:49 +02:00
"line": 468,
"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",
"tables": [
"party_party"
],
2026-08-07 22:27:49 +02:00
"line": 469,
"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')"
}
]
}
]
}