Files
tryton-db-migration/reports/company.md
T

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))
  • 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.2

6.4

6.6

6.8

7.0

7.2

7.4