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

751 lines
28 KiB
Markdown
Raw Normal View History

# product
## Version 5.0.63
### ProductCostPriceMethod
Line: 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]`
### ProductCostPrice
Line: 429
- **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'`
## Version 5.2.20
### ProductCostPriceMethod
Line: 382
- **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]`
### ProductCostPrice
Line: 437
- **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'`
## Version 5.4.20
### ProductCostPriceMethod
Line: 439
- **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]`
### ProductCostPrice
Line: 494
- **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'`
## Version 5.6.17
### Product
Line: 360
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
### ProductCostPriceMethod
Line: 578
- **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]`
### ProductCostPrice
Line: 634
- **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'`
## Version 5.8.16
### Product
Line: 401
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
### ProductCostPriceMethod
Line: 622
- **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]`
### ProductCostPrice
Line: 678
- **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'`
## Version 6.0.76
### Product
Line: 416
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
### ProductCostPriceMethod
Line: 647
- **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]`
### ProductCostPrice
Line: 707
- **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'`
## Version 6.2.14
### Product
Line: 432
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
### ProductCostPriceMethod
Line: 677
- **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]`
### ProductCostPrice
Line: 742
- **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'`
## Version 6.4.16
### Product
Line: 424
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
### ProductCostPriceMethod
Line: 669
- **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]`
### ProductCostPrice
Line: 734
- **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'`
## Version 6.6.14
### Product
Line: 444
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
### ProductCostPriceMethod
Line: 708
- **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]`
### ProductCostPrice
Line: 772
- **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'`
## Version 6.8.17
### Product
Line: 447
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
### ProductCostPriceMethod
Line: 732
- **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]`
### ProductCostPrice
Line: 796
- **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'`
## Version 7.0.55
### Product
Line: 494
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
## Version 7.2.23
### Product
Line: 477
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
## Version 7.4.25
### Product
Line: 505
- **after_super** `execute`
- condition: `fill_suffix_code`
- object: `cursor`
- args: `*table.update([table.suffix_code], [table.code])`
- **after_super** `update`
- condition: `fill_suffix_code`
- object: `table`
- args: `[table.suffix_code], [table.code]`
## Version 7.6.20
## Version 7.8.14
## Version 8.0.8