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

15 KiB

production

Klasse Production

5.0

file: /home/uha4/tmp/tryton/modules/production/production.py : 224

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)

5.2

file: /home/uha4/tmp/tryton/modules/production/production.py : 222

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)

5.4

file: /home/uha4/tmp/tryton/modules/production/production.py : 222

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)

5.6

file: /home/uha4/tmp/tryton/modules/production/production.py : 249

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)

5.8

file: /home/uha4/tmp/tryton/modules/production/production.py : 254

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)
  • after_super execute
    • object: cursor
    • args: *table.update([table.state], ['cancelled'], where=table.state == 'cancel')
  • after_super update
    • object: table
    • args: [table.state], ['cancelled']
    • kwargs:
      • where: table.state == 'cancel'

6.0

file: /home/uha4/tmp/tryton/modules/production/production.py : 264

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)
  • after_super execute
    • object: cursor
    • args: *table.update([table.state], ['cancelled'], where=table.state == 'cancel')
  • after_super update
    • object: table
    • args: [table.state], ['cancelled']
    • kwargs:
      • where: table.state == 'cancel'

6.2

file: /home/uha4/tmp/tryton/modules/production/production.py : 265

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)
  • after_super execute
    • object: cursor
    • args: *table.update([table.state], ['cancelled'], where=table.state == 'cancel')
  • after_super update
    • object: table
    • args: [table.state], ['cancelled']
    • kwargs:
      • where: table.state == 'cancel'

6.4

file: /home/uha4/tmp/tryton/modules/production/production.py : 250

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)
  • after_super execute
    • object: cursor
    • args: *table.update([table.state], ['cancelled'], where=table.state == 'cancel')
  • after_super update
    • object: table
    • args: [table.state], ['cancelled']
    • kwargs:
      • where: table.state == 'cancel'

6.6

file: /home/uha4/tmp/tryton/modules/production/production.py : 266

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)
  • after_super execute
    • object: cursor
    • args: *table.update([table.state], ['cancelled'], where=table.state == 'cancel')
  • after_super update
    • object: table
    • args: [table.state], ['cancelled']
    • kwargs:
      • where: table.state == 'cancel'

6.8

file: /home/uha4/tmp/tryton/modules/production/production.py : 263

  • before_super column_rename
    • condition: table_h.column_exist('code')
    • object: table_h
    • args: 'code', 'number'
  • after_super execute
    • object: cursor
    • args: *table.update([table.planned_start_date], [table.planned_date], where=(table.planned_start_date == Null) & (table.planned_date != Null))
  • after_super update
    • object: table
    • args: [table.planned_start_date], [table.planned_date]
    • kwargs:
      • where: (table.planned_start_date == Null) & (table.planned_date != Null)
  • after_super execute
    • object: cursor
    • args: *table.update([table.state], ['cancelled'], where=table.state == 'cancel')
  • after_super update
    • object: table
    • args: [table.state], ['cancelled']
    • kwargs:
      • where: table.state == 'cancel'

7.0

file: /home/uha4/tmp/tryton/modules/production/production.py : 264

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'
  • after_super execute
    • object: cursor
    • args: *table.update([table.state], ['cancelled'], where=table.state == 'cancel')
  • after_super update
    • object: table
    • args: [table.state], ['cancelled']
    • kwargs:
      • where: table.state == 'cancel'

7.2

file: /home/uha4/tmp/tryton/modules/production/production.py : 265

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'
  • after_super execute
    • object: cursor
    • args: *table.update([table.state], ['cancelled'], where=table.state == 'cancel')
  • after_super update
    • object: table
    • args: [table.state], ['cancelled']
    • kwargs:
      • where: table.state == 'cancel'

7.4

file: /home/uha4/tmp/tryton/modules/production/production.py : 266

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'
  • after_super execute
    • object: cursor
    • args: *table.update([table.state], ['cancelled'], where=table.state == 'cancel')
  • after_super update
    • object: table
    • args: [table.state], ['cancelled']
    • kwargs:
      • where: table.state == 'cancel'

7.6

file: /home/uha4/tmp/tryton/modules/production/production.py : 267

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'

7.8

file: /home/uha4/tmp/tryton/modules/production/production.py : 281

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'

8.0

file: /home/uha4/tmp/tryton/modules/production/production.py : 276

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'

Klasse BOMInput

6.2

file: /home/uha4/tmp/tryton/modules/production/bom.py : 70

  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'

6.4

file: /home/uha4/tmp/tryton/modules/production/bom.py : 70

  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'

6.6

file: /home/uha4/tmp/tryton/modules/production/bom.py : 70

  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'

6.8

file: /home/uha4/tmp/tryton/modules/production/bom.py : 70

  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'

7.0

file: /home/uha4/tmp/tryton/modules/production/bom.py : 72

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'
  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'

7.2

file: /home/uha4/tmp/tryton/modules/production/bom.py : 72

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'
  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'

7.4

file: /home/uha4/tmp/tryton/modules/production/bom.py : 146

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'
  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'

7.6

file: /home/uha4/tmp/tryton/modules/production/bom.py : 142

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'
  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'

7.8

file: /home/uha4/tmp/tryton/modules/production/bom.py : 208

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'
  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'
  • after_super not_null_action
    • object: table_h
    • args: 'product', 'remove'

8.0

file: /home/uha4/tmp/tryton/modules/production/bom.py : 208

  • before_super column_rename
    • condition: table_h.column_exist('uom') and (not table_h.column_exist('unit'))
    • object: table_h
    • args: 'uom', 'unit'
  • after_super drop_constraint
    • object: table_h
    • args: 'product_bom_uniq'
  • after_super not_null_action
    • object: table_h
    • args: 'product', 'remove'

Klasse Cron

7.2

file: /home/uha4/tmp/tryton/modules/production/ir.py : 19

  • after_super execute
    • object: cursor
    • args: *table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')
  • after_super update
    • object: table
    • args: [table.method], ['ir.cron|stock_shipment_assign_try']
    • kwargs:
      • where: table.method == 'production|assign_cron'

7.4

file: /home/uha4/tmp/tryton/modules/production/ir.py : 19

  • after_super execute
    • object: cursor
    • args: *table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')
  • after_super update
    • object: table
    • args: [table.method], ['ir.cron|stock_shipment_assign_try']
    • kwargs:
      • where: table.method == 'production|assign_cron'

7.6

file: /home/uha4/tmp/tryton/modules/production/ir.py : 19

  • after_super execute
    • object: cursor
    • args: *table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')
  • after_super update
    • object: table
    • args: [table.method], ['ir.cron|stock_shipment_assign_try']
    • kwargs:
      • where: table.method == 'production|assign_cron'

7.8

file: /home/uha4/tmp/tryton/modules/production/ir.py : 19

  • after_super execute
    • object: cursor
    • args: *table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')
  • after_super update
    • object: table
    • args: [table.method], ['ir.cron|stock_shipment_assign_try']
    • kwargs:
      • where: table.method == 'production|assign_cron'

8.0

file: /home/uha4/tmp/tryton/modules/production/ir.py : 19

  • after_super execute
    • object: cursor
    • args: *table.update([table.method], ['ir.cron|stock_shipment_assign_try'], where=table.method == 'production|assign_cron')
  • after_super update
    • object: table
    • args: [table.method], ['ir.cron|stock_shipment_assign_try']
    • kwargs:
      • where: table.method == 'production|assign_cron'