Public Access
extract gets and saves most tables worked on
some cases still need some work...
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"res_user-company_company",
|
||||
"res_user"
|
||||
],
|
||||
"line": 130,
|
||||
"args": [
|
||||
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))"
|
||||
@@ -23,6 +27,10 @@
|
||||
{
|
||||
"object": "user_company",
|
||||
"operation": "insert",
|
||||
"tables": [
|
||||
"res_user-company_company",
|
||||
"res_user"
|
||||
],
|
||||
"line": 130,
|
||||
"args": [
|
||||
"[user_company.user, user_company.company]",
|
||||
@@ -36,6 +44,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 132,
|
||||
"args": [
|
||||
"table.id",
|
||||
@@ -51,6 +62,10 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"res_user-company_company",
|
||||
"res_user"
|
||||
],
|
||||
"line": 135,
|
||||
"args": [
|
||||
"*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company)))"
|
||||
@@ -63,6 +78,10 @@
|
||||
{
|
||||
"object": "user_company",
|
||||
"operation": "insert",
|
||||
"tables": [
|
||||
"res_user-company_company",
|
||||
"res_user"
|
||||
],
|
||||
"line": 135,
|
||||
"args": [
|
||||
"[user_company.user, user_company.company]",
|
||||
@@ -76,6 +95,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 137,
|
||||
"args": [
|
||||
"table.id",
|
||||
@@ -91,6 +113,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"res_user"
|
||||
],
|
||||
"line": 141,
|
||||
"args": [
|
||||
"'main_company'"
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 187,
|
||||
"args": [
|
||||
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
|
||||
@@ -22,6 +25,9 @@
|
||||
{
|
||||
"object": "data",
|
||||
"operation": "delete",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 187,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -41,6 +47,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 435,
|
||||
"args": [
|
||||
"*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))"
|
||||
@@ -52,6 +61,9 @@
|
||||
{
|
||||
"object": "data",
|
||||
"operation": "delete",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 435,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -63,6 +75,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"country_subdivision"
|
||||
],
|
||||
"line": 439,
|
||||
"args": [
|
||||
"'type'"
|
||||
@@ -76,6 +91,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"country_subdivision"
|
||||
],
|
||||
"line": 442,
|
||||
"args": [
|
||||
"'code'"
|
||||
@@ -94,9 +112,28 @@
|
||||
"method": "__register__",
|
||||
"line": 507,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_rename",
|
||||
"tables": [
|
||||
"country_zip",
|
||||
"country_postal_code"
|
||||
],
|
||||
"line": 509,
|
||||
"args": [
|
||||
"'country_zip'",
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_rename('country_zip', cls._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"country_postal_code"
|
||||
],
|
||||
"line": 511,
|
||||
"args": [
|
||||
"'zip'",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 83,
|
||||
"args": [
|
||||
"*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))"
|
||||
@@ -22,6 +25,9 @@
|
||||
{
|
||||
"object": "data",
|
||||
"operation": "delete",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 83,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -33,6 +39,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"currency_currency"
|
||||
],
|
||||
"line": 87,
|
||||
"args": [
|
||||
"'symbol'",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window_view"
|
||||
],
|
||||
"line": 958,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -31,6 +34,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_action_act_window_domain"
|
||||
],
|
||||
"line": 1007,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -51,6 +57,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_cron"
|
||||
],
|
||||
"line": 103,
|
||||
"args": [
|
||||
"'next_call'",
|
||||
@@ -71,6 +80,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_export"
|
||||
],
|
||||
"line": 67,
|
||||
"args": [
|
||||
"*table.update([table.user], [table.create_uid])"
|
||||
@@ -83,6 +95,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_export"
|
||||
],
|
||||
"line": 67,
|
||||
"args": [
|
||||
"[table.user]",
|
||||
@@ -104,6 +119,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_model_button"
|
||||
],
|
||||
"line": 893,
|
||||
"args": [
|
||||
"'name_model_uniq'"
|
||||
@@ -123,6 +141,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 1225,
|
||||
"args": [
|
||||
"'db_id'"
|
||||
@@ -144,6 +165,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_module_config_wizard_item"
|
||||
],
|
||||
"line": 329,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -164,6 +188,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 47,
|
||||
"args": [
|
||||
"'code'"
|
||||
@@ -185,6 +212,10 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_sequence",
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 135,
|
||||
"args": [
|
||||
"*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))"
|
||||
@@ -197,6 +228,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_sequence",
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 135,
|
||||
"args": [
|
||||
"[table.sequence_type]",
|
||||
@@ -210,6 +245,9 @@
|
||||
{
|
||||
"object": "sequence_type",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_sequence_type"
|
||||
],
|
||||
"line": 137,
|
||||
"args": [
|
||||
"sequence_type.id"
|
||||
@@ -224,6 +262,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_sequence"
|
||||
],
|
||||
"line": 140,
|
||||
"args": [
|
||||
"'code'"
|
||||
@@ -244,6 +285,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 120,
|
||||
"args": [
|
||||
"'translation_md5_uniq'"
|
||||
@@ -256,6 +300,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_translation"
|
||||
],
|
||||
"line": 121,
|
||||
"args": [
|
||||
"'src_md5'"
|
||||
@@ -276,6 +323,9 @@
|
||||
{
|
||||
"object": "model",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_model"
|
||||
],
|
||||
"line": 92,
|
||||
"args": [
|
||||
"model.model"
|
||||
@@ -290,6 +340,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 94,
|
||||
"args": [
|
||||
"*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])"
|
||||
@@ -302,6 +355,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 94,
|
||||
"args": [
|
||||
"[sql_table.action]",
|
||||
@@ -315,6 +371,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 98,
|
||||
"args": [
|
||||
"'action_model'"
|
||||
@@ -327,6 +386,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"ir_trigger"
|
||||
],
|
||||
"line": 99,
|
||||
"args": [
|
||||
"'action_function'"
|
||||
@@ -347,6 +409,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_ui_icon"
|
||||
],
|
||||
"line": 37,
|
||||
"args": [
|
||||
"'sequence'",
|
||||
@@ -367,6 +432,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"ir_ui_view_search"
|
||||
],
|
||||
"line": 621,
|
||||
"args": [
|
||||
"'user'",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"party_address"
|
||||
],
|
||||
"line": 88,
|
||||
"args": [
|
||||
"'zip'",
|
||||
@@ -31,6 +34,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_address_format",
|
||||
"country_country"
|
||||
],
|
||||
"line": 318,
|
||||
"args": [
|
||||
"[table.country_code]",
|
||||
@@ -44,6 +51,9 @@
|
||||
{
|
||||
"object": "country",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"country_country"
|
||||
],
|
||||
"line": 320,
|
||||
"args": [
|
||||
"country.code"
|
||||
@@ -58,6 +68,7 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 323,
|
||||
"args": [
|
||||
"*query"
|
||||
@@ -70,6 +81,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_address_format"
|
||||
],
|
||||
"line": 324,
|
||||
"args": [
|
||||
"'country'"
|
||||
@@ -82,6 +96,10 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_address_format",
|
||||
"ir_lang"
|
||||
],
|
||||
"line": 328,
|
||||
"args": [
|
||||
"[table.language_code]",
|
||||
@@ -95,6 +113,9 @@
|
||||
{
|
||||
"object": "language",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"ir_lang"
|
||||
],
|
||||
"line": 330,
|
||||
"args": [
|
||||
"Substring(language.code, 0, 2)"
|
||||
@@ -109,6 +130,7 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 333,
|
||||
"args": [
|
||||
"*query"
|
||||
@@ -121,6 +143,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"party_address_format"
|
||||
],
|
||||
"line": 334,
|
||||
"args": [
|
||||
"'language'"
|
||||
@@ -141,6 +166,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_configuration"
|
||||
],
|
||||
"line": 45,
|
||||
"args": [
|
||||
"*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])"
|
||||
@@ -153,6 +181,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_configuration"
|
||||
],
|
||||
"line": 45,
|
||||
"args": [
|
||||
"[table.identifier_types]",
|
||||
@@ -174,6 +205,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 787,
|
||||
"args": [
|
||||
"*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')"
|
||||
@@ -185,6 +219,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"party_identifier"
|
||||
],
|
||||
"line": 787,
|
||||
"args": [
|
||||
"[table.type]",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_product"
|
||||
],
|
||||
"line": 505,
|
||||
"args": [
|
||||
"*table.update([table.suffix_code], [table.code])"
|
||||
@@ -23,6 +26,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"product_product"
|
||||
],
|
||||
"line": 505,
|
||||
"args": [
|
||||
"[table.suffix_code]",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"production_bom_input"
|
||||
],
|
||||
"line": 78,
|
||||
"args": [
|
||||
"'uom'",
|
||||
@@ -24,6 +27,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "drop_constraint",
|
||||
"tables": [
|
||||
"production_bom_input"
|
||||
],
|
||||
"line": 84,
|
||||
"args": [
|
||||
"'product_bom_uniq'"
|
||||
@@ -43,6 +49,9 @@
|
||||
{
|
||||
"object": "table_h",
|
||||
"operation": "column_rename",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 270,
|
||||
"args": [
|
||||
"'uom'",
|
||||
@@ -56,6 +65,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 278,
|
||||
"args": [
|
||||
"*table.update([table.state], ['cancelled'], where=table.state == 'cancel')"
|
||||
@@ -67,6 +79,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"production"
|
||||
],
|
||||
"line": 278,
|
||||
"args": [
|
||||
"[table.state]",
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 215,
|
||||
"args": [
|
||||
"*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))"
|
||||
@@ -22,6 +25,9 @@
|
||||
{
|
||||
"object": "model_data",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"ir_model_data"
|
||||
],
|
||||
"line": 215,
|
||||
"args": [
|
||||
"[model_data.noupdate]",
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
{
|
||||
"object": "cursor_select",
|
||||
"operation": "execute",
|
||||
"tables": [],
|
||||
"line": 85,
|
||||
"args": [
|
||||
"*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)"
|
||||
@@ -23,6 +24,7 @@
|
||||
{
|
||||
"object": "template_lot_type",
|
||||
"operation": "select",
|
||||
"tables": [],
|
||||
"line": 85,
|
||||
"args": [
|
||||
"template_lot_type.template"
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "not_null_action",
|
||||
"tables": [
|
||||
"stock_product_location"
|
||||
],
|
||||
"line": 47,
|
||||
"args": [
|
||||
"'product'",
|
||||
|
||||
Reference in New Issue
Block a user