Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
6af65b78
Commit
6af65b78
authored
Jul 13, 2018
by
Hugo LEVY-FALK
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos
parent
ef846415
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CHANGELOG.md
CHANGELOG.md
+1
-1
cotisations/models.py
cotisations/models.py
+2
-2
No files found.
CHANGELOG.md
View file @
6af65b78
...
...
@@ -119,4 +119,4 @@ to the staff members so they can use every type of payment to buy anything.
Don't forget to run migrations, several settings previously in the
`preferences`
app ar now
in their own Payment models.
To have a closer look on how the payments works, pleas go to the wiki.
To have a closer look on how the payments works, pleas
e
go to the wiki.
cotisations/models.py
View file @
6af65b78
...
...
@@ -562,7 +562,7 @@ class Article(RevMixin, AclMixin, models.Model):
return
(
self
.
available_for_everyone
or
user
.
has_perm
(
'cotisations.buy_every_article'
),
_
(
"You cannot
use this Payment
."
)
_
(
"You cannot
buy this Article
."
)
)
@
classmethod
...
...
@@ -677,7 +677,7 @@ class Paiement(RevMixin, AclMixin, models.Model):
The general way of ending a payment.
:param invoice: The invoice being created.
:param request: Request sen
ded
by the user.
:param request: Request sen
t
by the user.
:param use_payment_method: If `self` has an attribute `payment_method`,
returns the result of
`self.payment_method.end_payment(invoice, request)`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment