-
-
Notifications
You must be signed in to change notification settings - Fork 247
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_cutoff_base: auto reverse #270
Conversation
Hi @alexis-via, |
489cb36
to
0f30e6b
Compare
0f30e6b
to
bfbe6c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
@OCA/accounting-maintainers Can this one be merged ? |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
@OCA/accounting-maintainers Could you merge this PR please ? |
@jbaudoux it's missing an approval but I'll remove the stale label |
string="Cut-off Journal Entry Reversal", | ||
readonly=True, | ||
copy=False, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry to be late to the party, but could we make this a computed field based on env["account.move"].search[("reversed_entry_id", "=", self.move_id)]
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or self.move_id.reversal_move_id and self.move_id.reversal_move_id[0]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds better indeed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated to use a compute. Can you re-review? Thanks
73fcaf3
to
d19e4c5
Compare
Allow to automatically reverse generated moves
d19e4c5
to
ffdb023
Compare
@sbidoul Can we merge this now? |
@sbidoul Can we move forward with this? It works in production for a long time now. |
Yes, I had lost track of this. /ocabot merge minor |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 8544536. Thanks a lot for contributing to OCA. ❤️ |
Allow to automatically reverse generated moves
Added test move creation
cc @alexis-via @rousseldenis