Public Access
ignore repeating blocks of changes
This commit is contained in:
@@ -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'`
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user