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

Add cancel state on donations #4

Merged
merged 5 commits into from
Jun 2, 2015
Merged

Conversation

alexis-via
Copy link
Contributor

This "cancel" state on donation is very convenient for donation via direct debit where the direct debit has been rejected : it allows to keep a donation as "cancel", which is good to keep the history.

Allow to cancel donations linked to a payment line in done state.

Allow to cancel donations linked to a payment line in done state
@yvaucher
Copy link
Member

PO update for the warnings?

@alexis-via alexis-via force-pushed the 8.0-add-cancel-state branch 2 times, most recently from abcb455 to b5f9e45 Compare May 29, 2015 23:37
@alexis-via
Copy link
Contributor Author

@yvaucher done

if self.move_id:
raise Warning(
_('A cancelled donation should not be linked to an '
'account move'))
Copy link
Member

Choose a reason for hiding this comment

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

Align indentation

@brother-bernard
Copy link
Contributor

👍

@bguillot
Copy link

with the comments of Pedro 👍

Alexis de Lattre added 2 commits June 1, 2015 12:47
yvaucher added a commit that referenced this pull request Jun 2, 2015
@yvaucher yvaucher merged commit 82eb4b3 into OCA:8.0 Jun 2, 2015
@yvaucher
Copy link
Member

yvaucher commented Jun 2, 2015

👍

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

Successfully merging this pull request may close these issues.

5 participants