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

116 lines
3.0 KiB
Markdown
Raw Normal View History

# production
2026-08-08 01:29:43 +02:00
## Klasse BOMInput
2026-08-08 01:29:43 +02:00
### 6.2
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.8
file: /home/uha4/tmp/tryton/modules/production/bom.py : 208
- **after_super** `not_null_action`
- object: `table_h`
- args: `'product', 'remove'`
## Klasse ConfigurationProductionSequence
2026-08-08 01:29:43 +02:00
### 5.6
file: /home/uha4/tmp/tryton/modules/production/configuration.py : 43
- **before_super** `table_exist`
- object: `backend.TableHandler`
- args: `cls._table`
2026-08-08 01:29:43 +02:00
## Klasse Cron
2026-08-08 01:29:43 +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
## 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.8
2026-08-08 00:58:56 +02:00
file: /home/uha4/tmp/tryton/modules/production/production.py : 254
- **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.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'`