2026-08-07 22:54:22 +02:00
# product
2026-08-08 01:29:43 +02:00
## Klasse Product
2026-08-08 00:58:56 +02:00
### 5.6
2026-08-08 01:29:43 +02:00
file: /home/uha4/tmp/tryton/modules/product/product.py : 360
2026-08-08 00:58:56 +02:00
- **after_super** `execute`
2026-08-08 01:29:43 +02:00
- condition: `fill_suffix_code`
2026-08-08 00:58:56 +02:00
- object: `cursor`
2026-08-08 01:29:43 +02:00
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
2026-08-08 00:58:56 +02:00
### 5.8
### 6.0
### 6.2
### 6.4
### 6.6
### 6.8
2026-08-08 01:29:43 +02:00
### 7.0
### 7.2
### 7.4
2026-08-08 00:58:56 +02:00
## Klasse ProductCostPrice
### 5.0
file: /home/uha4/tmp/tryton/modules/product/product.py : 429
2026-08-07 22:54:22 +02:00
- **after_super** `add_column`
- condition: `not exist`
- object: `table`
- args: `'template', 'INTEGER'`
- **after_super** `execute`
- condition: `table.column_exist('template')`
- object: `cursor`
- args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns] + [sql_table.product], values=sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null)))`
- **after_super** `insert`
- condition: `table.column_exist('template')`
- object: `sql_table`
- kwargs:
- columns: `[Column(sql_table, c) for c in columns] + [sql_table.product]`
- values: `sql_table.join(product, condition=sql_table.template == product.template).select(*[Column(sql_table, c) for c in columns] + [product.id], where=(sql_table.template != Null) & (sql_table.product == Null))`
- **after_super** `select`
- condition: `table.column_exist('template')`
- object: `sql_table.join(product, condition=sql_table.template == product.template)`
- args: `*[Column(sql_table, c) for c in columns] + [product.id]`
- kwargs:
- where: `(sql_table.template != Null) & (sql_table.product == Null)`
- **after_super** `execute`
- condition: `table.column_exist('template')`
- object: `cursor`
- args: `*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))`
- **after_super** `delete`
- condition: `table.column_exist('template')`
- object: `sql_table`
- kwargs:
- where: `(sql_table.template != Null) & (sql_table.product == Null)`
- **after_super** `drop_column`
- condition: `table.column_exist('template')`
- object: `table`
- args: `'template'`
2026-08-08 00:58:56 +02:00
### 5.2
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 5.4
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 5.6
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 5.8
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 6.0
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 6.2
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 6.4
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 6.6
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 6.8
2026-08-07 22:54:22 +02:00
2026-08-08 01:29:43 +02:00
## Klasse ProductCostPriceMethod
### 5.0
file: /home/uha4/tmp/tryton/modules/product/product.py : 374
- **after_super** `execute`
- condition: `cost_price_table.column_exist('template')`
- object: `cursor`
- args: `*sql_table.insert(columns=[Column(sql_table, c) for c in columns], values=cost_price.select(*[Column(cost_price, c) for c in columns]))`
- **after_super** `insert`
- condition: `cost_price_table.column_exist('template')`
- object: `sql_table`
- kwargs:
- columns: `[Column(sql_table, c) for c in columns]`
- values: `cost_price.select(*[Column(cost_price, c) for c in columns])`
- **after_super** `select`
- condition: `cost_price_table.column_exist('template')`
- object: `cost_price`
- args: `*[Column(cost_price, c) for c in columns]`
### 5.2
### 5.4
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 5.6
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 5.8
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 6.0
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 6.2
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 6.4
2026-08-07 22:54:22 +02:00
2026-08-08 00:58:56 +02:00
### 6.6
### 6.8
2026-08-07 22:54:22 +02:00