|
GnuCash c935c2f+
|
Test file for price database stuff. More...
Go to the source code of this file.
Test file for price database stuff.
Definition in file price_database_example.py.
| price_database_example.book = session.book |
Definition at line 36 of file price_database_example.py.
| price_database_example.c_fullname = c.get_fullname() |
Definition at line 71 of file price_database_example.py.
| price_database_example.comm_table = book.get_table() |
Definition at line 38 of file price_database_example.py.
| price_database_example.commodities = comm_table.get_commodities(namespace_name) |
Definition at line 56 of file price_database_example.py.
| str price_database_example.commodity_fullname = "" |
Definition at line 27 of file price_database_example.py.
| price_database_example.cur = comm_table.lookup("CURRENCY", cur_mnemonic) |
Definition at line 40 of file price_database_example.py.
| str price_database_example.cur_mnemonic = "EUR" |
Definition at line 24 of file price_database_example.py.
| price_database_example.cur_name = cur.get_fullname() |
Definition at line 41 of file price_database_example.py.
| str price_database_example.FILE = "PATH_TO_YOUR_TEST_FILE" |
Definition at line 28 of file price_database_example.py.
| price_database_example.namespace_name = "" |
Definition at line 25 of file price_database_example.py.
| price_database_example.namespaces = comm_table.get_namespaces_list() |
Definition at line 48 of file price_database_example.py.
| price_database_example.pdb = book.get_price_db() |
Definition at line 37 of file price_database_example.py.
| price_database_example.pl = pdb.get_prices(c,cur) |
Definition at line 76 of file price_database_example.py.
| price_database_example.price = float(v.num)/v.denom |
Definition at line 85 of file price_database_example.py.
| price_database_example.root = session.book.get_root_account() |
Definition at line 35 of file price_database_example.py.
| price_database_example.session = Session(FILE, True, False, False) |
Definition at line 33 of file price_database_example.py.
| bool price_database_example.show_prices = True |
Definition at line 26 of file price_database_example.py.
| price_database_example.source = pr.get_source() |
Definition at line 82 of file price_database_example.py.
| price_database_example.time = pr.get_time64() |
Definition at line 83 of file price_database_example.py.
| price_database_example.v = pr.get_value() |
Definition at line 84 of file price_database_example.py.