-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d728610
commit f193981
Showing
12 changed files
with
182 additions
and
8 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
OneSila/core/migrations/0101_alter_multitenantuser_timezone.py
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
OneSila/core/migrations/0102_alter_multitenantuser_timezone.py
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
OneSila/core/migrations/0103_alter_multitenantuser_timezone.py
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
OneSila/core/migrations/0104_alter_multitenantuser_timezone.py
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
OneSila/core/migrations/0105_alter_multitenantuser_timezone.py
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
OneSila/currencies/migrations/0004_alter_currency_exchange_rate_official_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 5.0.2 on 2024-06-16 17:13 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('currencies', '0003_remove_currency_unique_is_default_currency_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='currency', | ||
name='exchange_rate_official', | ||
field=models.FloatField(blank=True, default=1, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='currency', | ||
name='round_prices_up_to', | ||
field=models.IntegerField(blank=True, default=1, null=True), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
OneSila/currencies/migrations/0005_alter_currency_exchange_rate.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 5.0.2 on 2024-06-16 17:17 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('currencies', '0004_alter_currency_exchange_rate_official_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='currency', | ||
name='exchange_rate', | ||
field=models.FloatField(blank=True, default=1, null=True), | ||
), | ||
] |
22 changes: 22 additions & 0 deletions
22
OneSila/currencies/migrations/0006_remove_currency_unique_is_default_currency_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 5.0.2 on 2024-06-16 17:19 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0103_alter_multitenantuser_timezone'), | ||
('currencies', '0005_alter_currency_exchange_rate'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveConstraint( | ||
model_name='currency', | ||
name='unique_is_default_currency', | ||
), | ||
migrations.AddConstraint( | ||
model_name='currency', | ||
constraint=models.UniqueConstraint(condition=models.Q(('is_default_currency', True)), fields=('multi_tenant_company',), name='unique_is_default_currency', violation_error_message='You can only have one default currency.'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
OneSila/sales_prices/migrations/0005_alter_salespricelist_customers.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 5.0.2 on 2024-06-16 18:30 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('contacts', '0016_company_currency'), | ||
('sales_prices', '0004_alter_salespricelist_customers'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='salespricelist', | ||
name='customers', | ||
field=models.ManyToManyField(blank=True, to='contacts.company'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters