Public Access
175 lines
3.0 KiB
Markdown
175 lines
3.0 KiB
Markdown
# production
|
|
|
|
## 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
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 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
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
### 7.6
|
|
|
|
|
|
### 7.8
|
|
|
|
file: /home/uha4/tmp/tryton/modules/production/bom.py : 208
|
|
- **after_super** `not_null_action`
|
|
- object: `table_h`
|
|
- args: `'product', 'remove'`
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## 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
|
|
|
|
|
|
### 7.6
|
|
|
|
|
|
### 7.8
|
|
|
|
|
|
### 8.0
|
|
|
|
|
|
## 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
|
|
|
|
|
|
### 5.4
|
|
|
|
|
|
### 5.6
|
|
|
|
|
|
### 5.8
|
|
|
|
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'`
|
|
|
|
|
|
### 6.0
|
|
|
|
|
|
### 6.2
|
|
|
|
|
|
### 6.4
|
|
|
|
|
|
### 6.6
|
|
|
|
|
|
### 6.8
|
|
|
|
|
|
### 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
|
|
|
|
|
|
### 7.4
|
|
|
|
|
|
### 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
|
|
|
|
|
|
### 8.0
|
|
|
|
|