Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AE UTBM
Sith
Commits
7e71ffcb
Commit
7e71ffcb
authored
Nov 06, 2016
by
Skia
Browse files
Merge branch 'sli' into 'master'
Fix company display for operation creation See merge request
!22
parents
54d3ca8e
5d5f2522
Pipeline
#350
passed with stage
in 2 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
accounting/admin.py
View file @
7e71ffcb
...
...
@@ -10,5 +10,6 @@ admin.site.register(AccountingType)
admin
.
site
.
register
(
SimplifiedAccountingType
)
admin
.
site
.
register
(
Operation
)
admin
.
site
.
register
(
Label
)
admin
.
site
.
register
(
Company
)
accounting/models.py
View file @
7e71ffcb
...
...
@@ -51,6 +51,9 @@ class Company(models.Model):
def
get_display_name
(
self
):
return
self
.
name
def
__str__
(
self
):
return
self
.
name
class
BankAccount
(
models
.
Model
):
name
=
models
.
CharField
(
_
(
'name'
),
max_length
=
30
)
iban
=
models
.
CharField
(
_
(
'iban'
),
max_length
=
255
,
blank
=
True
)
...
...
Write
Preview
Supports
Markdown
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