Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: auto enable accounting period #692

Merged
merged 3 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.14 on 2024-11-18 02:42

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('workspaces', '0046_workspacegeneralsettings_import_code_fields'),
]

operations = [
migrations.AlterField(
model_name='workspacegeneralsettings',
name='change_accounting_period',
field=models.BooleanField(default=True, help_text='Export Expense when accounting period is closed'),
),
]
2 changes: 1 addition & 1 deletion apps/workspaces/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class WorkspaceGeneralSettings(models.Model):
import_items = models.BooleanField(default=False, help_text='Auto import Items to Fyle')
import_projects = models.BooleanField(default=False, help_text='Auto import projects to Fyle')
import_tax_codes = models.BooleanField(default=False, help_text='Auto import tax codes to Fyle', null=True)
change_accounting_period = models.BooleanField(default=False, help_text='Export Expense when accounting period is closed')
change_accounting_period = models.BooleanField(default=True, help_text='Export Expense when accounting period is closed')
anishfyle marked this conversation as resolved.
Show resolved Hide resolved
charts_of_accounts = ArrayField(base_field=models.CharField(max_length=100), default=get_default_chart_of_accounts, help_text='list of chart of account types to be imported into Fyle')
memo_structure = ArrayField(base_field=models.CharField(max_length=100), default=get_default_memo_fields, help_text='list of system fields for creating custom memo')
auto_map_employees = models.CharField(max_length=50, help_text='Auto Map Employees type from QBO to Fyle', null=True)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ enum34==1.1.10
future==0.18.2
fyle==0.37.2
fyle-accounting-mappings==1.34.8
fyle-integrations-platform-connector==1.39.2
fyle-integrations-platform-connector==1.39.3
fyle-rest-auth==1.7.4
flake8==4.0.1
gevent==23.9.1
Expand Down
2 changes: 1 addition & 1 deletion tests/sql_fixtures/reset_db_fixtures/reset_db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- PostgreSQL database dump
--

-- Dumped from database version 15.8 (Debian 15.8-1.pgdg120+1)
-- Dumped from database version 15.9 (Debian 15.9-1.pgdg120+1)
-- Dumped by pg_dump version 15.8 (Debian 15.8-1.pgdg120+1)

SET statement_timeout = 0;
Expand Down
Loading