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] account_mass_reconcile no view of reconciled display items #645

Open
syera94 opened this issue Apr 11, 2024 · 2 comments
Open

[16.0] account_mass_reconcile no view of reconciled display items #645

syera94 opened this issue Apr 11, 2024 · 2 comments
Labels

Comments

@syera94
Copy link

syera94 commented Apr 11, 2024

Account_mass_reconcile

In the module it's not possible to see which items was reconciled from the history page or from the tree view "display items reconciles on the last run"

Describe the bug

it seems to be not possible to check all the reconciled move line from the history page of the module or from the tree view.
line 206 of the mass_reconcile.py file , the field "full_reconcile_id", is empty. Consequently, all the line just reconciled by the module does not appear in the history view.

It sems the error com from the line 191 and 192 of the same python file : a new env is generated to store the concerned move_line. And this new env which has change is not call anymore.
Consequenlty, when we dont change the field reconciliation_commit_every from 1 to 0 the method find_reconcile_ids call the wrong env to find the reconciled move_lines.

To Reproduce

1.Go to accounting --> customer --> payment --> choose a partner and do a payment with reference
2.Go to accounting --> customer --> invoice --> do a invoice whit the same partner and the same amount and reference
3.Got to accounting --> mass automatic reconcile --> create a new one and choose simple amount and partner
4.Check the number of unreconciled move line --> click the button start auto reconciliation
5.Check the number of unreconciled move line (which is less) --> and go to "display items on the last run"
Nothing appears

Expected behavior
The reconcile move line should appear when we click on the button "display items on the last run"

temporary solution which work for my customer

As my customer doesnt habe too many reconciled line per auto reconciliation, I change in data base the field reconciliation_commit_every from 1 to 0 to avoid commit in the midlle of the treatement.
And this way, the code new_env is the same than the regular and find the line in this env.

@syera94 syera94 added the bug label Apr 11, 2024
Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 13, 2024
@sergiobstoj
Copy link
Member

I have opened a PR that resolves this issue. #686

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants