Public Access
extract gets and saves most tables worked on
some cases still need some work...
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 91,
|
||||
"args": [
|
||||
"'zip'",
|
||||
@@ -23,6 +26,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 102,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.street], [value])"
|
||||
@@ -35,6 +41,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 102,
|
||||
"args": [
|
||||
"[sql_table.street]",
|
||||
@@ -48,6 +57,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 105,
|
||||
"args": [
|
||||
"'streetbis'"
|
||||
@@ -68,6 +80,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_address_format",
|
||||
"country_country"
|
||||
],
|
||||
"line": 327,
|
||||
"args": [
|
||||
"[table.country_code]",
|
||||
@@ -81,6 +97,9 @@
|
||||
{
|
||||
"object": "country",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"country_country"
|
||||
],
|
||||
"line": 329,
|
||||
"args": [
|
||||
"country.code"
|
||||
@@ -95,6 +114,7 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 332,
|
||||
"args": [
|
||||
"*query"
|
||||
@@ -107,6 +127,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_address_format"
|
||||
],
|
||||
"line": 333,
|
||||
"args": [
|
||||
"'country'"
|
||||
@@ -119,6 +142,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_address_format",
|
||||
"ir_lang"
|
||||
],
|
||||
"line": 337,
|
||||
"args": [
|
||||
"[table.language_code]",
|
||||
@@ -132,6 +159,9 @@
|
||||
{
|
||||
"object": "language",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_lang"
|
||||
],
|
||||
"line": 339,
|
||||
"args": [
|
||||
"Substring(language.code, 0, 2)"
|
||||
@@ -146,6 +176,7 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 342,
|
||||
"args": [
|
||||
"*query"
|
||||
@@ -158,6 +189,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_address_format"
|
||||
],
|
||||
"line": 343,
|
||||
"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": 116,
|
||||
"args": [
|
||||
"'name'",
|
||||
@@ -214,9 +274,27 @@
|
||||
"method": "__register__",
|
||||
"line": 345,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"party_party_lang"
|
||||
],
|
||||
"line": 349,
|
||||
"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": 358,
|
||||
"args": [
|
||||
"[table.party, table.lang]",
|
||||
@@ -230,6 +308,9 @@
|
||||
{
|
||||
"object": "party",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 360,
|
||||
"args": [
|
||||
"party.id",
|
||||
@@ -243,6 +324,7 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 361,
|
||||
"args": [
|
||||
"*query"
|
||||
@@ -255,6 +337,9 @@
|
||||
{
|
||||
"object": "party_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 362,
|
||||
"args": [
|
||||
"'lang'"
|
||||
@@ -275,6 +360,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 638,
|
||||
"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": 638,
|
||||
"args": [
|
||||
"party.id",
|
||||
@@ -303,6 +394,9 @@
|
||||
{
|
||||
"object": "party_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 655,
|
||||
"args": [
|
||||
"'vat_number'"
|
||||
@@ -315,6 +409,9 @@
|
||||
{
|
||||
"object": "party_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_party"
|
||||
],
|
||||
"line": 656,
|
||||
"args": [
|
||||
"'vat_country'"
|
||||
@@ -327,6 +424,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 659,
|
||||
"args": [
|
||||
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
|
||||
@@ -338,6 +438,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 659,
|
||||
"args": [
|
||||
"[table.type]",
|
||||
|
||||
Reference in New Issue
Block a user