Public Access
extract gets and saves most tables worked on
some cases still need some work...
This commit is contained in:
@@ -2,6 +2,28 @@
|
||||
"version": "6.0",
|
||||
"module": "product",
|
||||
"files": [
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/product/configuration.py",
|
||||
"class": "ConfigurationDefaultCostPriceMethod",
|
||||
"method": "__register__",
|
||||
"line": 54,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"product_configuration_default_cost_price_method"
|
||||
],
|
||||
"line": 55,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
|
||||
"class": "Product",
|
||||
@@ -11,6 +33,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_product"
|
||||
],
|
||||
"line": 427,
|
||||
"args": [
|
||||
"*table.update([table.suffix_code], [table.code])"
|
||||
@@ -23,6 +48,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "update",
|
||||
"tables": [
|
||||
"product_product"
|
||||
],
|
||||
"line": 427,
|
||||
"args": [
|
||||
"[table.suffix_code]",
|
||||
@@ -35,15 +63,67 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
|
||||
"class": "ProductListPrice",
|
||||
"method": "__register__",
|
||||
"line": 616,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"product_list_price"
|
||||
],
|
||||
"line": 617,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"file": "/home/uha4/tmp/tryton/modules/product/product.py",
|
||||
"class": "ProductCostPriceMethod",
|
||||
"method": "__register__",
|
||||
"line": 647,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"product_cost_price_method"
|
||||
],
|
||||
"line": 654,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [],
|
||||
"line": 655,
|
||||
"args": [
|
||||
"ProductCostPrice._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(ProductCostPrice._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_cost_price_method",
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 670,
|
||||
"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]))"
|
||||
@@ -56,6 +136,10 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "insert",
|
||||
"tables": [
|
||||
"product_cost_price_method",
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 670,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -69,6 +153,9 @@
|
||||
{
|
||||
"object": "cost_price",
|
||||
"operation": "select",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 672,
|
||||
"args": [
|
||||
"*[Column(cost_price, c) for c in columns]"
|
||||
@@ -86,9 +173,26 @@
|
||||
"method": "__register__",
|
||||
"line": 707,
|
||||
"operations": [
|
||||
{
|
||||
"object": "backend.TableHandler",
|
||||
"operation": "table_exist",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 714,
|
||||
"args": [
|
||||
"cls._table"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "backend.TableHandler.table_exist(cls._table)",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "add_column",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 721,
|
||||
"args": [
|
||||
"'template'",
|
||||
@@ -102,6 +206,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 728,
|
||||
"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)))"
|
||||
@@ -114,6 +221,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "insert",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 728,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -127,6 +237,7 @@
|
||||
{
|
||||
"object": "sql_table.join(product, condition=sql_table.template == product.template)",
|
||||
"operation": "select",
|
||||
"tables": [],
|
||||
"line": 731,
|
||||
"args": [
|
||||
"*[Column(sql_table, c) for c in columns] + [product.id]"
|
||||
@@ -141,6 +252,9 @@
|
||||
{
|
||||
"object": "cursor",
|
||||
"operation": "execute",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 738,
|
||||
"args": [
|
||||
"*sql_table.delete(where=(sql_table.template != Null) & (sql_table.product == Null))"
|
||||
@@ -153,6 +267,9 @@
|
||||
{
|
||||
"object": "sql_table",
|
||||
"operation": "delete",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 738,
|
||||
"args": [],
|
||||
"kwargs": {
|
||||
@@ -165,6 +282,9 @@
|
||||
{
|
||||
"object": "table",
|
||||
"operation": "drop_column",
|
||||
"tables": [
|
||||
"product_cost_price"
|
||||
],
|
||||
"line": 741,
|
||||
"args": [
|
||||
"'template'"
|
||||
|
||||
Reference in New Issue
Block a user