Skip to content

[FIX] account: allow journal item search by amount #4802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

baje-odoo
Copy link

Purpose

Allow searching journal items by their amount directly from the search bar.
This improves usability when accountants want to find entries with a specific amount.

Changes

  • Added a custom search on amount field of account.move.line.
  • Enables syntax like amount:123.45 in the search bar on the Journal Items list.

How to test

  1. Go to Accounting > Journal Items.
  2. In the search bar, type amount:42.0 (replace 42.0 with a known amount).
  3. Only journal items with exactly that amount should appear.

@robodoo
Copy link

robodoo commented Jul 1, 2025

This PR targets the un-managed branch odoo-dev/odoo:18.0-rd-accounting-onboarding-malb, it needs to be retargeted before it can be merged.

Copy link

@malb-odoo malb-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for the commit message, but the filter is good !

Purpose
-------
Allow searching journal items by their amount directly from the search bar.
This improves usability when accountants want to find entries with a specific amount.

Changes
-------
- Added a custom search on `amount` field of `account.move.line`.
- Enables syntax like `amount:123.45` in the search bar on the Journal Items list.

How to test
-----------
1. Go to Accounting > Journal Items.
2. In the search bar, type `amount:42.0` (replace 42.0 with a known amount).
3. Only journal items with exactly that amount should appear.
@baje-odoo baje-odoo force-pushed the 18.0-rd-accounting-onboarding-amount-search-journal-baje branch from 192b846 to ae924d6 Compare July 3, 2025 06:45
Copy link

@malb-odoo malb-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the task id but otherwise perfectttt

@malb-odoo malb-odoo closed this Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants