Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Djangoldp Invoice
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Startin blox
djangoldp-packages
Djangoldp Invoice
Commits
d3d1caa1
Commit
d3d1caa1
authored
Aug 28, 2019
by
Jean-Baptiste Pasquier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'cleanup-migrations' into 'master'
minor: cleanup-migrations See merge request
!3
parents
13f5bb1c
67881bb9
Pipeline
#5052
passed with stage
in 27 seconds
Changes
7
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
149 deletions
+9
-149
djangoldp_invoice/migrations/0001_initial.py
djangoldp_invoice/migrations/0001_initial.py
+9
-9
djangoldp_invoice/migrations/0002_auto_20181206_1856.py
djangoldp_invoice/migrations/0002_auto_20181206_1856.py
+0
-26
djangoldp_invoice/migrations/0003_auto_20190114_1630.py
djangoldp_invoice/migrations/0003_auto_20190114_1630.py
+0
-28
djangoldp_invoice/migrations/0004_auto_20190117_0215.py
djangoldp_invoice/migrations/0004_auto_20190117_0215.py
+0
-27
djangoldp_invoice/migrations/0005_auto_20190327_0653.py
djangoldp_invoice/migrations/0005_auto_20190327_0653.py
+0
-19
djangoldp_invoice/migrations/0006_customerinvoice_additionaltext.py
...invoice/migrations/0006_customerinvoice_additionaltext.py
+0
-20
djangoldp_invoice/migrations/0007_freelanceinvoice_uploadurl.py
...ldp_invoice/migrations/0007_freelanceinvoice_uploadurl.py
+0
-20
No files found.
djangoldp_invoice/migrations/0001_initial.py
View file @
d3d1caa1
# -*- coding: utf-8 -*-
# Generated by Django 1.11.
16 on 2018-12-01 18:22
# Generated by Django 1.11.
20 on 2019-08-28 12:01
from
__future__
import
unicode_literals
import
datetime
...
...
@@ -12,6 +12,7 @@ class Migration(migrations.Migration):
initial
=
True
dependencies
=
[
(
'djangoldp_project'
,
'0001_initial'
),
]
operations
=
[
...
...
@@ -20,7 +21,6 @@ class Migration(migrations.Migration):
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'title'
,
models
.
CharField
(
max_length
=
255
)),
(
'htAmount'
,
models
.
DecimalField
(
decimal_places
=
2
,
max_digits
=
11
)),
(
'creationDate'
,
models
.
DateField
(
auto_now_add
=
True
)),
(
'modificationDate'
,
models
.
DateField
(
auto_now
=
True
)),
],
...
...
@@ -35,11 +35,13 @@ class Migration(migrations.Migration):
(
'identifier'
,
models
.
CharField
(
max_length
=
255
)),
(
'title'
,
models
.
CharField
(
max_length
=
255
)),
(
'state'
,
models
.
CharField
(
choices
=
[(
'pending'
,
'en attente'
),
(
'paid'
,
'réglée'
)],
default
=
'pending'
,
max_length
=
255
)),
(
'htAmount'
,
models
.
DecimalField
(
decimal_places
=
2
,
max_digits
=
11
)),
(
'tvaRate'
,
models
.
DecimalField
(
decimal_places
=
2
,
max_digits
=
4
)),
(
'creationDate'
,
models
.
DateField
(
auto_now_add
=
True
)),
(
'modificationDate'
,
models
.
DateField
(
auto_now
=
True
)),
(
'invoicingDate'
,
models
.
DateField
(
default
=
datetime
.
date
.
today
)),
(
'additionalText'
,
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
)),
(
'customer'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
to
=
'djangoldp_project.Customer'
)),
(
'project'
,
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
to
=
'djangoldp_project.Project'
)),
],
options
=
{
'permissions'
:
((
'view_invoice'
,
'Read'
),
(
'control_invoice'
,
'Control'
)),
...
...
@@ -54,7 +56,8 @@ class Migration(migrations.Migration):
(
'title'
,
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
,
verbose_name
=
'Titre facture'
)),
(
'state'
,
models
.
CharField
(
choices
=
[(
'pending'
,
'en attente'
),
(
'sent'
,
'envoyé'
),
(
'paid'
,
'payé'
)],
default
=
'pending'
,
max_length
=
255
)),
(
'htAmount'
,
models
.
DecimalField
(
decimal_places
=
2
,
max_digits
=
11
)),
(
'tvaRate'
,
models
.
DecimalField
(
choices
=
[(
0.0
,
0.0
),
(
20.0
,
20.0
)],
decimal_places
=
2
,
default
=
20.0
,
max_digits
=
4
)),
(
'tvaRate'
,
models
.
DecimalField
(
choices
=
[(
0.0
,
'exonération de TVA'
),
(
20.0
,
'20
%
'
)],
decimal_places
=
2
,
default
=
20.0
,
max_digits
=
4
)),
(
'uploadUrl'
,
models
.
URLField
(
blank
=
True
,
null
=
True
)),
(
'creationDate'
,
models
.
DateField
(
auto_now_add
=
True
)),
(
'modificationDate'
,
models
.
DateField
(
auto_now
=
True
)),
(
'invoicingDate'
,
models
.
DateField
(
default
=
datetime
.
date
.
today
)),
...
...
@@ -71,15 +74,12 @@ class Migration(migrations.Migration):
(
'htAmount'
,
models
.
DecimalField
(
decimal_places
=
2
,
max_digits
=
11
)),
(
'creationDate'
,
models
.
DateField
(
auto_now_add
=
True
)),
(
'modificationDate'
,
models
.
DateField
(
auto_now
=
True
)),
(
'batch'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'djangoldp_invoice.Batch'
)),
(
'batch'
,
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'tasks'
,
to
=
'djangoldp_invoice.Batch'
)),
],
options
=
{
'permissions'
:
((
'view_batch'
,
'Read'
),
(
'control_batch'
,
'Control'
)),
},
),
migrations
.
AddField
(
model_name
=
'batch'
,
name
=
'invoice'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
'djangoldp_invoice.CustomerInvoice'
),
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'batches'
,
to
=
'djangoldp_invoice.CustomerInvoice'
),
),
]
djangoldp_invoice/migrations/0002_auto_20181206_1856.py
deleted
100644 → 0
View file @
13f5bb1c
# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-12-06 18:56
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'djangoldp_invoice'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'batch'
,
name
=
'invoice'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'batches'
,
to
=
'djangoldp_invoice.CustomerInvoice'
),
),
migrations
.
AlterField
(
model_name
=
'task'
,
name
=
'batch'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'tasks'
,
to
=
'djangoldp_invoice.Batch'
),
),
]
djangoldp_invoice/migrations/0003_auto_20190114_1630.py
deleted
100644 → 0
View file @
13f5bb1c
# -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-01-14 16:30
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'djangoldp_invoice'
,
'0002_auto_20181206_1856'
),
]
operations
=
[
migrations
.
RemoveField
(
model_name
=
'batch'
,
name
=
'htAmount'
,
),
migrations
.
RemoveField
(
model_name
=
'customerinvoice'
,
name
=
'htAmount'
,
),
migrations
.
AlterField
(
model_name
=
'freelanceinvoice'
,
name
=
'tvaRate'
,
field
=
models
.
DecimalField
(
choices
=
[(
0.0
,
'exonération de TVA'
),
(
20.0
,
'20
%
'
)],
decimal_places
=
2
,
default
=
20.0
,
max_digits
=
4
),
),
]
djangoldp_invoice/migrations/0004_auto_20190117_0215.py
deleted
100644 → 0
View file @
13f5bb1c
# -*- coding: utf-8 -*-
# Generated by Django 1.11.18 on 2019-01-17 02:15
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'djangoldp_project'
,
'0002_move_jabber'
),
(
'djangoldp_invoice'
,
'0003_auto_20190114_1630'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'customerinvoice'
,
name
=
'customer'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
to
=
'djangoldp_project.Customer'
),
),
migrations
.
AddField
(
model_name
=
'customerinvoice'
,
name
=
'project'
,
field
=
models
.
ForeignKey
(
null
=
True
,
on_delete
=
django
.
db
.
models
.
deletion
.
DO_NOTHING
,
to
=
'djangoldp_project.Project'
),
),
]
djangoldp_invoice/migrations/0005_auto_20190327_0653.py
deleted
100644 → 0
View file @
13f5bb1c
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-03-27 06:53
from
__future__
import
unicode_literals
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'djangoldp_invoice'
,
'0004_auto_20190117_0215'
),
]
operations
=
[
migrations
.
AlterModelOptions
(
name
=
'task'
,
options
=
{
'default_permissions'
:
(
'add'
,
'change'
,
'delete'
,
'view'
,
'control'
)},
),
]
djangoldp_invoice/migrations/0006_customerinvoice_additionaltext.py
deleted
100644 → 0
View file @
13f5bb1c
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-03-28 02:35
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'djangoldp_invoice'
,
'0005_auto_20190327_0653'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'customerinvoice'
,
name
=
'additionalText'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
255
,
null
=
True
),
),
]
djangoldp_invoice/migrations/0007_freelanceinvoice_uploadurl.py
deleted
100644 → 0
View file @
13f5bb1c
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-04-10 04:25
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'djangoldp_invoice'
,
'0006_customerinvoice_additionaltext'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'freelanceinvoice'
,
name
=
'uploadUrl'
,
field
=
models
.
URLField
(
blank
=
True
,
null
=
True
),
),
]
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