Files
tryton-db-migration/data/5.0/company.json
T

166 lines
4.2 KiB
JSON
Raw Normal View History

2026-08-07 22:27:49 +02:00
{
2026-08-08 01:29:43 +02:00
"version": "5.0",
2026-08-07 22:27:49 +02:00
"module": "company",
2026-08-20 13:27:23 +02:00
"files": [
{
"module": "company",
"file": "party.py",
"class": "PartyConfigurationLang",
"method": "__register__",
"line": 22,
"operations": [
{
"object": "backend",
"operation": "get",
"tables": [],
"line": 23,
"args": [
"'TableHandler'"
],
"kwargs": {},
"code": "backend.get('(backend.get('TableHandler'))')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "TableHandler",
"operation": "table_exist",
"tables": [],
"line": 24,
"args": [
"cls._table"
],
"kwargs": {},
"code": "(backend.get('TableHandler')).table_exist(cls._table)",
"unresolved": true,
"phase": "before_super"
},
{
"object": "table",
"operation": "column_exist",
"tables": [],
"line": 27,
"args": [
"'company'"
],
"kwargs": {},
"code": "table.column_exist('company')",
"unresolved": true,
"phase": "before_super",
"condition": "exist"
},
{
"object": "",
"operation": "migrate_property",
"tables": [],
"line": 33,
"args": [
"'party.configuration'",
"cls._configuration_value_field",
"cls",
"cls._configuration_value_field"
],
"kwargs": {
"fields": "['company']"
},
"code": "migrate_property(\n 'party.configuration', cls._configuration_value_field,\n cls, cls._configuration_value_field, fields=['company'])",
"unresolved": true,
"phase": "after_super",
"condition": "not exist"
}
]
},
{
"module": "company",
"file": "party.py",
"class": "PartyLang",
"method": "__register__",
"line": 46,
"operations": [
{
"object": "backend",
"operation": "get",
"tables": [],
"line": 47,
"args": [
"'TableHandler'"
],
"kwargs": {},
"code": "backend.get('(backend.get('TableHandler'))')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "TableHandler",
"operation": "table_exist",
"tables": [],
"line": 48,
"args": [
"cls._table"
],
"kwargs": {},
"code": "(backend.get('TableHandler')).table_exist(cls._table)",
"unresolved": true,
"phase": "before_super"
},
{
"object": "table",
"operation": "column_exist",
"tables": [],
"line": 51,
"args": [
"'company'"
],
"kwargs": {},
"code": "table.column_exist('company')",
"unresolved": true,
"phase": "before_super",
"condition": "exist"
},
{
"object": "super(PartyLang, cls)",
"operation": "_migrate_property",
"tables": [],
"line": 62,
"args": [
"field_names",
"value_names",
"fields"
],
"kwargs": {},
"code": "super(PartyLang, cls)._migrate_property(\n field_names, value_names, fields)",
"unresolved": true,
"phase": "after_super",
"condition": "not exist",
"via": [
{
"method": "_migrate_property",
"line": 57
}
]
},
{
"object": "",
"operation": "super",
"tables": [],
"line": 62,
"args": [
"PartyLang",
"cls"
],
"kwargs": {},
"code": "super(PartyLang, cls)",
"unresolved": true,
"phase": "after_super",
"condition": "not exist",
"via": [
{
"method": "_migrate_property",
"line": 57
}
]
}
]
}
]
2026-08-07 22:27:49 +02:00
}