Closed kerwinxu closed 4 years ago
Try replacing version_supported
in \piecash\core\session.py
with the following:
version_supported = {
"2.6": {
"Gnucash": 2062100,
"Gnucash-Resave": 19920,
"accounts": 1,
"billterms": 2,
"books": 1,
"budget_amounts": 1,
"budgets": 1,
"commodities": 1,
"customers": 2,
"employees": 2,
"entries": 3,
"invoices": 3,
"jobs": 1,
"lots": 2,
"orders": 1,
"prices": 2,
"recurrences": 2,
"schedxactions": 1,
"slots": 3,
"splits": 4,
"taxtable_entries": 3,
"taxtables": 2,
"transactions": 3,
"vendors": 1,
},
"3.0": {
"Gnucash": 3000001,
"Gnucash-Resave": 19920,
"accounts": 1,
"billterms": 2,
"books": 1,
"budget_amounts": 1,
"budgets": 1,
"commodities": 1,
"customers": 2,
"employees": 2,
"entries": 4,
"invoices": 4,
"jobs": 1,
"lots": 2,
"orders": 1,
"prices": 3,
"recurrences": 2,
"schedxactions": 1,
"slots": 4,
"splits": 5,
"taxtable_entries": 3,
"taxtables": 2,
"transactions": 4,
"vendors": 1,
},
}
see PR #135
Try replacing
version_supported
in\piecash\core\session.py
with the following:version_supported = { "2.6": { "Gnucash": 2062100, "Gnucash-Resave": 19920, "accounts": 1, "billterms": 2, "books": 1, "budget_amounts": 1, "budgets": 1, "commodities": 1, "customers": 2, "employees": 2, "entries": 3, "invoices": 3, "jobs": 1, "lots": 2, "orders": 1, "prices": 2, "recurrences": 2, "schedxactions": 1, "slots": 3, "splits": 4, "taxtable_entries": 3, "taxtables": 2, "transactions": 3, "vendors": 1, }, "3.0": { "Gnucash": 3000001, "Gnucash-Resave": 19920, "accounts": 1, "billterms": 2, "books": 1, "budget_amounts": 1, "budgets": 1, "commodities": 1, "customers": 2, "employees": 2, "entries": 4, "invoices": 4, "jobs": 1, "lots": 2, "orders": 1, "prices": 3, "recurrences": 2, "schedxactions": 1, "slots": 4, "splits": 5, "taxtable_entries": 3, "taxtables": 2, "transactions": 4, "vendors": 1, }, }
Thank you , it work .
ValueError Traceback (most recent call last)