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

522 lines
14 KiB
Markdown
Raw Normal View History

# production
## Version 5.0.63
### Production
Line: 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)`
## Version 5.2.20
### Production
Line: 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)`
## Version 5.4.20
### Production
Line: 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)`
## Version 5.6.17
### Production
Line: 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)`
## Version 5.8.16
### Production
Line: 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'`
## Version 6.0.76
### Production
Line: 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'`
## Version 6.2.14
### BOMInput
Line: 70
- **after_super** `drop_constraint`
- object: `table_h`
- args: `'product_bom_uniq'`
### Production
Line: 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'`
## Version 6.4.16
### BOMInput
Line: 70
- **after_super** `drop_constraint`
- object: `table_h`
- args: `'product_bom_uniq'`
### Production
Line: 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'`
## Version 6.6.14
### BOMInput
Line: 70
- **after_super** `drop_constraint`
- object: `table_h`
- args: `'product_bom_uniq'`
### Production
Line: 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'`
## Version 6.8.17
### BOMInput
Line: 70
- **after_super** `drop_constraint`
- object: `table_h`
- args: `'product_bom_uniq'`
### Production
Line: 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'`
## Version 7.0.55
### BOMInput
Line: 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'`
### Production
Line: 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'`
## Version 7.2.23
### BOMInput
Line: 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'`
### Cron
Line: 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'`
### Production
Line: 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'`
## Version 7.4.25
### BOMInput
Line: 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'`
### Cron
Line: 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'`
### Production
Line: 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'`
## Version 7.6.20
### BOMInput
Line: 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'`
### Cron
Line: 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'`
### Production
Line: 267
- **before_super** `column_rename`
- condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))`
- object: `table_h`
- args: `'uom', 'unit'`
## Version 7.8.14
### BOMInput
Line: 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'`
### Cron
Line: 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'`
### Production
Line: 281
- **before_super** `column_rename`
- condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))`
- object: `table_h`
- args: `'uom', 'unit'`
## Version 8.0.8
### BOMInput
Line: 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'`
### Cron
Line: 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'`
### Production
Line: 276
- **before_super** `column_rename`
- condition: `table_h.column_exist('uom') and (not table_h.column_exist('unit'))`
- object: `table_h`
- args: `'uom', 'unit'`