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
+103
View File
@@ -11,6 +11,9 @@
{
"object": "table",
"operation": "column_rename",
"tables": [
"party_address"
],
"line": 82,
"args": [
"'zip'",
@@ -23,6 +26,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_address"
],
"line": 93,
"args": [
"*sql_table.update([sql_table.street], [value])"
@@ -35,6 +41,9 @@
{
"object": "sql_table",
"operation": "update",
"tables": [
"party_address"
],
"line": 93,
"args": [
"[sql_table.street]",
@@ -48,6 +57,9 @@
{
"object": "table",
"operation": "drop_column",
"tables": [
"party_address"
],
"line": 96,
"args": [
"'streetbis'"
@@ -68,6 +80,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"country_country"
],
"line": 310,
"args": [
"[table.country_code]",
@@ -81,6 +97,9 @@
{
"object": "country",
"operation": "select",
"tables": [
"country_country"
],
"line": 312,
"args": [
"country.code"
@@ -95,6 +114,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 315,
"args": [
"*query"
@@ -107,6 +127,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 316,
"args": [
"'country'"
@@ -119,6 +142,10 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_address_format",
"ir_lang"
],
"line": 320,
"args": [
"[table.language_code]",
@@ -132,6 +159,9 @@
{
"object": "language",
"operation": "select",
"tables": [
"ir_lang"
],
"line": 322,
"args": [
"Substring(language.code, 0, 2)"
@@ -146,6 +176,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 325,
"args": [
"*query"
@@ -158,6 +189,9 @@
{
"object": "table_h",
"operation": "drop_column",
"tables": [
"party_address_format"
],
"line": 326,
"args": [
"'language'"
@@ -178,6 +212,9 @@
{
"object": "table_h",
"operation": "drop_constraint",
"tables": [
"party_category"
],
"line": 41,
"args": [
"'name_parent_uniq'"
@@ -188,6 +225,26 @@
}
]
},
{
"file": "/home/uha4/tmp/tryton/modules/party/configuration.py",
"class": "_ConfigurationValue",
"method": "__register__",
"line": 99,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [],
"line": 100,
"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",
@@ -197,6 +254,9 @@
{
"object": "table_h",
"operation": "not_null_action",
"tables": [
"party_party"
],
"line": 108,
"args": [
"'name'",
@@ -214,9 +274,27 @@
"method": "__register__",
"line": 356,
"operations": [
{
"object": "backend.TableHandler",
"operation": "table_exist",
"tables": [
"party_party_lang"
],
"line": 360,
"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": 369,
"args": [
"[table.party, table.lang]",
@@ -230,6 +308,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 371,
"args": [
"party.id",
@@ -243,6 +324,7 @@
{
"object": "cursor",
"operation": "execute",
"tables": [],
"line": 372,
"args": [
"*query"
@@ -255,6 +337,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 373,
"args": [
"'lang'"
@@ -275,6 +360,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_party"
],
"line": 649,
"args": [
"*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))"
@@ -287,6 +375,9 @@
{
"object": "party",
"operation": "select",
"tables": [
"party_party"
],
"line": 649,
"args": [
"party.id",
@@ -303,6 +394,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 666,
"args": [
"'vat_number'"
@@ -315,6 +409,9 @@
{
"object": "party_h",
"operation": "drop_column",
"tables": [
"party_party"
],
"line": 667,
"args": [
"'vat_country'"
@@ -327,6 +424,9 @@
{
"object": "cursor",
"operation": "execute",
"tables": [
"party_identifier"
],
"line": 670,
"args": [
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
@@ -338,6 +438,9 @@
{
"object": "table",
"operation": "update",
"tables": [
"party_identifier"
],
"line": 670,
"args": [
"[table.type]",