Public Access
1.7 KiB
1.7 KiB
company
Klasse User
6.0
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))
- condition:
- 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)
- condition:
- after_super
select- condition:
table_h.column_exist('main_company') - object:
table - args:
table.id, table.main_company - kwargs:
- where:
table.main_company != Null
- where:
- condition:
- 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)))
- condition:
- 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))
- condition:
- 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)
- where:
- condition:
- after_super
drop_column- condition:
table_h.column_exist('main_company') - object:
table_h - args:
'main_company'
- condition: