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

480 lines
15 KiB
Markdown
Raw Normal View History

# production
2026-08-08 00:58:56 +02:00
## Klasse Production
2026-08-08 00:58:56 +02:00
### 5.0
2026-08-08 00:58:56 +02:00
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)`
2026-08-08 00:58:56 +02:00
### 5.2
2026-08-08 00:58:56 +02:00
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)`
2026-08-08 00:58:56 +02:00
### 5.4
2026-08-08 00:58:56 +02:00
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)`
2026-08-08 00:58:56 +02:00
### 5.6
2026-08-08 00:58:56 +02:00
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)`
2026-08-08 00:58:56 +02:00
### 5.8
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 6.0
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 6.2
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 6.4
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 6.6
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 6.8
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 7.0
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 7.2
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 7.4
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 7.6
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 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'`
2026-08-08 00:58:56 +02:00
### 7.2
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
- **after_super** `drop_constraint`
- object: `table_h`
- args: `'product_bom_uniq'`
2026-08-08 00:58:56 +02:00
### 7.4
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
### 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'`
2026-08-08 00:58:56 +02:00
### 8.0
2026-08-08 00:58:56 +02:00
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'`
2026-08-08 00:58:56 +02:00
## Klasse Cron
2026-08-08 00:58:56 +02:00
### 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'`
2026-08-08 00:58:56 +02:00
### 7.4
2026-08-08 00:58:56 +02:00
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'`