mirror of
https://github.com/NaN-tic/trytond-sale_product_raw.git
synced 2023-12-14 03:13:00 +01:00
Follow PEP-0249 for Transaction and backends
This commit is contained in:
parent
bff423291f
commit
ddc29f0a1c
|
@ -28,7 +28,7 @@ class PurchaseRequest:
|
||||||
product = Product.__table__()
|
product = Product.__table__()
|
||||||
template = Template.__table__()
|
template = Template.__table__()
|
||||||
product_raw = ProductRaw.__table__()
|
product_raw = ProductRaw.__table__()
|
||||||
cursor = Transaction().cursor
|
cursor = Transaction().connection.cursor()
|
||||||
# Use query to speedup the process
|
# Use query to speedup the process
|
||||||
# fetch goods and assets not consumable and purchasable
|
# fetch goods and assets not consumable and purchasable
|
||||||
# skip main variants
|
# skip main variants
|
||||||
|
|
Loading…
Reference in a new issue