2026-08-07 22:54:22 +02:00
|
|
|
# company
|
|
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
## Klasse User
|
2026-08-07 22:54:22 +02:00
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
### 6.0
|
2026-08-07 22:54:22 +02:00
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
file: /home/uha4/tmp/tryton/modules/company/res.py : 72
|
2026-08-07 22:54:22 +02:00
|
|
|
- **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'`
|
|
|
|
|
|
|
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
### 6.2
|
2026-08-07 22:54:22 +02:00
|
|
|
|
|
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
### 6.4
|
2026-08-07 22:54:22 +02:00
|
|
|
|
|
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
### 6.6
|
2026-08-07 22:54:22 +02:00
|
|
|
|
|
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
### 6.8
|
2026-08-07 22:54:22 +02:00
|
|
|
|
|
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
### 7.0
|
2026-08-07 22:54:22 +02:00
|
|
|
|
|
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
### 7.2
|
2026-08-07 22:54:22 +02:00
|
|
|
|
|
|
|
|
|
2026-08-08 00:58:56 +02:00
|
|
|
### 7.4
|
2026-08-07 22:54:22 +02:00
|
|
|
|
|
|
|
|
|