Public Access
6.1 KiB
6.1 KiB
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
- object:
Klasse Product
5.6
file: /home/uha4/tmp/tryton/modules/product/product.py : 360
- after_super
execute- condition:
fill_suffix_code - object:
cursor - args:
*table.update([table.suffix_code], [table.code])
- condition:
- after_super
update- condition:
fill_suffix_code - object:
table - args:
[table.suffix_code], [table.code]
- condition:
Klasse ProductCostPrice
5.0
file: /home/uha4/tmp/tryton/modules/product/product.py : 429
- after_super
add_column- condition:
not exist - object:
table - args:
'template', 'INTEGER'
- condition:
- 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)))
- condition:
- 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))
- columns:
- condition:
- 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)
- where:
- condition:
- after_super
execute- condition:
table.column_exist('template') - object:
cursor - args:
*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))
- condition:
- after_super
delete- condition:
table.column_exist('template') - object:
sql_table - kwargs:
- where:
(sql_table.template != Null) & (sql_table.product == Null)
- where:
- condition:
- after_super
drop_column- condition:
table.column_exist('template') - object:
table - args:
'template'
- condition:
5.6
file: /home/uha4/tmp/tryton/modules/product/product.py : 634
- before_super
table_exist- object:
backend.TableHandler - args:
cls._table
- object:
- after_super
add_column- condition:
not exist - object:
table - args:
'template', 'INTEGER'
- condition:
- 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)))
- condition:
- 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))
- columns:
- condition:
- 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)
- where:
- condition:
- after_super
execute- condition:
table.column_exist('template') - object:
cursor - args:
*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))
- condition:
- after_super
delete- condition:
table.column_exist('template') - object:
sql_table - kwargs:
- where:
(sql_table.template != Null) & (sql_table.product == Null)
- where:
- condition:
- after_super
drop_column- condition:
table.column_exist('template') - object:
table - args:
'template'
- condition:
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]))
- condition:
- 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])
- columns:
- condition:
- after_super
select- condition:
cost_price_table.column_exist('template') - object:
cost_price - args:
*[Column(cost_price, c) for c in columns]
- condition:
5.6
file: /home/uha4/tmp/tryton/modules/product/product.py : 578
- before_super
table_exist- object:
backend.TableHandler - args:
cls._table
- object:
- before_super
table_exist- object:
backend.TableHandler - args:
ProductCostPrice._table
- object:
- 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]))
- condition:
- 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])
- columns:
- condition:
- after_super
select- condition:
cost_price_table.column_exist('template') - object:
cost_price - args:
*[Column(cost_price, c) for c in columns]
- condition:
Klasse ProductListPrice
5.6
file: /home/uha4/tmp/tryton/modules/product/product.py : 551
- before_super
table_exist- object:
backend.TableHandler - args:
cls._table
- object: