ignore repeating blocks of changes

This commit is contained in:
2026-08-08 02:55:30 +02:00
parent 64fda357ad
commit 9417f2baa1
11 changed files with 38 additions and 5900 deletions
+37 -2
View File
@@ -60,6 +60,20 @@ class Module(object):
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")
for k in sorted(self.versionen.keys()):
last_blocks = None
# 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"]:
-238
View File
@@ -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'`
-354
View File
@@ -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'`
-122
View File
@@ -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'`
-2802
View File
File diff suppressed because it is too large Load Diff
-1074
View File
File diff suppressed because it is too large Load Diff
-549
View File
@@ -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]`
-305
View File
@@ -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'`
-293
View File
@@ -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'`
-120
View File
@@ -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`
-40
View File
@@ -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'`