Skip to content

Conversation

mograby3500
Copy link

@mograby3500 mograby3500 commented Jul 1, 2025

This commit aims to add the ability for users
to search on records with (debit, credit or balance) that matches the search keyword.

Task-4908897

@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.

one small nitpick

Choose a reason for hiding this comment

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

to follow the functional need create a new filter call Amount 😄

Copy link
Author

Choose a reason for hiding this comment

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

@malb-odoo Done, thanks for the review!

@mograby3500 mograby3500 force-pushed the 18.0-rd-accounting-onboarding-allow-search-on-amount-in-move-line-alah branch from ee83a4f to b97a185 Compare July 2, 2025 14:44

Choose a reason for hiding this comment

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

In fact no need to check the balance since the balance is just the sign version of the debit and credit, so

Suggested change
'|', '|', ('debit', 'ilike', self), ('credit', 'ilike', self), ('balance', 'ilike', self)]"/>
['|', ('debit', 'ilike', self), ('credit', 'ilike', self)]"/>

Copy link
Author

Choose a reason for hiding this comment

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

Done.

@mograby3500 mograby3500 force-pushed the 18.0-rd-accounting-onboarding-allow-search-on-amount-in-move-line-alah branch 2 times, most recently from 1ca3ee3 to 597eef0 Compare July 3, 2025 08:34

Choose a reason for hiding this comment

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

In one line and it would be perfect but will not block for that it's not the point of the onboarding 😄

Copy link
Author

Choose a reason for hiding this comment

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

Done.

This commit aims to add the ability for users
to search on records with (debit, credit or balance) that
matches the search keyword.

task-4908897
@mograby3500 mograby3500 force-pushed the 18.0-rd-accounting-onboarding-allow-search-on-amount-in-move-line-alah branch from 597eef0 to 6d35198 Compare July 3, 2025 09:15
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.

noiiceeee

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.

all goood nice job! commit message is not perfect since you still mention the balance but i think it's not the point here

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