extract gets and saves most tables worked on

some cases still need some work...
This commit is contained in:
2026-08-08 22:32:31 +02:00
parent f14f709649
commit 24caf23986
151 changed files with 7017 additions and 1215 deletions
+77 -72
View File
@@ -1,7 +1,18 @@
# product
## Klasse ConfigurationDefaultCostPriceMethod
### 5.6
file: /home/uha4/tmp/tryton/modules/product/configuration.py : 48
- **before_super** `table_exist`
- object: `backend.TableHandler`
- args: `cls._table`
## Klasse Product
### 5.6
file: /home/uha4/tmp/tryton/modules/product/product.py : 360
@@ -14,36 +25,9 @@ file: /home/uha4/tmp/tryton/modules/product/product.py : 360
- object: `table`
- args: `[table.suffix_code], [table.code]`
### 5.8
### 6.0
### 6.2
### 6.4
### 6.6
### 6.8
### 7.0
### 7.2
### 7.4
## Klasse ProductCostPrice
### 5.0
file: /home/uha4/tmp/tryton/modules/product/product.py : 429
@@ -82,35 +66,49 @@ file: /home/uha4/tmp/tryton/modules/product/product.py : 429
- args: `'template'`
### 5.2
### 5.4
### 5.6
### 5.8
### 6.0
### 6.2
### 6.4
### 6.6
### 6.8
file: /home/uha4/tmp/tryton/modules/product/product.py : 634
- **before_super** `table_exist`
- object: `backend.TableHandler`
- args: `cls._table`
- **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'`
## Klasse ProductCostPriceMethod
### 5.0
file: /home/uha4/tmp/tryton/modules/product/product.py : 374
@@ -130,30 +128,37 @@ file: /home/uha4/tmp/tryton/modules/product/product.py : 374
- args: `*[Column(cost_price, c) for c in columns]`
### 5.2
### 5.6
file: /home/uha4/tmp/tryton/modules/product/product.py : 578
- **before_super** `table_exist`
- object: `backend.TableHandler`
- args: `cls._table`
- **before_super** `table_exist`
- object: `backend.TableHandler`
- args: `ProductCostPrice._table`
- **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.4
## Klasse ProductListPrice
### 5.6
### 5.8
### 6.0
### 6.2
### 6.4
### 6.6
### 6.8
file: /home/uha4/tmp/tryton/modules/product/product.py : 551
- **before_super** `table_exist`
- object: `backend.TableHandler`
- args: `cls._table`