Giter VIP home page Giter VIP logo

django-financial-accounting's Introduction

django-financial-accounting

This project is a double-entry bookkeeping application for Django. It has been tested with Django release 2.0.

In order to use this application in your Django project, you need to do the following:

  1. Install django-mptt.

  2. Download this application and extract the django-financial-accounting/accounting directory into your project's base directory or into any location included in your Python module search path.

  3. Include mptt and accounting in the INSTALLED_APPS list in your project's settings.py.

  4. Include accounting.urls in the urlpatterns list in your project's urls.py, for example as follows:

    path('accounting/', include('accounting.urls'))

  5. Run ./manage.py migrate to update the database schema.

  6. If your organization's fiscal year differs from the calendar year, create an appropriate object for the current fiscal year, defining the start and end dates.

  7. Create suitable journals and the chart of accounts e.g. by

    • using the Django admin application, or
    • extracting sample-fixtures.yaml from the package downloaded in step 2, installing PyYAML, and running ./manage.py loaddata sample-fixtures.yaml.

After these steps, you are ready to start entering transactions to the ledger. This can be done from the admin application or programmatically, e.g. as follows:

from accounting.models import *

txn = Transaction.objects.create(
    journal=Journal.objects.get(code='C'),
    description='Share issue'
)

txn.transactionitem_set.create(
    account=Account.objects.get(code='1100'),
    amount=-10000
)

txn.transactionitem_set.create(
    account=Account.objects.get(code='3100'),
    amount=10000
)

txn.commit()

django-financial-accounting's People

Contributors

kunkku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.