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][FIX] account_mass_reconcile: New environment is initialized when ... #686

Conversation

sergiobstoj
Copy link
Member

@sergiobstoj sergiobstoj commented Aug 26, 2024

New environment is initialized when the for loop begins so as not to lose the record of last reconciled items by having "commit_every" > 0 configured.

When having reconciliation_commit_every configured as >0
image

There are no records linked on Display items reconciled on the last run
image

With this fix, having same config (pictures from this PR Runboat):
image

We can see the las reconciled items:
image

@sergiobstoj sergiobstoj reopened this Sep 4, 2024
@sergiobstoj sergiobstoj force-pushed the 16.0-fix-account_mass_reconcile-run_reconcile branch from 150f6e5 to 3e1cb11 Compare September 4, 2024 12:05
@sergiobstoj sergiobstoj changed the title [16.0][FIX] account_mass_reconcile: Add a commit for the original env… [16.0][FIX] account_mass_reconcile: New environment is initialized when Sep 4, 2024
@sergiobstoj sergiobstoj changed the title [16.0][FIX] account_mass_reconcile: New environment is initialized when [16.0][FIX] account_mass_reconcile: New environment is initialized when ... Sep 4, 2024
@sergiobstoj sergiobstoj force-pushed the 16.0-fix-account_mass_reconcile-run_reconcile branch from 3e1cb11 to 1fde2d1 Compare September 4, 2024 12:11
Copy link

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

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

LGTM

@sergiobstoj sergiobstoj marked this pull request as ready for review September 5, 2024 07:22
@sergiobstoj sergiobstoj marked this pull request as draft September 5, 2024 09:01
@sergiobstoj sergiobstoj marked this pull request as ready for review September 6, 2024 07:40
@sergiocorato
Copy link

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Sorry @sergiocorato you are not allowed to merge.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

@sergiocorato
Copy link

@AaronHForgeFlow is it possible to merge this one?

@sergiobstoj
Copy link
Member Author

@pedrobaeza is ok for merge?

@pedrobaeza
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-686-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Dec 12, 2024
Signed-off-by pedrobaeza
@OCA-git-bot
Copy link
Contributor

@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-686-by-pedrobaeza-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@pedrobaeza
Copy link
Member

You have to rebase and check CI errors.

…en the for loop begins so as not to lose the record of last reconciled items by having "commit_every" > 0 configured
@sergiobstoj sergiobstoj force-pushed the 16.0-fix-account_mass_reconcile-run_reconcile branch from 1fde2d1 to 0bd0681 Compare December 12, 2024 10:44
@pedrobaeza
Copy link
Member

@pedrobaeza
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-686-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 22194aa into OCA:16.0 Dec 12, 2024
3 of 5 checks passed
@OCA-git-bot
Copy link
Contributor

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

@sergiobstoj sergiobstoj deleted the 16.0-fix-account_mass_reconcile-run_reconcile branch December 12, 2024 12:07
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.

6 participants