extract gets and saves most tables worked on

some cases still need some work...
This commit is contained in:
2026-08-08 22:32:31 +02:00
parent f14f709649
commit 24caf23986
151 changed files with 7017 additions and 1215 deletions
+94
View File
@@ -11,6 +11,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 80,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -23,6 +26,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 80,
"args": [
"[sql_table.street]",
@@ -36,6 +42,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 83,
"args": [
"'streetbis'"
@@ -56,6 +65,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"country_country"
],
"line": 280,
"args": [
"[table.country_code]",
@@ -69,6 +82,9 @@
{
"object": "country",
"operation": "select",
"tables": [
"country_country"
],
"line": 282,
"args": [
"country.code"
@@ -83,6 +99,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 285,
"args": [
"*query"
@@ -95,6 +112,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 286,
"args": [
"'country'"
@@ -107,6 +127,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"ir_lang"
],
"line": 290,
"args": [
"[table.language_code]",
@@ -120,6 +144,9 @@
{
"object": "language",
"operation": "select",
"tables": [
"ir_lang"
],
"line": 292,
"args": [
"Substring(language.code, 0, 2)"
@@ -134,6 +161,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 295,
"args": [
"*query"
@@ -146,6 +174,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 296,
"args": [
"'language'"
@@ -166,6 +197,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 41,
"args": [
"'name_parent_uniq'"
@@ -176,6 +210,26 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
"class": "_ConfigurationValue",
"method": "__register__",
"line": 40,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 41,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/party.py",
"class": "Party",
@@ -185,6 +239,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 87,
"args": [
"'name'",
@@ -202,9 +259,27 @@
"method": "__register__",
"line": 268,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 272,
"args": [
"cls._table"
],
"kwargs": {},
"code": "backend.TableHandler.table_exist(cls._table)",
"phase": "before_super"
},
{
"object": "table",
"operation": "insert",
"tables": [
"party_party_lang",
"party_party"
],
"line": 281,
"args": [
"[table.party, table.lang]",
@@ -218,6 +293,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 283,
"args": [
"party.id",
@@ -231,6 +309,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 284,
"args": [
"*query"
@@ -243,6 +322,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 285,
"args": [
"'lang'"
@@ -263,6 +345,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 440,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -275,6 +360,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 440,
"args": [
"party.id",
@@ -291,6 +379,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 457,
"args": [
"'vat_number'"
@@ -303,6 +394,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 458,
"args": [
"'vat_country'"