Skip to content

[ADD] account_payment_return_revoke_ mandate#856

Closed
glitchov wants to merge 4 commits intoOCA:18.0from
acsone:18.0-mig-account_payment_return_revoke_mandate-hda
Closed

[ADD] account_payment_return_revoke_ mandate#856
glitchov wants to merge 4 commits intoOCA:18.0from
acsone:18.0-mig-account_payment_return_revoke_mandate-hda

Conversation

@glitchov
Copy link
Copy Markdown

Adds a flag on payment return reason to automatically revoke mandate in the corresponding invoice.

It's a migration of the never merged pull request #312

@glitchov glitchov force-pushed the 18.0-mig-account_payment_return_revoke_mandate-hda branch 2 times, most recently from 1160678 to 19e6f76 Compare July 11, 2025 13:39
Comment on lines +1 to +3
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

why is this necessary? what does it do?

Copy link
Copy Markdown
Member

@yvaucher yvaucher Jul 29, 2025

Choose a reason for hiding this comment

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

pyproject.toml is added to all addons usually by the pre-commit task.

It is used to package the odoo addons. More on this here: https://github.com/sbidoul/whool

@yvaucher
Copy link
Copy Markdown
Member

#833 was merged. Please rebase and remove the "DON'T MERGE" commit.

@@ -0,0 +1 @@
- Quentin Groulard \<quentin.groulard@acsone.eu\>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@glitchov You might want to add yourself to the contributors list 😉

Copy link
Copy Markdown
Member

@yvaucher yvaucher left a comment

Choose a reason for hiding this comment

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

LGTM

Don't forget to add yourself as a contributor.

@glitchov glitchov force-pushed the 18.0-mig-account_payment_return_revoke_mandate-hda branch from 19e6f76 to 6621abb Compare July 30, 2025 09:35
Comment on lines +14 to +16
def _payment_returned(self, return_line):
# make override easier
self._revoke_mandate(return_line)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this hook is still useful in the base module (account_payment_return), can't we migrate #310 as well instead of merging everything in account_payment_return_revoke_mandate ?

@glitchov glitchov force-pushed the 18.0-mig-account_payment_return_revoke_mandate-hda branch 3 times, most recently from ac46085 to 3add1b0 Compare September 16, 2025 07:45
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you please explain why we need this file ? Is it still needed now that you are based on #879 ?

@glitchov glitchov force-pushed the 18.0-mig-account_payment_return_revoke_mandate-hda branch from 3add1b0 to 0fca0aa Compare September 17, 2025 10:53
@github-actions
Copy link
Copy Markdown

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.
If you want this PR 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 Jan 18, 2026
@github-actions github-actions bot closed this Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants