Skip to content
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

[16.0] [IMP] account_reconcile_oca: pass default name for lines created through reconciliation models #720

Conversation

ByteMeAsap
Copy link
Contributor

This PR aims to pass a default name/label(same as the label on the bank statement line) for the new line that is created through reconciliation models if no label is passed through the reconciliation model

@OCA-git-bot
Copy link
Contributor

Hi @etobella,
some modules you are maintaining are being modified, check this out!

@pedrobaeza pedrobaeza added this to the 16.0 milestone Dec 12, 2024
@pedrobaeza
Copy link
Member

Any screenshot of the before and after?

@ByteMeAsap
Copy link
Contributor Author

Any screenshot of the before and after?

@pedrobaeza ,consider a reconciliation model 'Test' as can be seen in following screenshot.There is no 'Journal Item Label' passed.

Screenshot From 2024-12-18 19-32-05

So currently, it passes a blank label on the reconciliation line when the reconciliation model is selected, as can be seen in the following screenshot.

Screenshot From 2024-12-18 19-31-22

After this PR,the default label(same as the label on the bank statement line) would be passed on the reconciliation line as can be seen in following screenshot

Screenshot From 2024-12-18 19-31-53

@pedrobaeza
Copy link
Member

OK, understood. Thanks for the explanations. Please include that "Steps to reproduce the problem" in the commit message, omitting images, but explaining them by text.

…the bank statement line) for lines created through reconciliation models if there is no 'Journal Item Label' passed in the reconciliation model
@ByteMeAsap ByteMeAsap force-pushed the 16.0-imp-account_reconcile_oca-pass_default_name branch from f4a1351 to 0b19dc3 Compare December 19, 2024 08:44
@ByteMeAsap
Copy link
Contributor Author

OK, understood. Thanks for the explanations. Please include that "Steps to reproduce the problem" in the commit message, omitting images, but explaining them by text.

@pedrobaeza ,done

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Well, the commit message allows multiple lines, and the explanation should be put in consecutive lines, not everything in one line, but OK, I don't want to be more picky.

Please fw-port it to 17 using the expected commit message guidelines (with one first short line, and a detailed explanation in subsequent lines):

https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#commit-message

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-720-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 502f289 into OCA:16.0 Dec 19, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at ba13d90. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants