Files
tryton-db-migration/reports/company.md
T
uha4 24caf23986 extract gets and saves most tables worked on
some cases still need some work...
2026-08-08 22:32:31 +02:00

2.2 KiB

company

Klasse ConfigurationLang

5.6

file: /home/uha4/tmp/tryton/modules/company/party.py : 20

  • before_super table_exist
    • object: backend.TableHandler
    • args: cls._table

Klasse CronCompany

7.2

file: /home/uha4/tmp/tryton/modules/company/ir.py : 102

  • before_super table_rename
    • object: backend.TableHandler
    • args: 'cron_company_rel', cls._table

Klasse PartyLang

5.6

file: /home/uha4/tmp/tryton/modules/company/party.py : 43

  • before_super table_exist
    • object: backend.TableHandler
    • args: cls._table

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'