mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Save Changes Bug 780889 - Split-register transactions result in invalid...
price:type "transaction". Add 'transaction' to the schema and document it in gnc-pricedb.h.
This commit is contained in:
parent
844a6db32b
commit
e20009a08d
@ -199,7 +199,7 @@ Price = element price {
|
||||
|
||||
# from the doc string of gnc_price_class_init in src/engine/gnc-pricedb.c
|
||||
|
||||
element price:type { "bid" | "ask" | "last" | "nav" | "unknown" }?,
|
||||
element price:type { "bid" | "ask" | "last" | "nav" | "transaction" | "unknown" }?,
|
||||
|
||||
element price:value { GncNumeric }
|
||||
}
|
||||
|
@ -225,7 +225,8 @@ gnc_price_class_init(GNCPriceClass *klass)
|
||||
"Quote type",
|
||||
"The quote type is a string describing the "
|
||||
"type of a price quote. Types possible now "
|
||||
"are 'bid', 'ask', 'last', 'nav' and 'unknown'.",
|
||||
"are 'bid', 'ask', 'last', 'nav', 'transaction', "
|
||||
"and 'unknown'.",
|
||||
NULL,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
|
@ -116,8 +116,10 @@ GType gnc_pricedb_get_type(void);
|
||||
many strings in users' databases, so this string must be
|
||||
translated on output instead of always being used in untranslated
|
||||
form).
|
||||
- type: the type of quote - types possible right now are bid, ask,
|
||||
last, nav, and unknown.
|
||||
- type: the type of quote - types possible right now are bid, ask, last,
|
||||
nav, transaction, and unknown. 'Transaction' is set when the price is
|
||||
created from an amount and value in a Split and is not available for users
|
||||
to set via the GUI.
|
||||
|
||||
\par Implementation Details:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user