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
intranet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nounous-archives
intranet
Commits
f0d91cfa
Commit
f0d91cfa
authored
Dec 08, 2015
by
Lucas Serrano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[printer] Fix: récupére le statut et ne fait rien…
parent
923cc896
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
printer/models.py
printer/models.py
+2
-0
No files found.
printer/models.py
View file @
f0d91cfa
...
...
@@ -67,6 +67,8 @@ class Printer(models.Model):
self
.
refresh_paper_trays
()
self
.
refresh_supplies
()
self
.
refresh_alerts
()
else
:
super
(
Printer
,
self
).
save
(
*
args
,
**
kwargs
)
def
__unicode__
(
self
):
return
self
.
name
...
...
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