Commit Graph

26053 Commits

Author SHA1 Message Date
aleksej0R
3486cc7535
Translation update by aleksej0R <omolice@hotmail.fr> using Weblate
po/glossary/fr.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/fr/

Co-authored-by: aleksej0R <omolice@hotmail.fr>
2023-02-12 16:35:46 +01:00
mocsa
16015110de
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
491 failing checks (9.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-02-12 16:35:46 +01:00
John Ralls
66d9f1383e Merge Ralf Habacker's 'fix-798732' into maint. 2023-02-06 12:35:49 -08:00
Christopher Lam
9c87585d4e Bug 798747 - Crash in Investment Portfolio report
add support for pricedb-before in portfolio reports
2023-02-05 22:19:36 +08:00
Christopher Lam
68cd8cfa2c [portfolio] remove unused the_price 2023-02-05 17:24:49 +08:00
John Ralls
928f4f6232 Fix test error from replacing guile * form. 2023-02-04 14:12:35 -08:00
John Ralls
1c09adec87 Use gnc_numeric_multiply instead of Guile's * form for computing prices.
Partly fixes bug 798550 (https://bugs.gnucash.org/show_bug.cgi?id=798550)

Guile's * form when applied to rationals doesn't reduce and since
guile uses gmp for unlimited precision arithmetic produces numbers
that can't be passed back to C functions because they're too big for
any normal C integer types.
2023-02-04 09:43:56 -08:00
John Ralls
ce3447e6ea Bug 798740 - Build fails with gcc 13
Protect against passing an lseek failure rv to read().
2023-01-30 16:48:16 -08:00
Geert Janssens
8a167d186b Payment dialog - always list all possible post accounts
Before only the post account in the currency of the selected
vendor or customer was available.

This was reported in bug 797487n comment 17.
2023-01-30 13:48:19 +01:00
Geert Janssens
849aea31ef Bug 797477 - Manual foreign transaction from APAR to another doesn't trigger price input 2023-01-30 12:07:39 +01:00
Geert Janssens
5bbfb8efd4 Add proper indent to scheme changes from previous commit
Committed seperately to make it easier to look at the actual changes.
This commit only adds a 2 space indent to one function body.
2023-01-29 23:11:49 +01:00
Geert Janssens
34ed91eac9 Bug 798734 - Aging Reports don't handle mixed currency payments and invoices without Trading Accounts
Revisit the fix. It still made assumptions about the way
payment transactions were created. It can now handle
payment transaction either in the payment account
currency or in the post account currency.
2023-01-29 23:09:06 +01:00
Geert Janssens
894f8241e1 Revisit invoice payment in multi-currency context
- Show proper amount in dialog when applying or editing an existing transaction as payment
- Be more careful not to waste the existing payment split
- If the user changed the payment amount while starting from an existing transaction
  unreconcile the changed payment split
- Avoid needlessly changing transaction currency (only do so if the user chose
  a new transfer account and the old currency is neither the new transfer account's
  currency nor the post account's currency)
2023-01-29 23:09:06 +01:00
Geert Janssens
2d3d05068d Edit/assign payment - be more prudent not to lose data
We can't handle the case where a transaction has splits in more than one
APAR account. Instead of only warning that some of them will be lost
refuse to continue and leave it to the user to fix the transaction first.
2023-01-29 23:09:06 +01:00
Geert Janssens
8e6fb15d44 Improve a few messages related to business payments 2023-01-29 23:09:06 +01:00
Geert Janssens
dd50c7af13 Multi-currency - show split amount rather than transaction value
This issue was found while evaluating bug 798734, but not
the immediate topic of that bug.
2023-01-29 23:09:06 +01:00
Christopher Lam
34be3c8b14 [report-utilities] use fold for gnc:accounts-count-splits
previous definition would build intermediate lists for each step. also
handles the null account-list.
2023-01-29 23:51:31 +08:00
Geert Janssens
3a6d1ea663 Bug 798737 - Minor grammatical error - 'for' missing in 'You will be asked a conversion rate for each.' 2023-01-29 10:14:38 +01:00
Christopher Lam
e615a5775a Bug 798734 - Aging Reports don't handle mixed currency payments and invoices without Trading Accounts 2023-01-28 20:53:24 +08:00
luzpaz
67ab9e90d2 Fix some typos 2023-01-26 13:48:58 +01:00
John Ralls
f4c6d65395 Merge Bob Fewell's 'nofree' into maint. 2023-01-24 13:25:02 -08:00
John Ralls
46f9fb01c9 Simplify gnc_commodity equality and compare functions.
gnc_commodity_compare is used for sorting and so needs to have a less-than
return value. The only place it's used presents nothing to the UI; a GncGUID
ordering is fast and stable.

GnuCash allows only one commodity per book for any namespace/mnemonic pair, so
the exhaustive string comparisons are superflous. While the current engine
design allows only one instance of any object, meaning that a pointer comparison
is sufficient to determine equality, that may not be true in the future, but the
GncGUID is guaranteed to sufficiently identify a single commodity. Note that
gnc_commodity_equiv is used to enforce that single-commodity rule and so cannot
use GncGUID comparison.
2023-01-24 10:46:01 -08:00
Ralf Habacker
7c605043c3 Bug 798732: Type of balance carry forward accounts for german skr49 account template fixed
The accounts listed are of the EQUITY type and not ASSET.
2023-01-24 11:08:25 +01:00
John Ralls
a81b72f04c Merge Ralf Habacker's 'activate-opening-balance-accounts' into maint. 2023-01-23 14:43:49 -08:00
Richard Cohen
19bbde7000 Fix some typos 2023-01-23 15:01:46 +00:00
Christopher Lam
d1b84fae9f [balsheet-pnl] shorten workload by deduping commodities 2023-01-23 14:59:20 +08:00
Christopher Lam
c16bde1aea [commodity-utilities] shorten workload by deduping commodities 2023-01-23 14:12:26 +08:00
John Ralls
ae6efa39ca Merge 2 simple PRs from Richard Cohen into maint. 2023-01-22 10:41:02 -08:00
richardcohen
2a119375c3 Avoid touching the global errno 2023-01-22 10:40:00 -08:00
richardcohen
f3cc223f5f Fix some bad code formatting 2023-01-22 10:39:48 -08:00
Vin
2d66631fea
Translation update by Vin <k3kelm4vw@mozmail.com> using Weblate
po/ru.po: 77.9% (4210 of 5401 strings; 816 fuzzy)
326 failing checks (6.0%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/

Co-authored-by: Vin <k3kelm4vw@mozmail.com>
2023-01-20 20:01:45 +01:00
Christopher Lam
69cf911afa
Translation update by Christopher Lam <christopher.lck@gmail.com> using Weblate
po/fr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Christopher Lam <christopher.lck@gmail.com>
2023-01-19 17:49:54 +01:00
Yaron Shahrabani
1aeda8ae92
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
10 failing checks (0.1%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
2023-01-18 19:50:23 +01:00
Avi Markovitz
c186e04695
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
10 failing checks (0.1%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Translation update  by Avi Markovitz <avi.markovitz@gmail.com> using Weblate

po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
10 failing checks (0.1%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2023-01-18 19:50:20 +01:00
Arve Eriksson
2e7424469e
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/glossary/sv.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/sv/

Co-authored-by: Arve Eriksson <031299870@telia.com>
2023-01-18 19:50:18 +01:00
Christopher Lam
580efe091c Bug 797725 - Untranslatable string "For Period Covering ~a to ~a" 2023-01-17 00:24:08 +08:00
Christopher Lam
645cc9461d [core-utils] modify gnc:format to accept -
this allows use of varnames such as ${report-title}
2023-01-17 00:24:08 +08:00
Szia Tomi
ccc8b44b4a
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
519 failing checks (9.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
519 failing checks (9.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
519 failing checks (9.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-01-14 00:56:32 +01:00
mocsa
a81991b440
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
519 failing checks (9.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-01-14 00:56:31 +01:00
Yuri Chornoivan
3c4d1f81c8
Translation update by Yuri Chornoivan <yurchor@ukr.net> using Weblate
po/uk.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/

Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
2023-01-13 14:48:49 +01:00
Dan
54c2979aef
Translation update by Dan <denqwerta@gmail.com> using Weblate
po/uk.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/

Translation update  by Dan <denqwerta@gmail.com> using Weblate

po/uk.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/

Co-authored-by: Dan <denqwerta@gmail.com>
2023-01-13 14:48:48 +01:00
mocsa
78659ed4b6
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.8% (3339 of 5401 strings; 1214 fuzzy)
516 failing checks (9.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by mocsa <csaba@feltoltve.hu> using Weblate

po/hu.po: 61.7% (3334 of 5401 strings; 1219 fuzzy)
507 failing checks (9.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by mocsa <csaba@feltoltve.hu> using Weblate

po/hu.po: 61.7% (3334 of 5401 strings; 1219 fuzzy)
505 failing checks (9.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by mocsa <csaba@feltoltve.hu> using Weblate

po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/

Translation update  by mocsa <csaba@feltoltve.hu> using Weblate

po/hu.po: 61.7% (3334 of 5401 strings; 1219 fuzzy)
502 failing checks (9.2%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-01-13 14:48:48 +01:00
Robert Fewell
6df866f876 Add tests for the reconcile account functions 2023-01-12 14:38:08 +00:00
Robert Fewell
fd37ee997d Fix getting xaccAccountGetReconcilePostponeBalance
Change the G_VALUE from a INT64 to BOXED.
2023-01-12 14:38:08 +00:00
Yaron Shahrabani
ce3d47f1fe
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
2023-01-10 13:51:53 +01:00
Avi Markovitz
9242e1b34a
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Translation update  by Avi Markovitz <avi.markovitz@gmail.com> using Weblate

po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2023-01-10 13:51:52 +01:00
Giuseppe Foti
86a03b280b
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
po/glossary/it.po: 99.5% (215 of 216 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/it/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

po/it.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Co-authored-by: Giuseppe Foti <foti.giuseppe@gmail.com>
2023-01-09 08:49:19 +01:00
Christopher Lam
f081a2066e Merge branch 'maint-progress' into maint #1493 2023-01-09 13:32:29 +08:00
Christopher Lam
afc32af521 [balsheet-pnl] move out of experimental into regular menu
After 4 years it can finally graduate. Also remove FOOTER-TEXT
warning.
2023-01-09 10:18:42 +08:00
Arve Eriksson
5e8de30b02
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/sv.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/

Co-authored-by: Arve Eriksson <031299870@telia.com>
2023-01-09 01:21:57 +01:00