Commit Graph
33 Commits
Author SHA1 Message Date
Herculino Trotta f9a630d618 fix(migrations): make filterpreset is_default migration depend on 0055 2026-11-20 16:46:59 -03:00
Herculino Trotta 25c9018aab fix(migrations): renumber filterpreset is_default migration after main's 0055 2026-11-20 16:45:15 -03:00
Herculino Trotta 1114a5a1c4 Merge remote-tracking branch 'origin/main' into feat/default-filter-preset 2026-11-20 16:42:50 -03:00
Herculino Trotta c29a6bea8f feat(transactions): add lightweight auto-tagging for unclassified transactions 2026-11-19 20:00:51 -03:00
Asish Kumar b10323b6f5 feat(transactions): open the transaction pages with a default filter preset
Saved filter presets have to be picked from the menu every time a page
opens, so a view someone always wants, like hiding projected
transactions (#521), takes a few clicks on every visit or a bookmarked
URL.

A preset can now be set as the default from the presets menu, with the
star next to its name. All transactions and the Monthly overview then
open with it applied, relative dates moved to today, whenever their
URL has no filters of its own:

- `FilterPreset.is_default`, with a constraint allowing one default per
  user. Starring another preset moves the default to it, and starring
  the default again turns it off.
- Filters in the URL, like `/transactions/?is_paid=1`, take precedence
  over the default, and Clear still empties the filter for the visit.
- The star stays visible on the default preset and shows on hover for
  the others, like the delete button.
- Building a filter from a preset moves into
  `TransactionsFilter.from_preset`, shared by applying a preset and
  opening a page with the default one.
2026-11-20 02:28:10 +05:30
Herculino Trotta 72502c8873 fix(transactions): renumber filter preset migration after sub-transactions
main added 0053_sub_transaction, which also depends on 0052, so the
filter preset migration becomes 0054 to keep a single leaf.
2026-11-14 11:36:30 -03:00
Herculino Trotta 262ac3fbb6 Merge remote-tracking branch 'origin/main' into feat/filter-preset-relative-dates
# Conflicts:
#	app/apps/transactions/filters.py
2026-11-14 11:29:15 -03:00
Herculino Trotta ae245fb1d1 feat(transactions): add sub-transactions
Splits a transaction into named parts whose amounts add up to its amount,
e.g. the items of a big purchase or the fees inside an investment
contribution. Parts can be set on transactions, installment plans,
recurring and quick transactions, and are copied to the transactions they
generate. Transfers can't have parts.

Transactions show their parts under a tab on the card and in the
investment detail. The content filter matches part names, and bulk edits
leave the amount of split transactions alone.
2026-11-14 02:13:21 -03:00
Asish Kumar ced7f3826e feat(transactions): keep filter preset dates relative to today
Filter presets save the exact dates they were created with, so a preset
for "from today" or "this month" goes stale the next day or month.

The save dialog now offers "Keep dates relative to today". When ticked,
the preset remembers the day it was saved (`FilterPreset.relative_to`)
and, when applied, moves its dates forward by the time elapsed since:
"Date from"/"Until" by days and the reference months by months. A preset
saved with today as the start date always starts today, and one saved
for the current reference month always shows the current month.

- The option is only stored when the preset has a date filter.
- Presets with relative dates show a clock icon in the presets menu.
- Presets saved before this change, or without the option, keep their
  fixed dates.
2026-11-12 22:59:59 +05:30
Herculino Trotta 3716b9b0e3 feat(transactions): link transfer sides and show them as a single item
Transfers are still two transactions, now linked to each other:
- shown as one item in lists, with each side's amount, account,
  category and tags ("Combine transfers" user setting, on by default)
- date, reference date, paid and mute stay in sync between sides
- edit opens the transfer form; delete, restore, duplicate and bulk
  actions act on both sides
- transfers made by the transfer form now trigger rules for each side

Recurring and quick transactions gain a Transfer type, with a "To
account" and optional "To amount", generating linked transfers. A
transfer can be converted into either.

Existing transfers are left as they are, since there is no reliable
way to pair them.
2026-11-02 01:14:46 -03:00
Herculino Trotta 9e135560fe feat(transactions): add filter preset model 2026-08-16 01:40:03 -03:00
Herculino Trotta 6a19381672 feat(transactions): add attachments 2026-06-06 04:33:06 -03:00
Herculino Trotta 4f6903e8e4 feat(transactions:recurring): Allow to set how many future instances of a recurring transaction to create in advance 2025-08-06 13:13:59 -03:00
Herculino Trotta 5b6c123fa1 refactor: properly name shareable objects generic fields 2025-07-27 23:19:39 -03:00
Herculino Trotta ef5f3580a0 feat: allow single transactions to be hidden from summaries
Control is done via the dropdown menu on a transaction item
Transfers are hidden by default

fix #274
2025-07-19 16:19:11 -03:00
Herculino Trotta d3b354e2b8 feat: add quick transactions 2025-06-20 02:01:09 -03:00
Herculino Trotta 73e8fdbf04 feat: alphabetically order most models by default
#207
2025-03-09 18:55:29 -03:00
Herculino Trotta 3809f82b60 feat(transactions): add option for removing Recurring/Installment descriptions and notes from generated transactions
#209
2025-03-09 17:50:27 -03:00
Herculino Trotta 020dd74f80 feat: multi tenancy support 2025-03-08 12:03:17 -03:00
Herculino Trotta 00b8727664 feat(transactions): add internal_id field to transactions 2025-01-22 10:43:18 -03:00
Herculino Trotta a52f682c4f feat(transactions): soft delete 2025-01-22 10:43:17 -03:00
Herculino Trotta 2b6a73af18 feat(transactions): make description optional 2025-01-14 10:04:46 -03:00
Herculino Trotta 3c0a2d82ac feat: allow for deactivating Tags, Categories and Entities, hiding them from menus 2025-01-04 18:13:11 -03:00
Herculino Trotta 2382abf3c0 feat: add Transaction Entity 2024-11-30 17:12:35 -03:00
Herculino Trotta ee7c8c54ca feat: add categories and allow to finish a recurring transaction 2024-11-05 00:03:36 -03:00
Herculino Trotta b070b8b816 feat(migrations): add related field name to transaction x account relationship 2024-11-02 01:29:25 -03:00
Herculino Trotta d47db1248e feat: add notes to Tranfer, Recurring and Installment 2024-10-24 16:13:37 -03:00
Herculino Trotta 8e3f398016 feat: add paused status to RecurringTransaction 2024-10-18 19:03:05 -03:00
Herculino Trotta 2affd39c7b feat: add task for cleaning up procrastinate jobs after 1 month 2024-10-17 00:36:31 -03:00
Herculino Trotta 8010cf26de feat: add migrations 2024-10-16 00:19:31 -03:00
Herculino Trotta 5b66ac7fac refactor: move some fields and widgets around 2024-10-10 22:37:10 -03:00
Herculino Trotta 3dde44b1cd changes 2024-10-09 00:31:21 -03:00
Herculino Trotta 50b0c6ce01 initial commit 2024-09-26 11:00:40 -03:00