From 9417f2baa1b9be5db69ac997456c705fa7d047cb Mon Sep 17 00:00:00 2001 From: Ulrich Date: Sat, 8 Aug 2026 02:55:30 +0200 Subject: [PATCH] ignore repeating blocks of changes --- compare.py | 41 +- reports/company.md | 238 --- reports/country.md | 354 ---- reports/currency.md | 122 -- reports/ir.md | 2802 ----------------------------- reports/party.md | 1074 ----------- reports/product.md | 549 ------ reports/production.md | 305 ---- reports/res.md | 293 --- reports/stock_lot.md | 120 -- reports/stock_product_location.md | 40 - 11 files changed, 38 insertions(+), 5900 deletions(-) diff --git a/compare.py b/compare.py index 1fa19a7..6ea599d 100644 --- a/compare.py +++ b/compare.py @@ -59,7 +59,21 @@ class Module(object): o['file'] = file o['version'] = vers self.operations.append(o) - + + def operation_key(self, operation): + # kwargs are intentionally ignored for now. + # The key is only used to collapse repeated migration blocks; + # it is not intended to establish semantic equality. + return ( + operation.get("phase"), + operation.get("operation"), + operation.get("object"), + tuple(operation.get("args", [])), + operation.get("condition"), + ) + def block_key(self, operations): + return tuple(self.operation_key(op) for op in operations) + def write_data(self): outfile = REPORTS / f"{self.name}.md" @@ -68,19 +82,40 @@ class Module(object): out.write(f"# {self.name}\n\n") + # iterate all classes for c in sorted(self.classes): classe = self.classes[c] out.write(f"## Klasse {c}\n\n") + + last_blocks = None - for k in sorted(self.versionen.keys()): + # iterate all Versions + for k in sorted(classe.keys()): v = classe.get(k, None) if not v: continue + + if last_blocks == None: + last_blocks = len(v) * [None,] out.write(f"### {k}\n\n") - for m in v: + # iterate all files / occureces + for i, m in enumerate(v): + + # repeating? + key = self.block_key(m["operations"]) + + old_block = last_blocks[i] + if key == old_block: + continue + elif old_block and key[:len(old_block)] == old_block: + m["operations"] = m['operations'][len(old_block):] + + last_blocks[i] = key + + out.write(f"file: {m['file']} : {m['line']}\n") for op in m["operations"]: diff --git a/reports/company.md b/reports/company.md index 94c13a5..1cdb64d 100644 --- a/reports/company.md +++ b/reports/company.md @@ -41,260 +41,22 @@ file: /home/uha4/tmp/tryton/modules/company/res.py : 72 ### 6.2 -file: /home/uha4/tmp/tryton/modules/company/res.py : 72 -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.main_company` - - kwargs: - - where: `table.main_company != Null` -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - 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)))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.company` - - kwargs: - - where: `(table.company != Null) & (table.company != table.main_company)` -- **after_super** `drop_column` - - condition: `table_h.column_exist('main_company')` - - object: `table_h` - - args: `'main_company'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/company/res.py : 69 -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.main_company` - - kwargs: - - where: `table.main_company != Null` -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - 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)))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.company` - - kwargs: - - where: `(table.company != Null) & (table.company != table.main_company)` -- **after_super** `drop_column` - - condition: `table_h.column_exist('main_company')` - - object: `table_h` - - args: `'main_company'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/company/res.py : 69 -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.main_company` - - kwargs: - - where: `table.main_company != Null` -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - 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)))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.company` - - kwargs: - - where: `(table.company != Null) & (table.company != table.main_company)` -- **after_super** `drop_column` - - condition: `table_h.column_exist('main_company')` - - object: `table_h` - - args: `'main_company'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/company/res.py : 69 -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.main_company` - - kwargs: - - where: `table.main_company != Null` -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - 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)))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.company` - - kwargs: - - where: `(table.company != Null) & (table.company != table.main_company)` -- **after_super** `drop_column` - - condition: `table_h.column_exist('main_company')` - - object: `table_h` - - args: `'main_company'` - ### 7.0 -file: /home/uha4/tmp/tryton/modules/company/res.py : 116 -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.main_company` - - kwargs: - - where: `table.main_company != Null` -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - 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)))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.company` - - kwargs: - - where: `(table.company != Null) & (table.company != table.main_company)` -- **after_super** `drop_column` - - condition: `table_h.column_exist('main_company')` - - object: `table_h` - - args: `'main_company'` - ### 7.2 -file: /home/uha4/tmp/tryton/modules/company/res.py : 116 -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.main_company` - - kwargs: - - where: `table.main_company != Null` -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - 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)))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.company` - - kwargs: - - where: `(table.company != Null) & (table.company != table.main_company)` -- **after_super** `drop_column` - - condition: `table_h.column_exist('main_company')` - - object: `table_h` - - args: `'main_company'` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/company/res.py : 125 -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - args: `*user_company.insert([user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.main_company, where=table.main_company != Null)` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.main_company` - - kwargs: - - where: `table.main_company != Null` -- **after_super** `execute` - - condition: `table_h.column_exist('main_company')` - - object: `cursor` - - 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)))` -- **after_super** `insert` - - condition: `table_h.column_exist('main_company')` - - object: `user_company` - - args: `[user_company.user, user_company.company], table.select(table.id, table.company, where=(table.company != Null) & (table.company != table.main_company))` -- **after_super** `select` - - condition: `table_h.column_exist('main_company')` - - object: `table` - - args: `table.id, table.company` - - kwargs: - - where: `(table.company != Null) & (table.company != table.main_company)` -- **after_super** `drop_column` - - condition: `table_h.column_exist('main_company')` - - object: `table_h` - - args: `'main_company'` - diff --git a/reports/country.md b/reports/country.md index 5f85a76..a1f4117 100644 --- a/reports/country.md +++ b/reports/country.md @@ -18,30 +18,10 @@ file: /home/uha4/tmp/tryton/modules/country/country.py : 29 ### 5.2 -file: /home/uha4/tmp/tryton/modules/country/country.py : 30 -- **after_super** `drop_constraint` - - object: `table` - - args: `'name_uniq'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'code_uniq'` -- **after_super** `not_null_action` - - object: `table` - - args: `'code', 'remove'` - ### 5.4 file: /home/uha4/tmp/tryton/modules/country/country.py : 32 -- **after_super** `drop_constraint` - - object: `table` - - args: `'name_uniq'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'code_uniq'` -- **after_super** `not_null_action` - - object: `table` - - args: `'code', 'remove'` - **after_super** `execute` - object: `cursor` - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` @@ -53,150 +33,24 @@ file: /home/uha4/tmp/tryton/modules/country/country.py : 32 ### 5.6 -file: /home/uha4/tmp/tryton/modules/country/country.py : 30 -- **after_super** `drop_constraint` - - object: `table` - - args: `'name_uniq'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'code_uniq'` -- **after_super** `not_null_action` - - object: `table` - - args: `'code', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/country/country.py : 30 -- **after_super** `drop_constraint` - - object: `table` - - args: `'name_uniq'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'code_uniq'` -- **after_super** `not_null_action` - - object: `table` - - args: `'code', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/country/country.py : 31 -- **after_super** `drop_constraint` - - object: `table` - - args: `'name_uniq'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'code_uniq'` -- **after_super** `not_null_action` - - object: `table` - - args: `'code', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/country/country.py : 31 -- **after_super** `drop_constraint` - - object: `table` - - args: `'name_uniq'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'code_uniq'` -- **after_super** `not_null_action` - - object: `table` - - args: `'code', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/country/country.py : 31 -- **after_super** `drop_constraint` - - object: `table` - - args: `'name_uniq'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'code_uniq'` -- **after_super** `not_null_action` - - object: `table` - - args: `'code', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/country/country.py : 178 -- **after_super** `drop_constraint` - - object: `table` - - args: `'name_uniq'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'code_uniq'` -- **after_super** `not_null_action` - - object: `table` - - args: `'code', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/country/country.py : 178 -- **after_super** `drop_constraint` - - object: `table` - - args: `'name_uniq'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'code_uniq'` -- **after_super** `not_null_action` - - object: `table` - - args: `'code', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 7.0 @@ -212,27 +66,9 @@ file: /home/uha4/tmp/tryton/modules/country/country.py : 178 ### 7.2 -file: /home/uha4/tmp/tryton/modules/country/country.py : 178 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/country/country.py : 178 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ## Klasse PostalCode @@ -246,59 +82,24 @@ file: /home/uha4/tmp/tryton/modules/country/country.py : 287 ### 6.2 -file: /home/uha4/tmp/tryton/modules/country/country.py : 287 -- **before_super** `column_rename` - - object: `table_h` - - args: `'zip', 'postal_code'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/country/country.py : 328 -- **before_super** `column_rename` - - object: `table_h` - - args: `'zip', 'postal_code'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/country/country.py : 516 -- **before_super** `column_rename` - - object: `table_h` - - args: `'zip', 'postal_code'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/country/country.py : 516 -- **before_super** `column_rename` - - object: `table_h` - - args: `'zip', 'postal_code'` - ### 7.0 -file: /home/uha4/tmp/tryton/modules/country/country.py : 507 -- **before_super** `column_rename` - - object: `table_h` - - args: `'zip', 'postal_code'` - ### 7.2 -file: /home/uha4/tmp/tryton/modules/country/country.py : 507 -- **before_super** `column_rename` - - object: `table_h` - - args: `'zip', 'postal_code'` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/country/country.py : 507 -- **before_super** `column_rename` - - object: `table_h` - - args: `'zip', 'postal_code'` - ## Klasse Subdivision @@ -316,62 +117,19 @@ file: /home/uha4/tmp/tryton/modules/country/country.py : 216 ### 5.6 -file: /home/uha4/tmp/tryton/modules/country/country.py : 214 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/country/country.py : 214 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/country/country.py : 219 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/country/country.py : 219 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - ### 6.4 file: /home/uha4/tmp/tryton/modules/country/country.py : 256 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` - **after_super** `not_null_action` - object: `table_h` - args: `'type'` @@ -382,18 +140,6 @@ file: /home/uha4/tmp/tryton/modules/country/country.py : 256 ### 6.6 file: /home/uha4/tmp/tryton/modules/country/country.py : 433 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'type'` - - kwargs: - - action: `'remove'` - **after_super** `not_null_action` - object: `table_h` - args: `'code'` @@ -403,91 +149,15 @@ file: /home/uha4/tmp/tryton/modules/country/country.py : 433 ### 6.8 -file: /home/uha4/tmp/tryton/modules/country/country.py : 433 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'type'` - - kwargs: - - action: `'remove'` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 7.0 -file: /home/uha4/tmp/tryton/modules/country/country.py : 424 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'type'` - - kwargs: - - action: `'remove'` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 7.2 -file: /home/uha4/tmp/tryton/modules/country/country.py : 424 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'type'` - - kwargs: - - action: `'remove'` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/country/country.py : 424 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'country') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'country') & (data.model == cls.__name__)` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'type'` - - kwargs: - - action: `'remove'` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 7.6 @@ -506,31 +176,7 @@ file: /home/uha4/tmp/tryton/modules/country/country.py : 401 ### 7.8 -file: /home/uha4/tmp/tryton/modules/country/country.py : 401 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'type'` - - kwargs: - - action: `'remove'` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 8.0 -file: /home/uha4/tmp/tryton/modules/country/country.py : 401 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'type'` - - kwargs: - - action: `'remove'` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - diff --git a/reports/currency.md b/reports/currency.md index 5f9a83a..0b326c8 100644 --- a/reports/currency.md +++ b/reports/currency.md @@ -16,86 +16,25 @@ file: /home/uha4/tmp/tryton/modules/currency/currency.py : 53 ### 5.6 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 51 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 51 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 59 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 61 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 59 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 60 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` - ### 6.8 file: /home/uha4/tmp/tryton/modules/currency/currency.py : 72 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` - **after_super** `not_null_action` - object: `table_h` - args: `'symbol', 'remove'` @@ -103,48 +42,12 @@ file: /home/uha4/tmp/tryton/modules/currency/currency.py : 72 ### 7.0 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 72 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'symbol', 'remove'` - ### 7.2 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 72 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'symbol', 'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 78 -- **after_super** `execute` - - object: `cursor` - - args: `*data.delete(where=(data.module == 'currency') & (data.model == cls.__name__))` -- **after_super** `delete` - - object: `data` - - kwargs: - - where: `(data.module == 'currency') & (data.model == cls.__name__)` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'symbol', 'remove'` - ### 7.6 @@ -156,19 +59,9 @@ file: /home/uha4/tmp/tryton/modules/currency/currency.py : 77 ### 7.8 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 77 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'symbol', 'remove'` - ### 8.0 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 77 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'symbol', 'remove'` - ## Klasse CurrencyRate @@ -182,25 +75,10 @@ file: /home/uha4/tmp/tryton/modules/currency/currency.py : 304 ### 7.6 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 289 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'check_currency_rate'` - ### 7.8 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 278 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'check_currency_rate'` - ### 8.0 -file: /home/uha4/tmp/tryton/modules/currency/currency.py : 278 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'check_currency_rate'` - diff --git a/reports/ir.md b/reports/ir.md index 08c2f0f..84ba7ea 100644 --- a/reports/ir.md +++ b/reports/ir.md @@ -26,201 +26,30 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 694 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 729 -- **after_super** `drop_column` - - object: `table` - - args: `'auto_refresh'` -- **after_super** `drop_column` - - object: `table` - - args: `'window_name'` -- **after_super** `not_null_action` - - object: `table` - - args: `'limit', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)` -- **after_super** `update` - - object: `act_window` - - args: `[act_window.limit], [Null]` - - kwargs: - - where: `act_window.limit == 0` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 729 -- **after_super** `drop_column` - - object: `table` - - args: `'auto_refresh'` -- **after_super** `drop_column` - - object: `table` - - args: `'window_name'` -- **after_super** `not_null_action` - - object: `table` - - args: `'limit', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)` -- **after_super** `update` - - object: `act_window` - - args: `[act_window.limit], [Null]` - - kwargs: - - where: `act_window.limit == 0` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 745 -- **after_super** `drop_column` - - object: `table` - - args: `'auto_refresh'` -- **after_super** `drop_column` - - object: `table` - - args: `'window_name'` -- **after_super** `not_null_action` - - object: `table` - - args: `'limit', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)` -- **after_super** `update` - - object: `act_window` - - args: `[act_window.limit], [Null]` - - kwargs: - - where: `act_window.limit == 0` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 705 -- **after_super** `drop_column` - - object: `table` - - args: `'auto_refresh'` -- **after_super** `drop_column` - - object: `table` - - args: `'window_name'` -- **after_super** `not_null_action` - - object: `table` - - args: `'limit', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)` -- **after_super** `update` - - object: `act_window` - - args: `[act_window.limit], [Null]` - - kwargs: - - where: `act_window.limit == 0` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 732 -- **after_super** `drop_column` - - object: `table` - - args: `'auto_refresh'` -- **after_super** `drop_column` - - object: `table` - - args: `'window_name'` -- **after_super** `not_null_action` - - object: `table` - - args: `'limit', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)` -- **after_super** `update` - - object: `act_window` - - args: `[act_window.limit], [Null]` - - kwargs: - - where: `act_window.limit == 0` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 759 -- **after_super** `drop_column` - - object: `table` - - args: `'auto_refresh'` -- **after_super** `drop_column` - - object: `table` - - args: `'window_name'` -- **after_super** `not_null_action` - - object: `table` - - args: `'limit', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)` -- **after_super** `update` - - object: `act_window` - - args: `[act_window.limit], [Null]` - - kwargs: - - where: `act_window.limit == 0` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 765 -- **after_super** `drop_column` - - object: `table` - - args: `'auto_refresh'` -- **after_super** `drop_column` - - object: `table` - - args: `'window_name'` -- **after_super** `not_null_action` - - object: `table` - - args: `'limit', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)` -- **after_super** `update` - - object: `act_window` - - args: `[act_window.limit], [Null]` - - kwargs: - - where: `act_window.limit == 0` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 770 -- **after_super** `drop_column` - - object: `table` - - args: `'auto_refresh'` -- **after_super** `drop_column` - - object: `table` - - args: `'window_name'` -- **after_super** `not_null_action` - - object: `table` - - args: `'limit', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)` -- **after_super** `update` - - object: `act_window` - - args: `[act_window.limit], [Null]` - - kwargs: - - where: `act_window.limit == 0` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 774 -- **after_super** `drop_column` - - object: `table` - - args: `'auto_refresh'` -- **after_super** `drop_column` - - object: `table` - - args: `'window_name'` -- **after_super** `not_null_action` - - object: `table` - - args: `'limit', 'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)` -- **after_super** `update` - - object: `act_window` - - args: `[act_window.limit], [Null]` - - kwargs: - - where: `act_window.limit == 0` - ## Klasse ActionActWindowDomain @@ -234,91 +63,36 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 948 ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 948 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 972 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 932 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 959 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 986 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 1000 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 1005 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 1028 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 1001 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 1011 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 1006 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ## Klasse ActionActWindowView @@ -332,91 +106,36 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 909 ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 909 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 933 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 893 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 920 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 947 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 961 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 966 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 979 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 952 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 962 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 957 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ## Klasse ActionKeyword @@ -430,59 +149,24 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 119 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 147 -- **after_super** `index_action` - - object: `table` - - args: `['keyword', 'model'], 'add'` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 147 -- **after_super** `index_action` - - object: `table` - - args: `['keyword', 'model'], 'add'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 152 -- **after_super** `index_action` - - object: `table` - - args: `['keyword', 'model'], 'add'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 149 -- **after_super** `index_action` - - object: `table` - - args: `['keyword', 'model'], 'add'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 166 -- **after_super** `index_action` - - object: `table` - - args: `['keyword', 'model'], 'add'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 167 -- **after_super** `index_action` - - object: `table` - - args: `['keyword', 'model'], 'add'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 166 -- **after_super** `index_action` - - object: `table` - - args: `['keyword', 'model'], 'add'` - ## Klasse ActionReport @@ -504,147 +188,30 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 499 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 529 -- **after_super** `drop_constraint` - - object: `table` - - args: `'report_name_module_uniq'` -- **after_super** `execute` - - object: `cursor` - - args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')` -- **after_super** `update` - - object: `action_report` - - args: `[action_report.extension], ['txt']` - - kwargs: - - where: `action_report.extension == 'plain'` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 529 -- **after_super** `drop_constraint` - - object: `table` - - args: `'report_name_module_uniq'` -- **after_super** `execute` - - object: `cursor` - - args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')` -- **after_super** `update` - - object: `action_report` - - args: `[action_report.extension], ['txt']` - - kwargs: - - where: `action_report.extension == 'plain'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 545 -- **after_super** `drop_constraint` - - object: `table` - - args: `'report_name_module_uniq'` -- **after_super** `execute` - - object: `cursor` - - args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')` -- **after_super** `update` - - object: `action_report` - - args: `[action_report.extension], ['txt']` - - kwargs: - - where: `action_report.extension == 'plain'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 525 -- **after_super** `drop_constraint` - - object: `table` - - args: `'report_name_module_uniq'` -- **after_super** `execute` - - object: `cursor` - - args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')` -- **after_super** `update` - - object: `action_report` - - args: `[action_report.extension], ['txt']` - - kwargs: - - where: `action_report.extension == 'plain'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 558 -- **after_super** `drop_constraint` - - object: `table` - - args: `'report_name_module_uniq'` -- **after_super** `execute` - - object: `cursor` - - args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')` -- **after_super** `update` - - object: `action_report` - - args: `[action_report.extension], ['txt']` - - kwargs: - - where: `action_report.extension == 'plain'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 562 -- **after_super** `drop_constraint` - - object: `table` - - args: `'report_name_module_uniq'` -- **after_super** `execute` - - object: `cursor` - - args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')` -- **after_super** `update` - - object: `action_report` - - args: `[action_report.extension], ['txt']` - - kwargs: - - where: `action_report.extension == 'plain'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 565 -- **after_super** `drop_constraint` - - object: `table` - - args: `'report_name_module_uniq'` -- **after_super** `execute` - - object: `cursor` - - args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')` -- **after_super** `update` - - object: `action_report` - - args: `[action_report.extension], ['txt']` - - kwargs: - - where: `action_report.extension == 'plain'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 570 -- **after_super** `drop_constraint` - - object: `table` - - args: `'report_name_module_uniq'` -- **after_super** `execute` - - object: `cursor` - - args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')` -- **after_super** `update` - - object: `action_report` - - args: `[action_report.extension], ['txt']` - - kwargs: - - where: `action_report.extension == 'plain'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/action.py : 582 -- **after_super** `drop_constraint` - - object: `table` - - args: `'report_name_module_uniq'` -- **after_super** `execute` - - object: `cursor` - - args: `*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')` -- **after_super** `update` - - object: `action_report` - - args: `[action_report.extension], ['txt']` - - kwargs: - - where: `action_report.extension == 'plain'` - ## Klasse Attachment @@ -686,327 +253,30 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 60 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 60 -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [attachment.digest]` - - kwargs: - - where: `(attachment.collision == 0) | (attachment.collision == Null)` -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]` - - kwargs: - - where: `(attachment.collision != 0) & (attachment.collision != Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'digest'` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'collision'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'resource_name'` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 60 -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [attachment.digest]` - - kwargs: - - where: `(attachment.collision == 0) | (attachment.collision == Null)` -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]` - - kwargs: - - where: `(attachment.collision != 0) & (attachment.collision != Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'digest'` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'collision'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'resource_name'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 63 -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [attachment.digest]` - - kwargs: - - where: `(attachment.collision == 0) | (attachment.collision == Null)` -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]` - - kwargs: - - where: `(attachment.collision != 0) & (attachment.collision != Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'digest'` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'collision'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'resource_name'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 63 -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [attachment.digest]` - - kwargs: - - where: `(attachment.collision == 0) | (attachment.collision == Null)` -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]` - - kwargs: - - where: `(attachment.collision != 0) & (attachment.collision != Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'digest'` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'collision'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'resource_name'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 58 -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [attachment.digest]` - - kwargs: - - where: `(attachment.collision == 0) | (attachment.collision == Null)` -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]` - - kwargs: - - where: `(attachment.collision != 0) & (attachment.collision != Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'digest'` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'collision'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'resource_name'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 58 -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [attachment.digest]` - - kwargs: - - where: `(attachment.collision == 0) | (attachment.collision == Null)` -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]` - - kwargs: - - where: `(attachment.collision != 0) & (attachment.collision != Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'digest'` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'collision'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'resource_name'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 59 -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [attachment.digest]` - - kwargs: - - where: `(attachment.collision == 0) | (attachment.collision == Null)` -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]` - - kwargs: - - where: `(attachment.collision != 0) & (attachment.collision != Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'digest'` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'collision'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'resource_name'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 59 -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [attachment.digest]` - - kwargs: - - where: `(attachment.collision == 0) | (attachment.collision == Null)` -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]` - - kwargs: - - where: `(attachment.collision != 0) & (attachment.collision != Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'digest'` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'collision'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'resource_name'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/attachment.py : 59 -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [attachment.digest]` - - kwargs: - - where: `(attachment.collision == 0) | (attachment.collision == Null)` -- **after_super** `execute` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `cursor` - - args: `*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))` -- **after_super** `update` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `attachment` - - args: `[attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)]` - - kwargs: - - where: `(attachment.collision != 0) & (attachment.collision != Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'digest'` -- **after_super** `drop_column` - - condition: `table.column_exist('digest') and table.column_exist('collision')` - - object: `table` - - args: `'collision'` -- **after_super** `drop_constraint` - - object: `table` - - args: `'resource_name'` - ## Klasse Cron @@ -1020,91 +290,36 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 66 ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 69 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 69 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 71 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 84 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 86 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 87 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 92 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 92 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 7.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 92 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 92 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/cron.py : 119 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'next_call', 'remove'` - ## Klasse Export @@ -1123,68 +338,18 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/export.py : 56 ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/export.py : 56 -- **after_super** `execute` - - condition: `not user_exists` - - object: `cursor` - - args: `*table.update([table.user], [table.create_uid])` -- **after_super** `update` - - condition: `not user_exists` - - object: `table` - - args: `[table.user], [table.create_uid]` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/export.py : 56 -- **after_super** `execute` - - condition: `not user_exists` - - object: `cursor` - - args: `*table.update([table.user], [table.create_uid])` -- **after_super** `update` - - condition: `not user_exists` - - object: `table` - - args: `[table.user], [table.create_uid]` - ### 7.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/export.py : 68 -- **after_super** `execute` - - condition: `not user_exists` - - object: `cursor` - - args: `*table.update([table.user], [table.create_uid])` -- **after_super** `update` - - condition: `not user_exists` - - object: `table` - - args: `[table.user], [table.create_uid]` - ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/export.py : 68 -- **after_super** `execute` - - condition: `not user_exists` - - object: `cursor` - - args: `*table.update([table.user], [table.create_uid])` -- **after_super** `update` - - condition: `not user_exists` - - object: `table` - - args: `[table.user], [table.create_uid]` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/export.py : 68 -- **after_super** `execute` - - condition: `not user_exists` - - object: `cursor` - - args: `*table.update([table.user], [table.create_uid])` -- **after_super** `update` - - condition: `not user_exists` - - object: `table` - - args: `[table.user], [table.create_uid]` - ## Klasse Icon @@ -1198,91 +363,36 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 33 ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 33 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 33 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 29 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 29 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 29 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 29 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 31 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 31 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 31 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 35 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/icon.py : 35 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ## Klasse Model @@ -1304,35 +414,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 83 ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 84 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model')` - - object: `table_h` - - args: `'name', 'string'` -- **before_super** `column_rename` - - condition: `table_h.column_exist('model')` - - object: `table_h` - - args: `'model', 'name'` -- **before_super** `drop_constraint` - - object: `table_h` - - args: `'model_uniq'` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 82 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model')` - - object: `table_h` - - args: `'name', 'string'` -- **before_super** `column_rename` - - condition: `table_h.column_exist('model')` - - object: `table_h` - - args: `'model', 'name'` -- **before_super** `drop_constraint` - - object: `table_h` - - args: `'model_uniq'` - ## Klasse ModelAccess @@ -1366,31 +450,6 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 531 ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 534 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.model]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` - ### 7.6 @@ -1422,59 +481,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 551 ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 561 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.name]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 539 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.name]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` - ## Klasse ModelButton @@ -1488,27 +497,12 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 889 ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 886 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_model_uniq'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 895 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_model_uniq'` - ### 7.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 887 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_model_uniq'` - ### 7.2 @@ -1543,34 +537,6 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 985 ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 988 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.model]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_model_uniq'` - ### 7.6 @@ -1605,65 +571,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 977 ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 971 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.name]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_model_uniq'` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 949 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.name]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_model_uniq'` - ## Klasse ModelData @@ -1683,14 +593,6 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1100 ### 5.2 file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1135 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.module], ['ir']` - - kwargs: - - where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')` - **after_super** `not_null_action` - object: `table_h` - args: `'db_id'` @@ -1700,147 +602,27 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1135 ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1135 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.module], ['ir']` - - kwargs: - - where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1157 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.module], ['ir']` - - kwargs: - - where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1159 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.module], ['ir']` - - kwargs: - - where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1203 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.module], ['ir']` - - kwargs: - - where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1199 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.module], ['ir']` - - kwargs: - - where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1228 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.module], ['ir']` - - kwargs: - - where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1208 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.module], ['ir']` - - kwargs: - - where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1227 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.module], ['ir']` - - kwargs: - - where: `(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 7.0 @@ -1854,23 +636,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1219 ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1340 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1344 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'db_id'` - - kwargs: - - action: `'remove'` - ### 7.6 @@ -1882,19 +650,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1334 ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1328 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'fs_id_module_model_uniq'` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 1301 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'fs_id_module_model_uniq'` - ## Klasse ModelField @@ -1928,31 +686,6 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 297 ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 297 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.model]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` - ### 7.6 @@ -1987,65 +720,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 320 ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 330 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.name]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` -- **before_super** `column_rename` - - object: `table_h` - - args: `'field_description', 'string'` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 325 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.name]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` -- **before_super** `column_rename` - - object: `table_h` - - args: `'field_description', 'string'` - ## Klasse ModelFieldAccess @@ -2083,131 +760,15 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 786 ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 789 -- **before_super** `column_rename` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'field', '_temp_field'` -- **before_super** `add_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `add_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'field', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)` -- **before_super** `update` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table` - - args: `[table.model, table.field], [field.model, field.name]` - - kwargs: - - from_: `[field]` - - where: `table._temp_field == field.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'_temp_field'` - ### 7.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 789 -- **before_super** `column_rename` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'field', '_temp_field'` -- **before_super** `add_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `add_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'field', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)` -- **before_super** `update` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table` - - args: `[table.model, table.field], [field.model, field.name]` - - kwargs: - - from_: `[field]` - - where: `table._temp_field == field.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'_temp_field'` - ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 794 -- **before_super** `column_rename` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'field', '_temp_field'` -- **before_super** `add_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `add_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'field', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)` -- **before_super** `update` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table` - - args: `[table.model, table.field], [field.model, field.name]` - - kwargs: - - from_: `[field]` - - where: `table._temp_field == field.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'_temp_field'` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/model.py : 772 -- **before_super** `column_rename` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'field', '_temp_field'` -- **before_super** `add_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `add_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'field', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)` -- **before_super** `update` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table` - - args: `[table.model, table.field], [field.model, field.name]` - - kwargs: - - from_: `[field]` - - where: `table._temp_field == field.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')` - - object: `table_h` - - args: `'_temp_field'` - ## Klasse Module @@ -2242,264 +803,30 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 102 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 103 -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['activated']` - - kwargs: - - where: `sql_table.state == 'installed'` -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['not activated']` - - kwargs: - - where: `sql_table.state == 'uninstalled'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))` -- **after_super** `update` - - object: `model_data_sql_table` - - args: `[model_data_sql_table.module], ['ir']` - - kwargs: - - where: `(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 103 -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['activated']` - - kwargs: - - where: `sql_table.state == 'installed'` -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['not activated']` - - kwargs: - - where: `sql_table.state == 'uninstalled'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))` -- **after_super** `update` - - object: `model_data_sql_table` - - args: `[model_data_sql_table.module], ['ir']` - - kwargs: - - where: `(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 103 -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['activated']` - - kwargs: - - where: `sql_table.state == 'installed'` -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['not activated']` - - kwargs: - - where: `sql_table.state == 'uninstalled'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))` -- **after_super** `update` - - object: `model_data_sql_table` - - args: `[model_data_sql_table.module], ['ir']` - - kwargs: - - where: `(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 95 -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['activated']` - - kwargs: - - where: `sql_table.state == 'installed'` -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['not activated']` - - kwargs: - - where: `sql_table.state == 'uninstalled'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))` -- **after_super** `update` - - object: `model_data_sql_table` - - args: `[model_data_sql_table.module], ['ir']` - - kwargs: - - where: `(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 96 -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['activated']` - - kwargs: - - where: `sql_table.state == 'installed'` -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['not activated']` - - kwargs: - - where: `sql_table.state == 'uninstalled'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))` -- **after_super** `update` - - object: `model_data_sql_table` - - args: `[model_data_sql_table.module], ['ir']` - - kwargs: - - where: `(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 96 -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['activated']` - - kwargs: - - where: `sql_table.state == 'installed'` -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['not activated']` - - kwargs: - - where: `sql_table.state == 'uninstalled'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))` -- **after_super** `update` - - object: `model_data_sql_table` - - args: `[model_data_sql_table.module], ['ir']` - - kwargs: - - where: `(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 96 -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['activated']` - - kwargs: - - where: `sql_table.state == 'installed'` -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['not activated']` - - kwargs: - - where: `sql_table.state == 'uninstalled'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))` -- **after_super** `update` - - object: `model_data_sql_table` - - args: `[model_data_sql_table.module], ['ir']` - - kwargs: - - where: `(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 96 -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['activated']` - - kwargs: - - where: `sql_table.state == 'installed'` -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['not activated']` - - kwargs: - - where: `sql_table.state == 'uninstalled'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))` -- **after_super** `update` - - object: `model_data_sql_table` - - args: `[model_data_sql_table.module], ['ir']` - - kwargs: - - where: `(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 97 -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['activated']` - - kwargs: - - where: `sql_table.state == 'installed'` -- **after_super** `execute` - - object: `cursor` - - args: `*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')` -- **after_super** `update` - - object: `sql_table` - - args: `[sql_table.state], ['not activated']` - - kwargs: - - where: `sql_table.state == 'uninstalled'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))` -- **after_super** `update` - - object: `model_data_sql_table` - - args: `[model_data_sql_table.module], ['ir']` - - kwargs: - - where: `(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)` - ## Klasse ModuleConfigWizardItem @@ -2520,15 +847,6 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 401 ### 5.2 file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 396 -- **before_super** `execute` - - object: `cursor` - - args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')` -- **before_super** `update` - - object: `model_data` - - kwargs: - - columns: `[model_data.model]` - - values: `[cls.__name__]` - - where: `model_data.model == 'ir.module.module.config_wizard.item'` - **after_super** `not_null_action` - object: `table` - args: `'sequence', 'remove'` @@ -2536,139 +854,27 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 396 ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 396 -- **before_super** `execute` - - object: `cursor` - - args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')` -- **before_super** `update` - - object: `model_data` - - kwargs: - - columns: `[model_data.model]` - - values: `[cls.__name__]` - - where: `model_data.model == 'ir.module.module.config_wizard.item'` -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 393 -- **before_super** `execute` - - object: `cursor` - - args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')` -- **before_super** `update` - - object: `model_data` - - kwargs: - - columns: `[model_data.model]` - - values: `[cls.__name__]` - - where: `model_data.model == 'ir.module.module.config_wizard.item'` -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 385 -- **before_super** `execute` - - object: `cursor` - - args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')` -- **before_super** `update` - - object: `model_data` - - kwargs: - - columns: `[model_data.model]` - - values: `[cls.__name__]` - - where: `model_data.model == 'ir.module.module.config_wizard.item'` -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 386 -- **before_super** `execute` - - object: `cursor` - - args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')` -- **before_super** `update` - - object: `model_data` - - kwargs: - - columns: `[model_data.model]` - - values: `[cls.__name__]` - - where: `model_data.model == 'ir.module.module.config_wizard.item'` -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 386 -- **before_super** `execute` - - object: `cursor` - - args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')` -- **before_super** `update` - - object: `model_data` - - kwargs: - - columns: `[model_data.model]` - - values: `[cls.__name__]` - - where: `model_data.model == 'ir.module.module.config_wizard.item'` -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 386 -- **before_super** `execute` - - object: `cursor` - - args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')` -- **before_super** `update` - - object: `model_data` - - kwargs: - - columns: `[model_data.model]` - - values: `[cls.__name__]` - - where: `model_data.model == 'ir.module.module.config_wizard.item'` -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 386 -- **before_super** `execute` - - object: `cursor` - - args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')` -- **before_super** `update` - - object: `model_data` - - kwargs: - - columns: `[model_data.model]` - - values: `[cls.__name__]` - - where: `model_data.model == 'ir.module.module.config_wizard.item'` -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 370 -- **before_super** `execute` - - object: `cursor` - - args: `*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')` -- **before_super** `update` - - object: `model_data` - - kwargs: - - columns: `[model_data.model]` - - values: `[cls.__name__]` - - where: `model_data.model == 'ir.module.module.config_wizard.item'` -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.0 @@ -2680,19 +886,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 323 ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 323 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/module.py : 323 -- **after_super** `not_null_action` - - object: `table` - - args: `'sequence', 'remove'` - ## Klasse Queue @@ -2708,73 +904,24 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/queue.py : 35 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/queue.py : 35 -- **after_super** `index_action` - - object: `table_h` - - args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]` - - kwargs: - - action: `'add'` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/queue.py : 35 -- **after_super** `index_action` - - object: `table_h` - - args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]` - - kwargs: - - action: `'add'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/queue.py : 35 -- **after_super** `index_action` - - object: `table_h` - - args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]` - - kwargs: - - action: `'add'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/queue.py : 36 -- **after_super** `index_action` - - object: `table_h` - - args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]` - - kwargs: - - action: `'add'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/queue.py : 36 -- **after_super** `index_action` - - object: `table_h` - - args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]` - - kwargs: - - action: `'add'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/queue.py : 36 -- **after_super** `index_action` - - object: `table_h` - - args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]` - - kwargs: - - action: `'add'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/queue_.py : 37 -- **after_super** `index_action` - - object: `table_h` - - args: `[queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name]` - - kwargs: - - action: `'add'` - ## Klasse RuleGroup @@ -2808,31 +955,6 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/rule.py : 84 ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/rule.py : 84 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.model]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` - ### 7.6 @@ -2864,59 +986,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/rule.py : 100 ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/rule.py : 101 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.name]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/rule.py : 100 -- **before_super** `column_rename` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', '_temp_model'` -- **before_super** `add_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'model', 'VARCHAR'` -- **before_super** `execute` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `cursor` - - args: `*table.update([table.model], [model.name], from_=[model], where=table._temp_model == model.id)` -- **before_super** `update` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table` - - args: `[table.model], [model.name]` - - kwargs: - - from_: `[model]` - - where: `table._temp_model == model.id` -- **before_super** `drop_column` - - condition: `table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')` - - object: `table_h` - - args: `'_temp_model'` - ## Klasse Sequence @@ -2945,164 +1017,24 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 115 ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 119 -- **after_super** `execute` - - condition: `table_h.column_exist('code')` - - object: `cursor` - - args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))` -- **after_super** `update` - - condition: `table_h.column_exist('code')` - - object: `table` - - args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)` -- **after_super** `select` - - condition: `table_h.column_exist('code')` - - object: `sequence_type` - - args: `sequence_type.id` - - kwargs: - - where: `sequence_type.code == table.code` -- **after_super** `drop_column` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 117 -- **after_super** `execute` - - condition: `table_h.column_exist('code')` - - object: `cursor` - - args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))` -- **after_super** `update` - - condition: `table_h.column_exist('code')` - - object: `table` - - args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)` -- **after_super** `select` - - condition: `table_h.column_exist('code')` - - object: `sequence_type` - - args: `sequence_type.id` - - kwargs: - - where: `sequence_type.code == table.code` -- **after_super** `drop_column` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 117 -- **after_super** `execute` - - condition: `table_h.column_exist('code')` - - object: `cursor` - - args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))` -- **after_super** `update` - - condition: `table_h.column_exist('code')` - - object: `table` - - args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)` -- **after_super** `select` - - condition: `table_h.column_exist('code')` - - object: `sequence_type` - - args: `sequence_type.id` - - kwargs: - - where: `sequence_type.code == table.code` -- **after_super** `drop_column` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 117 -- **after_super** `execute` - - condition: `table_h.column_exist('code')` - - object: `cursor` - - args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))` -- **after_super** `update` - - condition: `table_h.column_exist('code')` - - object: `table` - - args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)` -- **after_super** `select` - - condition: `table_h.column_exist('code')` - - object: `sequence_type` - - args: `sequence_type.id` - - kwargs: - - where: `sequence_type.code == table.code` -- **after_super** `drop_column` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code'` - ### 7.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 122 -- **after_super** `execute` - - condition: `table_h.column_exist('code')` - - object: `cursor` - - args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))` -- **after_super** `update` - - condition: `table_h.column_exist('code')` - - object: `table` - - args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)` -- **after_super** `select` - - condition: `table_h.column_exist('code')` - - object: `sequence_type` - - args: `sequence_type.id` - - kwargs: - - where: `sequence_type.code == table.code` -- **after_super** `drop_column` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code'` - ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 122 -- **after_super** `execute` - - condition: `table_h.column_exist('code')` - - object: `cursor` - - args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))` -- **after_super** `update` - - condition: `table_h.column_exist('code')` - - object: `table` - - args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)` -- **after_super** `select` - - condition: `table_h.column_exist('code')` - - object: `sequence_type` - - args: `sequence_type.id` - - kwargs: - - where: `sequence_type.code == table.code` -- **after_super** `drop_column` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 122 -- **after_super** `execute` - - condition: `table_h.column_exist('code')` - - object: `cursor` - - args: `*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))` -- **after_super** `update` - - condition: `table_h.column_exist('code')` - - object: `table` - - args: `[table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)` -- **after_super** `select` - - condition: `table_h.column_exist('code')` - - object: `sequence_type` - - args: `sequence_type.id` - - kwargs: - - where: `sequence_type.code == table.code` -- **after_super** `drop_column` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code'` - ## Klasse SequenceType @@ -3118,73 +1050,24 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 39 ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 43 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 41 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 41 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 41 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 7.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 41 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 41 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/sequence.py : 41 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'code'` - - kwargs: - - action: `'remove'` - ## Klasse Session @@ -3198,59 +1081,24 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/session.py : 36 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/session.py : 36 -- **after_super** `index_action` - - object: `table` - - args: `'create_uid', 'add'` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/session.py : 36 -- **after_super** `index_action` - - object: `table` - - args: `'create_uid', 'add'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/session.py : 36 -- **after_super** `index_action` - - object: `table` - - args: `'create_uid', 'add'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/session.py : 32 -- **after_super** `index_action` - - object: `table` - - args: `'create_uid', 'add'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/session.py : 32 -- **after_super** `index_action` - - object: `table` - - args: `'create_uid', 'add'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/session.py : 32 -- **after_super** `index_action` - - object: `table` - - args: `'create_uid', 'add'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/session.py : 24 -- **after_super** `index_action` - - object: `table` - - args: `'create_uid', 'add'` - ## Klasse Translation @@ -3296,147 +1144,21 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 85 ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 86 -- **before_super** `drop_constraint` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'translation_md5_uniq'` -- **before_super** `drop_column` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'src_md5'` -- **after_super** `execute` - - object: `cursor` - - args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')` -- **after_super** `update` - - object: `ir_translation` - - args: `[ir_translation.type], ['report']` - - kwargs: - - where: `ir_translation.type == 'odt'` -- **after_super** `index_action` - - object: `table` - - args: `['lang', 'type', 'name'], 'add'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 86 -- **before_super** `drop_constraint` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'translation_md5_uniq'` -- **before_super** `drop_column` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'src_md5'` -- **after_super** `execute` - - object: `cursor` - - args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')` -- **after_super** `update` - - object: `ir_translation` - - args: `[ir_translation.type], ['report']` - - kwargs: - - where: `ir_translation.type == 'odt'` -- **after_super** `index_action` - - object: `table` - - args: `['lang', 'type', 'name'], 'add'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 80 -- **before_super** `drop_constraint` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'translation_md5_uniq'` -- **before_super** `drop_column` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'src_md5'` -- **after_super** `execute` - - object: `cursor` - - args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')` -- **after_super** `update` - - object: `ir_translation` - - args: `[ir_translation.type], ['report']` - - kwargs: - - where: `ir_translation.type == 'odt'` -- **after_super** `index_action` - - object: `table` - - args: `['lang', 'type', 'name'], 'add'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 80 -- **before_super** `drop_constraint` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'translation_md5_uniq'` -- **before_super** `drop_column` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'src_md5'` -- **after_super** `execute` - - object: `cursor` - - args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')` -- **after_super** `update` - - object: `ir_translation` - - args: `[ir_translation.type], ['report']` - - kwargs: - - where: `ir_translation.type == 'odt'` -- **after_super** `index_action` - - object: `table` - - args: `['lang', 'type', 'name'], 'add'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 80 -- **before_super** `drop_constraint` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'translation_md5_uniq'` -- **before_super** `drop_column` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'src_md5'` -- **after_super** `execute` - - object: `cursor` - - args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')` -- **after_super** `update` - - object: `ir_translation` - - args: `[ir_translation.type], ['report']` - - kwargs: - - where: `ir_translation.type == 'odt'` -- **after_super** `index_action` - - object: `table` - - args: `['lang', 'type', 'name'], 'add'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 79 -- **before_super** `drop_constraint` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'translation_md5_uniq'` -- **before_super** `drop_column` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'src_md5'` -- **after_super** `execute` - - object: `cursor` - - args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')` -- **after_super** `update` - - object: `ir_translation` - - args: `[ir_translation.type], ['report']` - - kwargs: - - where: `ir_translation.type == 'odt'` -- **after_super** `index_action` - - object: `table` - - args: `['lang', 'type', 'name'], 'add'` - ### 6.6 @@ -3461,24 +1183,6 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 110 ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 111 -- **before_super** `drop_constraint` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'translation_md5_uniq'` -- **before_super** `drop_column` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'src_md5'` -- **after_super** `execute` - - object: `cursor` - - args: `*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')` -- **after_super** `update` - - object: `ir_translation` - - args: `[ir_translation.type], ['report']` - - kwargs: - - where: `ir_translation.type == 'odt'` - ### 7.0 @@ -3495,29 +1199,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 115 ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 122 -- **before_super** `drop_constraint` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'translation_md5_uniq'` -- **before_super** `drop_column` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'src_md5'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/translation.py : 122 -- **before_super** `drop_constraint` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'translation_md5_uniq'` -- **before_super** `drop_column` - - condition: `table.column_exist('src_md5')` - - object: `table` - - args: `'src_md5'` - ## Klasse Trigger @@ -3542,59 +1226,13 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 74 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 76 -- **after_super** `execute` - - condition: `table.column_exist('minimum_delay')` - - object: `cursor` - - args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)` -- **after_super** `select` - - condition: `table.column_exist('minimum_delay')` - - object: `sql_table` - - args: `sql_table.id, sql_table.minimum_delay` - - kwargs: - - where: `sql_table.minimum_delay != Null` -- **after_super** `drop_column` - - condition: `table.column_exist('minimum_delay')` - - object: `table` - - args: `'minimum_delay'` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 76 -- **after_super** `execute` - - condition: `table.column_exist('minimum_delay')` - - object: `cursor` - - args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)` -- **after_super** `select` - - condition: `table.column_exist('minimum_delay')` - - object: `sql_table` - - args: `sql_table.id, sql_table.minimum_delay` - - kwargs: - - where: `sql_table.minimum_delay != Null` -- **after_super** `drop_column` - - condition: `table.column_exist('minimum_delay')` - - object: `table` - - args: `'minimum_delay'` - ### 5.6 file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 77 -- **after_super** `execute` - - condition: `table.column_exist('minimum_delay')` - - object: `cursor` - - args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)` -- **after_super** `select` - - condition: `table.column_exist('minimum_delay')` - - object: `sql_table` - - args: `sql_table.id, sql_table.minimum_delay` - - kwargs: - - where: `sql_table.minimum_delay != Null` -- **after_super** `drop_column` - - condition: `table.column_exist('minimum_delay')` - - object: `table` - - args: `'minimum_delay'` - **after_super** `select` - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - object: `model` @@ -3621,249 +1259,21 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 77 ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 73 -- **after_super** `execute` - - condition: `table.column_exist('minimum_delay')` - - object: `cursor` - - args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)` -- **after_super** `select` - - condition: `table.column_exist('minimum_delay')` - - object: `sql_table` - - args: `sql_table.id, sql_table.minimum_delay` - - kwargs: - - where: `sql_table.minimum_delay != Null` -- **after_super** `drop_column` - - condition: `table.column_exist('minimum_delay')` - - object: `table` - - args: `'minimum_delay'` -- **after_super** `select` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `model` - - args: `model.model` - - kwargs: - - where: `model.id == sql_table.action_model` -- **after_super** `execute` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `cursor` - - args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])` -- **after_super** `update` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `sql_table` - - args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_model'` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_function'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 73 -- **after_super** `execute` - - condition: `table.column_exist('minimum_delay')` - - object: `cursor` - - args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)` -- **after_super** `select` - - condition: `table.column_exist('minimum_delay')` - - object: `sql_table` - - args: `sql_table.id, sql_table.minimum_delay` - - kwargs: - - where: `sql_table.minimum_delay != Null` -- **after_super** `drop_column` - - condition: `table.column_exist('minimum_delay')` - - object: `table` - - args: `'minimum_delay'` -- **after_super** `select` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `model` - - args: `model.model` - - kwargs: - - where: `model.id == sql_table.action_model` -- **after_super** `execute` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `cursor` - - args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])` -- **after_super** `update` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `sql_table` - - args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_model'` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_function'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 73 -- **after_super** `execute` - - condition: `table.column_exist('minimum_delay')` - - object: `cursor` - - args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)` -- **after_super** `select` - - condition: `table.column_exist('minimum_delay')` - - object: `sql_table` - - args: `sql_table.id, sql_table.minimum_delay` - - kwargs: - - where: `sql_table.minimum_delay != Null` -- **after_super** `drop_column` - - condition: `table.column_exist('minimum_delay')` - - object: `table` - - args: `'minimum_delay'` -- **after_super** `select` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `model` - - args: `model.model` - - kwargs: - - where: `model.id == sql_table.action_model` -- **after_super** `execute` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `cursor` - - args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])` -- **after_super** `update` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `sql_table` - - args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_model'` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_function'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 73 -- **after_super** `execute` - - condition: `table.column_exist('minimum_delay')` - - object: `cursor` - - args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)` -- **after_super** `select` - - condition: `table.column_exist('minimum_delay')` - - object: `sql_table` - - args: `sql_table.id, sql_table.minimum_delay` - - kwargs: - - where: `sql_table.minimum_delay != Null` -- **after_super** `drop_column` - - condition: `table.column_exist('minimum_delay')` - - object: `table` - - args: `'minimum_delay'` -- **after_super** `select` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `model` - - args: `model.model` - - kwargs: - - where: `model.id == sql_table.action_model` -- **after_super** `execute` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `cursor` - - args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])` -- **after_super** `update` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `sql_table` - - args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_model'` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_function'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 74 -- **after_super** `execute` - - condition: `table.column_exist('minimum_delay')` - - object: `cursor` - - args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)` -- **after_super** `select` - - condition: `table.column_exist('minimum_delay')` - - object: `sql_table` - - args: `sql_table.id, sql_table.minimum_delay` - - kwargs: - - where: `sql_table.minimum_delay != Null` -- **after_super** `drop_column` - - condition: `table.column_exist('minimum_delay')` - - object: `table` - - args: `'minimum_delay'` -- **after_super** `select` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `model` - - args: `model.model` - - kwargs: - - where: `model.id == sql_table.action_model` -- **after_super** `execute` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `cursor` - - args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])` -- **after_super** `update` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `sql_table` - - args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_model'` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_function'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 79 -- **after_super** `execute` - - condition: `table.column_exist('minimum_delay')` - - object: `cursor` - - args: `*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)` -- **after_super** `select` - - condition: `table.column_exist('minimum_delay')` - - object: `sql_table` - - args: `sql_table.id, sql_table.minimum_delay` - - kwargs: - - where: `sql_table.minimum_delay != Null` -- **after_super** `drop_column` - - condition: `table.column_exist('minimum_delay')` - - object: `table` - - args: `'minimum_delay'` -- **after_super** `select` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `model` - - args: `model.model` - - kwargs: - - where: `model.id == sql_table.action_model` -- **after_super** `execute` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `cursor` - - args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])` -- **after_super** `update` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `sql_table` - - args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_model'` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_function'` - ### 7.0 @@ -3894,57 +1304,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 79 ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 79 -- **after_super** `select` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `model` - - args: `model.model` - - kwargs: - - where: `model.id == sql_table.action_model` -- **after_super** `execute` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `cursor` - - args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])` -- **after_super** `update` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `sql_table` - - args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_model'` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_function'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 79 -- **after_super** `select` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `model` - - args: `model.model` - - kwargs: - - where: `model.id == sql_table.action_model` -- **after_super** `execute` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `cursor` - - args: `*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])` -- **after_super** `update` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `sql_table` - - args: `[sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_model'` -- **after_super** `drop_column` - - condition: `table_h.column_exist('action_model') and table_h.column_exist('action_function')` - - object: `table_h` - - args: `'action_function'` - ## Klasse TriggerLog @@ -3958,59 +1320,24 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 300 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 302 -- **after_super** `index_action` - - object: `table` - - args: `['trigger', 'record_id'], 'add'` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 303 -- **after_super** `index_action` - - object: `table` - - args: `['trigger', 'record_id'], 'add'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 330 -- **after_super** `index_action` - - object: `table` - - args: `['trigger', 'record_id'], 'add'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 327 -- **after_super** `index_action` - - object: `table` - - args: `['trigger', 'record_id'], 'add'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 327 -- **after_super** `index_action` - - object: `table` - - args: `['trigger', 'record_id'], 'add'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 327 -- **after_super** `index_action` - - object: `table` - - args: `['trigger', 'record_id'], 'add'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/trigger.py : 329 -- **after_super** `index_action` - - object: `table` - - args: `['trigger', 'record_id'], 'add'` - ## Klasse ViewSearch @@ -4024,67 +1351,27 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 396 ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 389 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'user', 'remove'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 389 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'user', 'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 580 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'user', 'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 601 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'user', 'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 601 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'user', 'remove'` - ### 7.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 616 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'user', 'remove'` - ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 708 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'user', 'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 757 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'user', 'remove'` - ## Klasse ViewTreeOptional @@ -4119,66 +1406,12 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 570 ### 7.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 628 -- **before_super** `column_rename` - - object: `table_h` - - args: `'view_id', 'view'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)` -- **after_super** `update` - - object: `table` - - args: `[table.model], [view.select(view.model, where=view.id == table.view)]` - - kwargs: - - where: `table.model == Null` -- **after_super** `select` - - object: `view` - - args: `view.model` - - kwargs: - - where: `view.id == table.view` - ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 629 -- **before_super** `column_rename` - - object: `table_h` - - args: `'view_id', 'view'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)` -- **after_super** `update` - - object: `table` - - args: `[table.model], [view.select(view.model, where=view.id == table.view)]` - - kwargs: - - where: `table.model == Null` -- **after_super** `select` - - object: `view` - - args: `view.model` - - kwargs: - - where: `view.id == table.view` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 690 -- **before_super** `column_rename` - - object: `table_h` - - args: `'view_id', 'view'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)` -- **after_super** `update` - - object: `table` - - args: `[table.model], [view.select(view.model, where=view.id == table.view)]` - - kwargs: - - where: `table.model == Null` -- **after_super** `select` - - object: `view` - - args: `view.model` - - kwargs: - - where: `view.id == table.view` - ## Klasse ViewTreeState @@ -4192,59 +1425,24 @@ file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 313 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 323 -- **after_super** `index_action` - - object: `table` - - args: `['model', 'domain', 'user', 'child_name'], 'add'` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 323 -- **after_super** `index_action` - - object: `table` - - args: `['model', 'domain', 'user', 'child_name'], 'add'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 323 -- **after_super** `index_action` - - object: `table` - - args: `['model', 'domain', 'user', 'child_name'], 'add'` - ### 5.8 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 324 -- **after_super** `index_action` - - object: `table` - - args: `['model', 'domain', 'user', 'child_name'], 'add'` - ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 317 -- **after_super** `index_action` - - object: `table` - - args: `['model', 'domain', 'user', 'child_name'], 'add'` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 317 -- **after_super** `index_action` - - object: `table` - - args: `['model', 'domain', 'user', 'child_name'], 'add'` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/ir/ui/view.py : 508 -- **after_super** `index_action` - - object: `table` - - args: `['model', 'domain', 'user', 'child_name'], 'add'` - ## Klasse ViewTreeWidth diff --git a/reports/party.md b/reports/party.md index d0b8e7d..027f6f8 100644 --- a/reports/party.md +++ b/reports/party.md @@ -21,71 +21,15 @@ file: /home/uha4/tmp/tryton/modules/party/address.py : 61 ### 5.2 -file: /home/uha4/tmp/tryton/modules/party/address.py : 66 -- **after_super** `execute` - - condition: `table.column_exist('streetbis')` - - object: `cursor` - - args: `*sql_table.update([sql_table.street], [value])` -- **after_super** `update` - - condition: `table.column_exist('streetbis')` - - object: `sql_table` - - args: `[sql_table.street], [value]` -- **after_super** `drop_column` - - condition: `table.column_exist('streetbis')` - - object: `table` - - args: `'streetbis'` - ### 5.4 -file: /home/uha4/tmp/tryton/modules/party/address.py : 73 -- **after_super** `execute` - - condition: `table.column_exist('streetbis')` - - object: `cursor` - - args: `*sql_table.update([sql_table.street], [value])` -- **after_super** `update` - - condition: `table.column_exist('streetbis')` - - object: `sql_table` - - args: `[sql_table.street], [value]` -- **after_super** `drop_column` - - condition: `table.column_exist('streetbis')` - - object: `table` - - args: `'streetbis'` - ### 5.6 -file: /home/uha4/tmp/tryton/modules/party/address.py : 67 -- **after_super** `execute` - - condition: `table.column_exist('streetbis')` - - object: `cursor` - - args: `*sql_table.update([sql_table.street], [value])` -- **after_super** `update` - - condition: `table.column_exist('streetbis')` - - object: `sql_table` - - args: `[sql_table.street], [value]` -- **after_super** `drop_column` - - condition: `table.column_exist('streetbis')` - - object: `table` - - args: `'streetbis'` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/party/address.py : 67 -- **after_super** `execute` - - condition: `table.column_exist('streetbis')` - - object: `cursor` - - args: `*sql_table.update([sql_table.street], [value])` -- **after_super** `update` - - condition: `table.column_exist('streetbis')` - - object: `sql_table` - - args: `[sql_table.street], [value]` -- **after_super** `drop_column` - - condition: `table.column_exist('streetbis')` - - object: `table` - - args: `'streetbis'` - ### 6.0 @@ -109,83 +53,15 @@ file: /home/uha4/tmp/tryton/modules/party/address.py : 67 ### 6.2 -file: /home/uha4/tmp/tryton/modules/party/address.py : 67 -- **before_super** `column_rename` - - object: `table` - - args: `'zip', 'postal_code'` -- **after_super** `execute` - - condition: `table.column_exist('streetbis')` - - object: `cursor` - - args: `*sql_table.update([sql_table.street], [value])` -- **after_super** `update` - - condition: `table.column_exist('streetbis')` - - object: `sql_table` - - args: `[sql_table.street], [value]` -- **after_super** `drop_column` - - condition: `table.column_exist('streetbis')` - - object: `table` - - args: `'streetbis'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/party/address.py : 76 -- **before_super** `column_rename` - - object: `table` - - args: `'zip', 'postal_code'` -- **after_super** `execute` - - condition: `table.column_exist('streetbis')` - - object: `cursor` - - args: `*sql_table.update([sql_table.street], [value])` -- **after_super** `update` - - condition: `table.column_exist('streetbis')` - - object: `sql_table` - - args: `[sql_table.street], [value]` -- **after_super** `drop_column` - - condition: `table.column_exist('streetbis')` - - object: `table` - - args: `'streetbis'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/party/address.py : 85 -- **before_super** `column_rename` - - object: `table` - - args: `'zip', 'postal_code'` -- **after_super** `execute` - - condition: `table.column_exist('streetbis')` - - object: `cursor` - - args: `*sql_table.update([sql_table.street], [value])` -- **after_super** `update` - - condition: `table.column_exist('streetbis')` - - object: `sql_table` - - args: `[sql_table.street], [value]` -- **after_super** `drop_column` - - condition: `table.column_exist('streetbis')` - - object: `table` - - args: `'streetbis'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/party/address.py : 85 -- **before_super** `column_rename` - - object: `table` - - args: `'zip', 'postal_code'` -- **after_super** `execute` - - condition: `table.column_exist('streetbis')` - - object: `cursor` - - args: `*sql_table.update([sql_table.street], [value])` -- **after_super** `update` - - condition: `table.column_exist('streetbis')` - - object: `sql_table` - - args: `[sql_table.street], [value]` -- **after_super** `drop_column` - - condition: `table.column_exist('streetbis')` - - object: `table` - - args: `'streetbis'` - ### 7.0 @@ -197,19 +73,9 @@ file: /home/uha4/tmp/tryton/modules/party/address.py : 84 ### 7.2 -file: /home/uha4/tmp/tryton/modules/party/address.py : 84 -- **before_super** `column_rename` - - object: `table` - - args: `'zip', 'postal_code'` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/party/address.py : 84 -- **before_super** `column_rename` - - object: `table` - - args: `'zip', 'postal_code'` - ### 7.6 @@ -224,25 +90,9 @@ file: /home/uha4/tmp/tryton/modules/party/address.py : 160 ### 7.8 -file: /home/uha4/tmp/tryton/modules/party/address.py : 160 -- **before_super** `column_rename` - - object: `table` - - args: `'street', 'street_unstructured'` -- **before_super** `column_rename` - - object: `table` - - args: `'name', 'building_name'` - ### 8.0 -file: /home/uha4/tmp/tryton/modules/party/address.py : 161 -- **before_super** `column_rename` - - object: `table` - - args: `'street', 'street_unstructured'` -- **before_super** `column_rename` - - object: `table` - - args: `'name', 'building_name'` - ## Klasse AddressFormat @@ -289,413 +139,33 @@ file: /home/uha4/tmp/tryton/modules/party/address.py : 271 ### 5.6 -file: /home/uha4/tmp/tryton/modules/party/address.py : 265 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/party/address.py : 265 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/party/address.py : 278 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/party/address.py : 271 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/party/address.py : 295 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/party/address.py : 312 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/party/address.py : 312 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ### 7.0 -file: /home/uha4/tmp/tryton/modules/party/address.py : 303 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ### 7.2 -file: /home/uha4/tmp/tryton/modules/party/address.py : 303 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/party/address.py : 303 -- **after_super** `update` - - condition: `table_h.column_exist('country')` - - object: `table` - - args: `[table.country_code], country.select(country.code, where=country.id == table.country)` -- **after_super** `select` - - condition: `table_h.column_exist('country')` - - object: `country` - - args: `country.code` - - kwargs: - - where: `country.id == table.country` -- **after_super** `execute` - - condition: `table_h.column_exist('country')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('country')` - - object: `table_h` - - args: `'country'` -- **after_super** `update` - - condition: `table_h.column_exist('language')` - - object: `table` - - args: `[table.language_code], language.select(Substring(language.code, 0, 2), where=language.id == table.language)` -- **after_super** `select` - - condition: `table_h.column_exist('language')` - - object: `language` - - args: `Substring(language.code, 0, 2)` - - kwargs: - - where: `language.id == table.language` -- **after_super** `execute` - - condition: `table_h.column_exist('language')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `table_h.column_exist('language')` - - object: `table_h` - - args: `'language'` - ## Klasse Category @@ -709,75 +179,30 @@ file: /home/uha4/tmp/tryton/modules/party/category.py : 43 ### 5.2 -file: /home/uha4/tmp/tryton/modules/party/category.py : 43 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_parent_uniq'` - ### 5.4 -file: /home/uha4/tmp/tryton/modules/party/category.py : 43 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_parent_uniq'` - ### 5.6 -file: /home/uha4/tmp/tryton/modules/party/category.py : 35 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_parent_uniq'` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/party/category.py : 35 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_parent_uniq'` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/party/category.py : 35 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_parent_uniq'` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/party/category.py : 35 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_parent_uniq'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/party/category.py : 35 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_parent_uniq'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/party/category.py : 35 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_parent_uniq'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/party/category.py : 35 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'name_parent_uniq'` - ## Klasse Configuration @@ -796,68 +221,18 @@ file: /home/uha4/tmp/tryton/modules/party/configuration.py : 34 ### 7.2 -file: /home/uha4/tmp/tryton/modules/party/configuration.py : 34 -- **after_super** `execute` - - condition: `configuration.identifier_types != identifier_types` - - object: `cursor` - - args: `*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])` -- **after_super** `update` - - condition: `configuration.identifier_types != identifier_types` - - object: `table` - - args: `[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/party/configuration.py : 34 -- **after_super** `execute` - - condition: `configuration.identifier_types != identifier_types` - - object: `cursor` - - args: `*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])` -- **after_super** `update` - - condition: `configuration.identifier_types != identifier_types` - - object: `table` - - args: `[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]` - ### 7.6 -file: /home/uha4/tmp/tryton/modules/party/configuration.py : 33 -- **after_super** `execute` - - condition: `configuration.identifier_types != identifier_types` - - object: `cursor` - - args: `*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])` -- **after_super** `update` - - condition: `configuration.identifier_types != identifier_types` - - object: `table` - - args: `[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]` - ### 7.8 -file: /home/uha4/tmp/tryton/modules/party/configuration.py : 33 -- **after_super** `execute` - - condition: `configuration.identifier_types != identifier_types` - - object: `cursor` - - args: `*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])` -- **after_super** `update` - - condition: `configuration.identifier_types != identifier_types` - - object: `table` - - args: `[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]` - ### 8.0 -file: /home/uha4/tmp/tryton/modules/party/configuration.py : 33 -- **after_super** `execute` - - condition: `configuration.identifier_types != identifier_types` - - object: `cursor` - - args: `*table.update([table.identifier_types], [cls.identifier_types.sql_format(identifier_types)])` -- **after_super** `update` - - condition: `configuration.identifier_types != identifier_types` - - object: `table` - - args: `[table.identifier_types], [cls.identifier_types.sql_format(identifier_types)]` - ## Klasse Identifier @@ -886,48 +261,10 @@ file: /home/uha4/tmp/tryton/modules/party/party.py : 428 ### 5.8 -file: /home/uha4/tmp/tryton/modules/party/party.py : 445 -- **after_super** `execute` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `cursor` - - args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))` -- **after_super** `select` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party` - - args: `party.id, party.vat_number, party.vat_country` - - kwargs: - - where: `(party.vat_number != Null) | (party.vat_country != Null)` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_number'` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_country'` - ### 6.0 file: /home/uha4/tmp/tryton/modules/party/party.py : 515 -- **after_super** `execute` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `cursor` - - args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))` -- **after_super** `select` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party` - - args: `party.id, party.vat_number, party.vat_country` - - kwargs: - - where: `(party.vat_number != Null) | (party.vat_country != Null)` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_number'` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_country'` - **after_super** `execute` - object: `cursor` - args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')` @@ -940,127 +277,15 @@ file: /home/uha4/tmp/tryton/modules/party/party.py : 515 ### 6.2 -file: /home/uha4/tmp/tryton/modules/party/party.py : 625 -- **after_super** `execute` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `cursor` - - args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))` -- **after_super** `select` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party` - - args: `party.id, party.vat_number, party.vat_country` - - kwargs: - - where: `(party.vat_number != Null) | (party.vat_country != Null)` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_number'` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_country'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['cn_ric']` - - kwargs: - - where: `table.type == 'cn_rit'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/party/party.py : 636 -- **after_super** `execute` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `cursor` - - args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))` -- **after_super** `select` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party` - - args: `party.id, party.vat_number, party.vat_country` - - kwargs: - - where: `(party.vat_number != Null) | (party.vat_country != Null)` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_number'` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_country'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['cn_ric']` - - kwargs: - - where: `table.type == 'cn_rit'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/party/party.py : 625 -- **after_super** `execute` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `cursor` - - args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))` -- **after_super** `select` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party` - - args: `party.id, party.vat_number, party.vat_country` - - kwargs: - - where: `(party.vat_number != Null) | (party.vat_country != Null)` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_number'` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_country'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['cn_ric']` - - kwargs: - - where: `table.type == 'cn_rit'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/party/party.py : 625 -- **after_super** `execute` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `cursor` - - args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))` -- **after_super** `select` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party` - - args: `party.id, party.vat_number, party.vat_country` - - kwargs: - - where: `(party.vat_number != Null) | (party.vat_country != Null)` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_number'` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_country'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['cn_ric']` - - kwargs: - - where: `table.type == 'cn_rit'` - ### 7.0 @@ -1077,28 +302,10 @@ file: /home/uha4/tmp/tryton/modules/party/party.py : 780 ### 7.2 -file: /home/uha4/tmp/tryton/modules/party/party.py : 805 -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['cn_ric']` - - kwargs: - - where: `table.type == 'cn_rit'` - ### 7.4 file: /home/uha4/tmp/tryton/modules/party/party.py : 823 -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['cn_ric'], where=table.type == 'cn_rit')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['cn_ric']` - - kwargs: - - where: `table.type == 'cn_rit'` - **after_super** `execute` - object: `cursor` - args: `*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')` @@ -1132,44 +339,10 @@ file: /home/uha4/tmp/tryton/modules/party/party.py : 825 ### 7.8 -file: /home/uha4/tmp/tryton/modules/party/party.py : 844 -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['uy_rut']` - - kwargs: - - where: `table.type == 'uy_ruc'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['co_nit']` - - kwargs: - - where: `table.type == 'co_rut'` - ### 8.0 file: /home/uha4/tmp/tryton/modules/party/party.py : 859 -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['uy_rut'], where=table.type == 'uy_ruc')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['uy_rut']` - - kwargs: - - where: `table.type == 'uy_ruc'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.type], ['co_nit'], where=table.type == 'co_rut')` -- **after_super** `update` - - object: `table` - - args: `[table.type], ['co_nit']` - - kwargs: - - where: `table.type == 'co_rut'` - **after_super** `execute` - condition: `fill_code_compact` - object: `cursor` @@ -1200,75 +373,30 @@ file: /home/uha4/tmp/tryton/modules/party/party.py : 89 ### 5.2 -file: /home/uha4/tmp/tryton/modules/party/party.py : 91 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'name', 'remove'` - ### 5.4 -file: /home/uha4/tmp/tryton/modules/party/party.py : 91 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'name', 'remove'` - ### 5.6 -file: /home/uha4/tmp/tryton/modules/party/party.py : 81 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'name', 'remove'` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/party/party.py : 81 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'name', 'remove'` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/party/party.py : 84 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'name', 'remove'` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/party/party.py : 103 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'name', 'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/party/party.py : 102 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'name', 'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/party/party.py : 110 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'name', 'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/party/party.py : 110 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'name', 'remove'` - ## Klasse PartyIdentifier @@ -1297,49 +425,9 @@ file: /home/uha4/tmp/tryton/modules/party/party.py : 329 ### 5.2 -file: /home/uha4/tmp/tryton/modules/party/party.py : 439 -- **after_super** `execute` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `cursor` - - args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))` -- **after_super** `select` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party` - - args: `party.id, party.vat_number, party.vat_country` - - kwargs: - - where: `(party.vat_number != Null) | (party.vat_country != Null)` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_number'` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_country'` - ### 5.4 -file: /home/uha4/tmp/tryton/modules/party/party.py : 439 -- **after_super** `execute` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `cursor` - - args: `*party.select(party.id, party.vat_number, party.vat_country, where=(party.vat_number != Null) | (party.vat_country != Null))` -- **after_super** `select` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party` - - args: `party.id, party.vat_number, party.vat_country` - - kwargs: - - where: `(party.vat_number != Null) | (party.vat_country != Null)` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_number'` -- **after_super** `drop_column` - - condition: `party_h.column_exist('vat_number') and party_h.column_exist('vat_country')` - - object: `party_h` - - args: `'vat_country'` - ## Klasse PartyLang @@ -1366,190 +454,28 @@ file: /home/uha4/tmp/tryton/modules/party/party.py : 265 ### 5.2 -file: /home/uha4/tmp/tryton/modules/party/party.py : 278 -- **after_super** `insert` - - condition: `party_h.column_exist('lang')` - - object: `table` - - args: `[table.party, table.lang], party.select(party.id, party.lang)` -- **after_super** `select` - - condition: `party_h.column_exist('lang')` - - object: `party` - - args: `party.id, party.lang` -- **after_super** `execute` - - condition: `party_h.column_exist('lang')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `party_h.column_exist('lang')` - - object: `party_h` - - args: `'lang'` - ### 5.4 -file: /home/uha4/tmp/tryton/modules/party/party.py : 278 -- **after_super** `insert` - - condition: `party_h.column_exist('lang')` - - object: `table` - - args: `[table.party, table.lang], party.select(party.id, party.lang)` -- **after_super** `select` - - condition: `party_h.column_exist('lang')` - - object: `party` - - args: `party.id, party.lang` -- **after_super** `execute` - - condition: `party_h.column_exist('lang')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `party_h.column_exist('lang')` - - object: `party_h` - - args: `'lang'` - ### 5.6 -file: /home/uha4/tmp/tryton/modules/party/party.py : 268 -- **after_super** `insert` - - condition: `party_h.column_exist('lang')` - - object: `table` - - args: `[table.party, table.lang], party.select(party.id, party.lang)` -- **after_super** `select` - - condition: `party_h.column_exist('lang')` - - object: `party` - - args: `party.id, party.lang` -- **after_super** `execute` - - condition: `party_h.column_exist('lang')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `party_h.column_exist('lang')` - - object: `party_h` - - args: `'lang'` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/party/party.py : 270 -- **after_super** `insert` - - condition: `party_h.column_exist('lang')` - - object: `table` - - args: `[table.party, table.lang], party.select(party.id, party.lang)` -- **after_super** `select` - - condition: `party_h.column_exist('lang')` - - object: `party` - - args: `party.id, party.lang` -- **after_super** `execute` - - condition: `party_h.column_exist('lang')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `party_h.column_exist('lang')` - - object: `party_h` - - args: `'lang'` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/party/party.py : 322 -- **after_super** `insert` - - condition: `party_h.column_exist('lang')` - - object: `table` - - args: `[table.party, table.lang], party.select(party.id, party.lang)` -- **after_super** `select` - - condition: `party_h.column_exist('lang')` - - object: `party` - - args: `party.id, party.lang` -- **after_super** `execute` - - condition: `party_h.column_exist('lang')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `party_h.column_exist('lang')` - - object: `party_h` - - args: `'lang'` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/party/party.py : 357 -- **after_super** `insert` - - condition: `party_h.column_exist('lang')` - - object: `table` - - args: `[table.party, table.lang], party.select(party.id, party.lang)` -- **after_super** `select` - - condition: `party_h.column_exist('lang')` - - object: `party` - - args: `party.id, party.lang` -- **after_super** `execute` - - condition: `party_h.column_exist('lang')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `party_h.column_exist('lang')` - - object: `party_h` - - args: `'lang'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/party/party.py : 356 -- **after_super** `insert` - - condition: `party_h.column_exist('lang')` - - object: `table` - - args: `[table.party, table.lang], party.select(party.id, party.lang)` -- **after_super** `select` - - condition: `party_h.column_exist('lang')` - - object: `party` - - args: `party.id, party.lang` -- **after_super** `execute` - - condition: `party_h.column_exist('lang')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `party_h.column_exist('lang')` - - object: `party_h` - - args: `'lang'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/party/party.py : 345 -- **after_super** `insert` - - condition: `party_h.column_exist('lang')` - - object: `table` - - args: `[table.party, table.lang], party.select(party.id, party.lang)` -- **after_super** `select` - - condition: `party_h.column_exist('lang')` - - object: `party` - - args: `party.id, party.lang` -- **after_super** `execute` - - condition: `party_h.column_exist('lang')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `party_h.column_exist('lang')` - - object: `party_h` - - args: `'lang'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/party/party.py : 345 -- **after_super** `insert` - - condition: `party_h.column_exist('lang')` - - object: `table` - - args: `[table.party, table.lang], party.select(party.id, party.lang)` -- **after_super** `select` - - condition: `party_h.column_exist('lang')` - - object: `party` - - args: `party.id, party.lang` -- **after_super** `execute` - - condition: `party_h.column_exist('lang')` - - object: `cursor` - - args: `*query` -- **after_super** `drop_column` - - condition: `party_h.column_exist('lang')` - - object: `party_h` - - args: `'lang'` - diff --git a/reports/product.md b/reports/product.md index 02b7cd0..212ce29 100644 --- a/reports/product.md +++ b/reports/product.md @@ -17,120 +17,30 @@ file: /home/uha4/tmp/tryton/modules/product/product.py : 360 ### 5.8 -file: /home/uha4/tmp/tryton/modules/product/product.py : 401 -- **after_super** `execute` - - condition: `fill_suffix_code` - - object: `cursor` - - args: `*table.update([table.suffix_code], [table.code])` -- **after_super** `update` - - condition: `fill_suffix_code` - - object: `table` - - args: `[table.suffix_code], [table.code]` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/product/product.py : 416 -- **after_super** `execute` - - condition: `fill_suffix_code` - - object: `cursor` - - args: `*table.update([table.suffix_code], [table.code])` -- **after_super** `update` - - condition: `fill_suffix_code` - - object: `table` - - args: `[table.suffix_code], [table.code]` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/product/product.py : 432 -- **after_super** `execute` - - condition: `fill_suffix_code` - - object: `cursor` - - args: `*table.update([table.suffix_code], [table.code])` -- **after_super** `update` - - condition: `fill_suffix_code` - - object: `table` - - args: `[table.suffix_code], [table.code]` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/product/product.py : 424 -- **after_super** `execute` - - condition: `fill_suffix_code` - - object: `cursor` - - args: `*table.update([table.suffix_code], [table.code])` -- **after_super** `update` - - condition: `fill_suffix_code` - - object: `table` - - args: `[table.suffix_code], [table.code]` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/product/product.py : 444 -- **after_super** `execute` - - condition: `fill_suffix_code` - - object: `cursor` - - args: `*table.update([table.suffix_code], [table.code])` -- **after_super** `update` - - condition: `fill_suffix_code` - - object: `table` - - args: `[table.suffix_code], [table.code]` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/product/product.py : 447 -- **after_super** `execute` - - condition: `fill_suffix_code` - - object: `cursor` - - args: `*table.update([table.suffix_code], [table.code])` -- **after_super** `update` - - condition: `fill_suffix_code` - - object: `table` - - args: `[table.suffix_code], [table.code]` - ### 7.0 -file: /home/uha4/tmp/tryton/modules/product/product.py : 494 -- **after_super** `execute` - - condition: `fill_suffix_code` - - object: `cursor` - - args: `*table.update([table.suffix_code], [table.code])` -- **after_super** `update` - - condition: `fill_suffix_code` - - object: `table` - - args: `[table.suffix_code], [table.code]` - ### 7.2 -file: /home/uha4/tmp/tryton/modules/product/product.py : 477 -- **after_super** `execute` - - condition: `fill_suffix_code` - - object: `cursor` - - args: `*table.update([table.suffix_code], [table.code])` -- **after_super** `update` - - condition: `fill_suffix_code` - - object: `table` - - args: `[table.suffix_code], [table.code]` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/product/product.py : 505 -- **after_super** `execute` - - condition: `fill_suffix_code` - - object: `cursor` - - args: `*table.update([table.suffix_code], [table.code])` -- **after_super** `update` - - condition: `fill_suffix_code` - - object: `table` - - args: `[table.suffix_code], [table.code]` - ## Klasse ProductCostPrice @@ -174,345 +84,30 @@ file: /home/uha4/tmp/tryton/modules/product/product.py : 429 ### 5.2 -file: /home/uha4/tmp/tryton/modules/product/product.py : 437 -- **after_super** `add_column` - - condition: `not exist` - - object: `table` - - args: `'template', 'INTEGER'` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))` -- **after_super** `insert` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]` - - values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `select` - - condition: `table.column_exist('template')` - - object: `sql_table.join(product, condition=sql_table.template == product.template)` - - args: `*[Column(sql_table, c) for c in columns] + [product.id]` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `delete` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('template')` - - object: `table` - - args: `'template'` - ### 5.4 -file: /home/uha4/tmp/tryton/modules/product/product.py : 494 -- **after_super** `add_column` - - condition: `not exist` - - object: `table` - - args: `'template', 'INTEGER'` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))` -- **after_super** `insert` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]` - - values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `select` - - condition: `table.column_exist('template')` - - object: `sql_table.join(product, condition=sql_table.template == product.template)` - - args: `*[Column(sql_table, c) for c in columns] + [product.id]` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `delete` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('template')` - - object: `table` - - args: `'template'` - ### 5.6 -file: /home/uha4/tmp/tryton/modules/product/product.py : 634 -- **after_super** `add_column` - - condition: `not exist` - - object: `table` - - args: `'template', 'INTEGER'` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))` -- **after_super** `insert` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]` - - values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `select` - - condition: `table.column_exist('template')` - - object: `sql_table.join(product, condition=sql_table.template == product.template)` - - args: `*[Column(sql_table, c) for c in columns] + [product.id]` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `delete` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('template')` - - object: `table` - - args: `'template'` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/product/product.py : 678 -- **after_super** `add_column` - - condition: `not exist` - - object: `table` - - args: `'template', 'INTEGER'` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))` -- **after_super** `insert` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]` - - values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `select` - - condition: `table.column_exist('template')` - - object: `sql_table.join(product, condition=sql_table.template == product.template)` - - args: `*[Column(sql_table, c) for c in columns] + [product.id]` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `delete` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('template')` - - object: `table` - - args: `'template'` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/product/product.py : 707 -- **after_super** `add_column` - - condition: `not exist` - - object: `table` - - args: `'template', 'INTEGER'` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))` -- **after_super** `insert` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]` - - values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `select` - - condition: `table.column_exist('template')` - - object: `sql_table.join(product, condition=sql_table.template == product.template)` - - args: `*[Column(sql_table, c) for c in columns] + [product.id]` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `delete` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('template')` - - object: `table` - - args: `'template'` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/product/product.py : 742 -- **after_super** `add_column` - - condition: `not exist` - - object: `table` - - args: `'template', 'INTEGER'` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))` -- **after_super** `insert` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]` - - values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `select` - - condition: `table.column_exist('template')` - - object: `sql_table.join(product, condition=sql_table.template == product.template)` - - args: `*[Column(sql_table, c) for c in columns] + [product.id]` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `delete` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('template')` - - object: `table` - - args: `'template'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/product/product.py : 734 -- **after_super** `add_column` - - condition: `not exist` - - object: `table` - - args: `'template', 'INTEGER'` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))` -- **after_super** `insert` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]` - - values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `select` - - condition: `table.column_exist('template')` - - object: `sql_table.join(product, condition=sql_table.template == product.template)` - - args: `*[Column(sql_table, c) for c in columns] + [product.id]` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `delete` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('template')` - - object: `table` - - args: `'template'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/product/product.py : 772 -- **after_super** `add_column` - - condition: `not exist` - - object: `table` - - args: `'template', 'INTEGER'` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))` -- **after_super** `insert` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]` - - values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `select` - - condition: `table.column_exist('template')` - - object: `sql_table.join(product, condition=sql_table.template == product.template)` - - args: `*[Column(sql_table, c) for c in columns] + [product.id]` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `delete` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('template')` - - object: `table` - - args: `'template'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/product/product.py : 796 -- **after_super** `add_column` - - condition: `not exist` - - object: `table` - - args: `'template', 'INTEGER'` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))` -- **after_super** `insert` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]` - - values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `select` - - condition: `table.column_exist('template')` - - object: `sql_table.join(product, condition=sql_table.template == product.template)` - - args: `*[Column(sql_table, c) for c in columns] + [product.id]` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `execute` - - condition: `table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))` -- **after_super** `delete` - - condition: `table.column_exist('template')` - - object: `sql_table` - - kwargs: - - where: `(sql_table.template != Null) & (sql_table.product == Null)` -- **after_super** `drop_column` - - condition: `table.column_exist('template')` - - object: `table` - - args: `'template'` - ## Klasse ProductCostPriceMethod @@ -537,172 +132,28 @@ file: /home/uha4/tmp/tryton/modules/product/product.py : 374 ### 5.2 -file: /home/uha4/tmp/tryton/modules/product/product.py : 382 -- **after_super** `execute` - - condition: `cost_price_table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))` -- **after_super** `insert` - - condition: `cost_price_table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns]` - - values: `cost_price.select(*[Column(cost_price, c) for c in columns])` -- **after_super** `select` - - condition: `cost_price_table.column_exist('template')` - - object: `cost_price` - - args: `*[Column(cost_price, c) for c in columns]` - ### 5.4 -file: /home/uha4/tmp/tryton/modules/product/product.py : 439 -- **after_super** `execute` - - condition: `cost_price_table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))` -- **after_super** `insert` - - condition: `cost_price_table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns]` - - values: `cost_price.select(*[Column(cost_price, c) for c in columns])` -- **after_super** `select` - - condition: `cost_price_table.column_exist('template')` - - object: `cost_price` - - args: `*[Column(cost_price, c) for c in columns]` - ### 5.6 -file: /home/uha4/tmp/tryton/modules/product/product.py : 578 -- **after_super** `execute` - - condition: `cost_price_table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))` -- **after_super** `insert` - - condition: `cost_price_table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns]` - - values: `cost_price.select(*[Column(cost_price, c) for c in columns])` -- **after_super** `select` - - condition: `cost_price_table.column_exist('template')` - - object: `cost_price` - - args: `*[Column(cost_price, c) for c in columns]` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/product/product.py : 622 -- **after_super** `execute` - - condition: `cost_price_table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))` -- **after_super** `insert` - - condition: `cost_price_table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns]` - - values: `cost_price.select(*[Column(cost_price, c) for c in columns])` -- **after_super** `select` - - condition: `cost_price_table.column_exist('template')` - - object: `cost_price` - - args: `*[Column(cost_price, c) for c in columns]` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/product/product.py : 647 -- **after_super** `execute` - - condition: `cost_price_table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))` -- **after_super** `insert` - - condition: `cost_price_table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns]` - - values: `cost_price.select(*[Column(cost_price, c) for c in columns])` -- **after_super** `select` - - condition: `cost_price_table.column_exist('template')` - - object: `cost_price` - - args: `*[Column(cost_price, c) for c in columns]` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/product/product.py : 677 -- **after_super** `execute` - - condition: `cost_price_table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))` -- **after_super** `insert` - - condition: `cost_price_table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns]` - - values: `cost_price.select(*[Column(cost_price, c) for c in columns])` -- **after_super** `select` - - condition: `cost_price_table.column_exist('template')` - - object: `cost_price` - - args: `*[Column(cost_price, c) for c in columns]` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/product/product.py : 669 -- **after_super** `execute` - - condition: `cost_price_table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))` -- **after_super** `insert` - - condition: `cost_price_table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns]` - - values: `cost_price.select(*[Column(cost_price, c) for c in columns])` -- **after_super** `select` - - condition: `cost_price_table.column_exist('template')` - - object: `cost_price` - - args: `*[Column(cost_price, c) for c in columns]` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/product/product.py : 708 -- **after_super** `execute` - - condition: `cost_price_table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))` -- **after_super** `insert` - - condition: `cost_price_table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns]` - - values: `cost_price.select(*[Column(cost_price, c) for c in columns])` -- **after_super** `select` - - condition: `cost_price_table.column_exist('template')` - - object: `cost_price` - - args: `*[Column(cost_price, c) for c in columns]` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/product/product.py : 732 -- **after_super** `execute` - - condition: `cost_price_table.column_exist('template')` - - object: `cursor` - - args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))` -- **after_super** `insert` - - condition: `cost_price_table.column_exist('template')` - - object: `sql_table` - - kwargs: - - columns: `[Column(sql_table, c) for c in columns]` - - values: `cost_price.select(*[Column(cost_price, c) for c in columns])` -- **after_super** `select` - - condition: `cost_price_table.column_exist('template')` - - object: `cost_price` - - args: `*[Column(cost_price, c) for c in columns]` - diff --git a/reports/production.md b/reports/production.md index 7ab3eb0..ad11259 100644 --- a/reports/production.md +++ b/reports/production.md @@ -12,27 +12,12 @@ file: /home/uha4/tmp/tryton/modules/production/bom.py : 70 ### 6.4 -file: /home/uha4/tmp/tryton/modules/production/bom.py : 70 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'product_bom_uniq'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/production/bom.py : 70 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'product_bom_uniq'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/production/bom.py : 70 -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'product_bom_uniq'` - ### 7.0 @@ -48,50 +33,16 @@ file: /home/uha4/tmp/tryton/modules/production/bom.py : 72 ### 7.2 -file: /home/uha4/tmp/tryton/modules/production/bom.py : 72 -- **before_super** `column_rename` - - condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))` - - object: `table_h` - - args: `'uom', 'unit'` -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'product_bom_uniq'` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/production/bom.py : 146 -- **before_super** `column_rename` - - condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))` - - object: `table_h` - - args: `'uom', 'unit'` -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'product_bom_uniq'` - ### 7.6 -file: /home/uha4/tmp/tryton/modules/production/bom.py : 142 -- **before_super** `column_rename` - - condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))` - - object: `table_h` - - args: `'uom', 'unit'` -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'product_bom_uniq'` - ### 7.8 file: /home/uha4/tmp/tryton/modules/production/bom.py : 208 -- **before_super** `column_rename` - - condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))` - - object: `table_h` - - args: `'uom', 'unit'` -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'product_bom_uniq'` - **after_super** `not_null_action` - object: `table_h` - args: `'product', 'remove'` @@ -99,18 +50,6 @@ file: /home/uha4/tmp/tryton/modules/production/bom.py : 208 ### 8.0 -file: /home/uha4/tmp/tryton/modules/production/bom.py : 208 -- **before_super** `column_rename` - - condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))` - - object: `table_h` - - args: `'uom', 'unit'` -- **after_super** `drop_constraint` - - object: `table_h` - - args: `'product_bom_uniq'` -- **after_super** `not_null_action` - - object: `table_h` - - args: `'product', 'remove'` - ## Klasse Cron @@ -129,55 +68,15 @@ file: /home/uha4/tmp/tryton/modules/production/ir.py : 19 ### 7.4 -file: /home/uha4/tmp/tryton/modules/production/ir.py : 19 -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')` -- **after_super** `update` - - object: `table` - - args: `[table.method], ['ir.cron|stock_shipment_assign_try']` - - kwargs: - - where: `table.method == 'production|assign_cron'` - ### 7.6 -file: /home/uha4/tmp/tryton/modules/production/ir.py : 19 -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')` -- **after_super** `update` - - object: `table` - - args: `[table.method], ['ir.cron|stock_shipment_assign_try']` - - kwargs: - - where: `table.method == 'production|assign_cron'` - ### 7.8 -file: /home/uha4/tmp/tryton/modules/production/ir.py : 19 -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')` -- **after_super** `update` - - object: `table` - - args: `[table.method], ['ir.cron|stock_shipment_assign_try']` - - kwargs: - - where: `table.method == 'production|assign_cron'` - ### 8.0 -file: /home/uha4/tmp/tryton/modules/production/ir.py : 19 -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')` -- **after_super** `update` - - object: `table` - - args: `[table.method], ['ir.cron|stock_shipment_assign_try']` - - kwargs: - - where: `table.method == 'production|assign_cron'` - ## Klasse Production @@ -200,70 +99,16 @@ file: /home/uha4/tmp/tryton/modules/production/production.py : 224 ### 5.2 -file: /home/uha4/tmp/tryton/modules/production/production.py : 222 -- **before_super** `column_rename` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code', 'number'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))` -- **after_super** `update` - - object: `table` - - args: `[table.planned_start_date], [table.planned_date]` - - kwargs: - - where: `(table.planned_start_date == Null) & (table.planned_date != Null)` - ### 5.4 -file: /home/uha4/tmp/tryton/modules/production/production.py : 222 -- **before_super** `column_rename` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code', 'number'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))` -- **after_super** `update` - - object: `table` - - args: `[table.planned_start_date], [table.planned_date]` - - kwargs: - - where: `(table.planned_start_date == Null) & (table.planned_date != Null)` - ### 5.6 -file: /home/uha4/tmp/tryton/modules/production/production.py : 249 -- **before_super** `column_rename` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code', 'number'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))` -- **after_super** `update` - - object: `table` - - args: `[table.planned_start_date], [table.planned_date]` - - kwargs: - - where: `(table.planned_start_date == Null) & (table.planned_date != Null)` - ### 5.8 file: /home/uha4/tmp/tryton/modules/production/production.py : 254 -- **before_super** `column_rename` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code', 'number'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))` -- **after_super** `update` - - object: `table` - - args: `[table.planned_start_date], [table.planned_date]` - - kwargs: - - where: `(table.planned_start_date == Null) & (table.planned_date != Null)` - **after_super** `execute` - object: `cursor` - args: `*table.update([table.state], ['cancelled'], where=table.state == 'cancel')` @@ -276,128 +121,18 @@ file: /home/uha4/tmp/tryton/modules/production/production.py : 254 ### 6.0 -file: /home/uha4/tmp/tryton/modules/production/production.py : 264 -- **before_super** `column_rename` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code', 'number'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))` -- **after_super** `update` - - object: `table` - - args: `[table.planned_start_date], [table.planned_date]` - - kwargs: - - where: `(table.planned_start_date == Null) & (table.planned_date != Null)` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.state], ['cancelled'], where=table.state == 'cancel')` -- **after_super** `update` - - object: `table` - - args: `[table.state], ['cancelled']` - - kwargs: - - where: `table.state == 'cancel'` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/production/production.py : 265 -- **before_super** `column_rename` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code', 'number'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))` -- **after_super** `update` - - object: `table` - - args: `[table.planned_start_date], [table.planned_date]` - - kwargs: - - where: `(table.planned_start_date == Null) & (table.planned_date != Null)` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.state], ['cancelled'], where=table.state == 'cancel')` -- **after_super** `update` - - object: `table` - - args: `[table.state], ['cancelled']` - - kwargs: - - where: `table.state == 'cancel'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/production/production.py : 250 -- **before_super** `column_rename` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code', 'number'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))` -- **after_super** `update` - - object: `table` - - args: `[table.planned_start_date], [table.planned_date]` - - kwargs: - - where: `(table.planned_start_date == Null) & (table.planned_date != Null)` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.state], ['cancelled'], where=table.state == 'cancel')` -- **after_super** `update` - - object: `table` - - args: `[table.state], ['cancelled']` - - kwargs: - - where: `table.state == 'cancel'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/production/production.py : 266 -- **before_super** `column_rename` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code', 'number'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))` -- **after_super** `update` - - object: `table` - - args: `[table.planned_start_date], [table.planned_date]` - - kwargs: - - where: `(table.planned_start_date == Null) & (table.planned_date != Null)` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.state], ['cancelled'], where=table.state == 'cancel')` -- **after_super** `update` - - object: `table` - - args: `[table.state], ['cancelled']` - - kwargs: - - where: `table.state == 'cancel'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/production/production.py : 263 -- **before_super** `column_rename` - - condition: `table_h.column_exist('code')` - - object: `table_h` - - args: `'code', 'number'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))` -- **after_super** `update` - - object: `table` - - args: `[table.planned_start_date], [table.planned_date]` - - kwargs: - - where: `(table.planned_start_date == Null) & (table.planned_date != Null)` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.state], ['cancelled'], where=table.state == 'cancel')` -- **after_super** `update` - - object: `table` - - args: `[table.state], ['cancelled']` - - kwargs: - - where: `table.state == 'cancel'` - ### 7.0 @@ -418,37 +153,9 @@ file: /home/uha4/tmp/tryton/modules/production/production.py : 264 ### 7.2 -file: /home/uha4/tmp/tryton/modules/production/production.py : 265 -- **before_super** `column_rename` - - condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))` - - object: `table_h` - - args: `'uom', 'unit'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.state], ['cancelled'], where=table.state == 'cancel')` -- **after_super** `update` - - object: `table` - - args: `[table.state], ['cancelled']` - - kwargs: - - where: `table.state == 'cancel'` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/production/production.py : 266 -- **before_super** `column_rename` - - condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))` - - object: `table_h` - - args: `'uom', 'unit'` -- **after_super** `execute` - - object: `cursor` - - args: `*table.update([table.state], ['cancelled'], where=table.state == 'cancel')` -- **after_super** `update` - - object: `table` - - args: `[table.state], ['cancelled']` - - kwargs: - - where: `table.state == 'cancel'` - ### 7.6 @@ -461,19 +168,7 @@ file: /home/uha4/tmp/tryton/modules/production/production.py : 267 ### 7.8 -file: /home/uha4/tmp/tryton/modules/production/production.py : 281 -- **before_super** `column_rename` - - condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))` - - object: `table_h` - - args: `'uom', 'unit'` - ### 8.0 -file: /home/uha4/tmp/tryton/modules/production/production.py : 276 -- **before_super** `column_rename` - - condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))` - - object: `table_h` - - args: `'uom', 'unit'` - diff --git a/reports/res.md b/reports/res.md index b857522..56d54ac 100644 --- a/reports/res.md +++ b/reports/res.md @@ -32,114 +32,16 @@ file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 200 ### 5.2 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 194 -- **after_super** `execute` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `cursor` - - args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])` -- **after_super** `update` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `sqltable` - - kwargs: - - columns: `[sqltable.password_hash]` - - values: `[password_hash_new]` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'password'` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'salt'` -- **after_super** `not_null_action` - - object: `table` - - args: `'name'` - - kwargs: - - action: `'remove'` - ### 5.4 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 194 -- **after_super** `execute` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `cursor` - - args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])` -- **after_super** `update` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `sqltable` - - kwargs: - - columns: `[sqltable.password_hash]` - - values: `[password_hash_new]` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'password'` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'salt'` -- **after_super** `not_null_action` - - object: `table` - - args: `'name'` - - kwargs: - - action: `'remove'` - ### 5.6 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 195 -- **after_super** `execute` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `cursor` - - args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])` -- **after_super** `update` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `sqltable` - - kwargs: - - columns: `[sqltable.password_hash]` - - values: `[password_hash_new]` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'password'` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'salt'` -- **after_super** `not_null_action` - - object: `table` - - args: `'name'` - - kwargs: - - action: `'remove'` - ### 5.8 file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 191 -- **after_super** `execute` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `cursor` - - args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])` -- **after_super** `update` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `sqltable` - - kwargs: - - columns: `[sqltable.password_hash]` - - values: `[password_hash_new]` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'password'` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'salt'` -- **after_super** `not_null_action` - - object: `table` - - args: `'name'` - - kwargs: - - action: `'remove'` - **after_super** `execute` - object: `cursor` - args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))` @@ -152,183 +54,18 @@ file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 191 ### 6.0 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 197 -- **after_super** `execute` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `cursor` - - args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])` -- **after_super** `update` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `sqltable` - - kwargs: - - columns: `[sqltable.password_hash]` - - values: `[password_hash_new]` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'password'` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'salt'` -- **after_super** `not_null_action` - - object: `table` - - args: `'name'` - - kwargs: - - action: `'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.noupdate], [True]` - - kwargs: - - where: `(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')` - ### 6.2 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 205 -- **after_super** `execute` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `cursor` - - args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])` -- **after_super** `update` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `sqltable` - - kwargs: - - columns: `[sqltable.password_hash]` - - values: `[password_hash_new]` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'password'` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'salt'` -- **after_super** `not_null_action` - - object: `table` - - args: `'name'` - - kwargs: - - action: `'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.noupdate], [True]` - - kwargs: - - where: `(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')` - ### 6.4 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 202 -- **after_super** `execute` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `cursor` - - args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])` -- **after_super** `update` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `sqltable` - - kwargs: - - columns: `[sqltable.password_hash]` - - values: `[password_hash_new]` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'password'` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'salt'` -- **after_super** `not_null_action` - - object: `table` - - args: `'name'` - - kwargs: - - action: `'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.noupdate], [True]` - - kwargs: - - where: `(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')` - ### 6.6 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 202 -- **after_super** `execute` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `cursor` - - args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])` -- **after_super** `update` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `sqltable` - - kwargs: - - columns: `[sqltable.password_hash]` - - values: `[password_hash_new]` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'password'` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'salt'` -- **after_super** `not_null_action` - - object: `table` - - args: `'name'` - - kwargs: - - action: `'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.noupdate], [True]` - - kwargs: - - where: `(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')` - ### 6.8 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 202 -- **after_super** `execute` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `cursor` - - args: `*sqltable.update(columns=[sqltable.password_hash], values=[password_hash_new])` -- **after_super** `update` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `sqltable` - - kwargs: - - columns: `[sqltable.password_hash]` - - values: `[password_hash_new]` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'password'` -- **after_super** `drop_column` - - condition: `table.column_exist('password') and table.column_exist('salt')` - - object: `table` - - args: `'salt'` -- **after_super** `not_null_action` - - object: `table` - - args: `'name'` - - kwargs: - - action: `'remove'` -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.noupdate], [True]` - - kwargs: - - where: `(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')` - ### 7.0 @@ -345,29 +82,9 @@ file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 207 ### 7.2 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 206 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.noupdate], [True]` - - kwargs: - - where: `(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')` - ### 7.4 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 206 -- **after_super** `execute` - - object: `cursor` - - args: `*model_data.update([model_data.noupdate], [True], where=(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin'))` -- **after_super** `update` - - object: `model_data` - - args: `[model_data.noupdate], [True]` - - kwargs: - - where: `(model_data.model == cls.__name__) & (model_data.module == 'res') & (model_data.fs_id == 'user_admin')` - ### 7.6 @@ -379,17 +96,7 @@ file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 195 ### 7.8 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 199 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'menu', 'remove'` - ### 8.0 -file: /home/uha4/tmp/tryton/trytond/trytond/res/user.py : 198 -- **after_super** `not_null_action` - - object: `table_h` - - args: `'menu', 'remove'` - diff --git a/reports/stock_lot.md b/reports/stock_lot.md index 5fe0ebc..5963a80 100644 --- a/reports/stock_lot.md +++ b/reports/stock_lot.md @@ -19,151 +19,31 @@ file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 29 ### 5.6 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 29 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - ### 5.8 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 29 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - ### 6.0 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 65 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 62 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 60 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 60 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 63 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - ### 7.0 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 63 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - ### 7.2 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 63 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/stock_lot/product.py : 63 -- **after_super** `execute` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `cursor_select` - - args: `*template_lot_type.select(template_lot_type.template, distinct_on=template_lot_type.template)` -- **after_super** `select` - - condition: `table_h.table_exist(template_lot_type_table_name) and table_h.table_exist(lot_type_table_name)` - - object: `template_lot_type` - - args: `template_lot_type.template` - - kwargs: - - distinct_on: `template_lot_type.template` - diff --git a/reports/stock_product_location.md b/reports/stock_product_location.md index 74579b8..d21bdd1 100644 --- a/reports/stock_product_location.md +++ b/reports/stock_product_location.md @@ -12,65 +12,25 @@ file: /home/uha4/tmp/tryton/modules/stock_product_location/location.py : 43 ### 6.0 -file: /home/uha4/tmp/tryton/modules/stock_product_location/location.py : 43 -- **after_super** `not_null_action` - - object: `table` - - args: `'product', 'remove'` - ### 6.2 -file: /home/uha4/tmp/tryton/modules/stock_product_location/location.py : 43 -- **after_super** `not_null_action` - - object: `table` - - args: `'product', 'remove'` - ### 6.4 -file: /home/uha4/tmp/tryton/modules/stock_product_location/location.py : 41 -- **after_super** `not_null_action` - - object: `table` - - args: `'product', 'remove'` - ### 6.6 -file: /home/uha4/tmp/tryton/modules/stock_product_location/location.py : 41 -- **after_super** `not_null_action` - - object: `table` - - args: `'product', 'remove'` - ### 6.8 -file: /home/uha4/tmp/tryton/modules/stock_product_location/location.py : 41 -- **after_super** `not_null_action` - - object: `table` - - args: `'product', 'remove'` - ### 7.0 -file: /home/uha4/tmp/tryton/modules/stock_product_location/location.py : 41 -- **after_super** `not_null_action` - - object: `table` - - args: `'product', 'remove'` - ### 7.2 -file: /home/uha4/tmp/tryton/modules/stock_product_location/location.py : 41 -- **after_super** `not_null_action` - - object: `table` - - args: `'product', 'remove'` - ### 7.4 -file: /home/uha4/tmp/tryton/modules/stock_product_location/location.py : 41 -- **after_super** `not_null_action` - - object: `table` - - args: `'product', 'remove'` -