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
f8859796
Commit
f8859796
authored
May 10, 2018
by
lebouder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #100 : validation des factures plus explicite
parent
05bc645a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
284 additions
and
314 deletions
+284
-314
cotisations/locale/fr/LC_MESSAGES/django.mo
cotisations/locale/fr/LC_MESSAGES/django.mo
+0
-0
cotisations/locale/fr/LC_MESSAGES/django.po
cotisations/locale/fr/LC_MESSAGES/django.po
+279
-313
cotisations/views.py
cotisations/views.py
+4
-0
re2o/acl.py
re2o/acl.py
+1
-1
No files found.
cotisations/locale/fr/LC_MESSAGES/django.mo
View file @
f8859796
No preview for this file type
cotisations/locale/fr/LC_MESSAGES/django.po
View file @
f8859796
This diff is collapsed.
Click to expand it.
cotisations/views.py
View file @
f8859796
...
...
@@ -651,6 +651,10 @@ def control(request):
if
control_invoices_form
.
is_valid
():
control_invoices_form
.
save
()
reversion
.
set_comment
(
"Controle"
)
messages
.
success
(
request
,
_
(
"Your changes have been properly taken into account."
)
)
return
redirect
(
reverse
(
'cotisations:control'
))
return
render
(
request
,
'cotisations/control.html'
,
{
'facture_list'
:
invoice_list
,
...
...
re2o/acl.py
View file @
f8859796
...
...
@@ -189,7 +189,7 @@ def can_change(*targets):
method 'can_change'. See `acl_base_decorator` documentation for further
details.
"""
return
acl_base_decorator
(
'can_change'
,
*
targets
)
return
acl_base_decorator
(
'can_change'
,
*
targets
,
on_instance
=
False
)
def
can_delete
(
*
targets
):
...
...
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