Giter Club home page Giter Club logo

django-quickbooks's Introduction

Django Quickbooks Desktop

Requirements:

  • python 3.4 (Tested on 3.4.2)
  • pip

To Start :

Clone this repo

git clone https://github.com/royendgel/django-quickbooks.git

Install the requirements (it's recommended using virtualenv)

pip install -r requirements.txt

Do database migration

python manage.py migrate

Run the initial python file to kick start trying. (Use only in clean installation!!)

It will wipe all your models.

python initialize.py

Start the server

python manage.py runserver

Note : Remember if you are using mac/linux and you are trying this with virualbox/VM. Change your server to 0.0.0.0:8000

Get the webconnector file

Open your browser and go to http://localhost:8000/quickbooks/get-company-file open that file in your text editor and edit your server url. or better edit in views : get_company_file

def get_company_file(request):
    response = HttpResponse(generate_qbc_file(), content_type='text/xml')
    response['Content-Disposition'] = 'attachment; filename="quickbooksconnector.qwc"'
    return response

change generate_qbc_file() to something like this generate_qbc_file(app_url="http://192.168.1.20/quickbooks/") remember the trailing slash at quickbooks/.

run that file on the computer that have quickbooks & webconnector installed.

Then finally enter the password for the company file. as password enter kickstart

Currently if you start as described above with intialize.py it will read and store data as xml in your db. This are the tested queries read:

  • Customer
  • Bill
  • Account
  • Check
  • Account
  • Estimate
  • Invoice
  • ReceivePayment
  • Vendor
  • ToDo

Need to be done (Write new and/or modified records back to quickbooks) :

  • Customer
  • Bill
  • Account
  • Check
  • Account
  • Estimate
  • Invoice
  • ReceivePayment
  • Vendor
  • ToDo

More things:

  • Time stamped so I can ask for only changed or added records
  • Irritation for big company files
  • Advanced queries(Not really I don't see why for now)

django-quickbooks's People

Contributors

royendgel avatar

Stargazers

Mburu avatar BeGrimm avatar  avatar Jean-Mark Wright avatar

Watchers

James Cloos avatar  avatar Michael Lange 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.