dulacp / django-accounting Goto Github PK
View Code? Open in Web Editor NEWAccounting pluggable app for Django 1.7+ projects
License: MIT License
Accounting pluggable app for Django 1.7+ projects
License: MIT License
Hi,
I am trying to upgrade this app. I`ve got one error when trying to create an invoice or bill:
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/accounts/invoice/create/
Django Version: 3.0.7
Python Version: 3.8.3
Traceback (most recent call last):
File "F:\Program Files\Python38-32\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "F:\Program Files\Python38-32\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "F:\Program Files\Python38-32\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "F:\Program Files\Python38-32\lib\site-packages\django\views\generic\base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "F:\Program Files\Python38-32\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "F:\Program Files\Python38-32\lib\site-packages\django\views\generic\edit.py", line 168, in get
return super().get(request, *args, **kwargs)
File "F:\Program Files\Python38-32\lib\site-packages\django\views\generic\edit.py", line 133, in get
return self.render_to_response(self.get_context_data())
File "F:\bawrak\bawrak\accounts\mixins.py", line 104, in get_context_data
context = super().get_context_data(**kwargs)
File "F:\Program Files\Python38-32\lib\site-packages\django\views\generic\edit.py", line 66, in get_context_data
kwargs['form'] = self.get_form()
File "F:\bawrak\bawrak\accounts\views.py", line 326, in get_form
form = super().get_form(form_class)
File "F:\bawrak\bawrak\accounts\mixins.py", line 121, in get_form
self.restrict_fields_choices_to_organization(form, orga)
File "F:\bawrak\bawrak\accounts\mixins.py", line 63, in restrict_fields_choices_to_organization
self._restrict_fields_choices(model, organization, form.fields)
File "F:\bawrak\bawrak\accounts\mixins.py", line 43, in _restrict_fields_choices
field, m, direct, m2m = model._meta.get_fields(source)
File "F:\Program Files\Python38-32\lib\site-packages\django\db\models\options.py", line 750, in get_fields
return self._get_fields(include_parents=include_parents, include_hidden=include_hidden)
File "F:\Program Files\Python38-32\lib\site-packages\django\db\models\options.py", line 766, in _get_fields
raise TypeError("Invalid argument for include_parents: %s" % (include_parents,))
Exception Type: TypeError at /accounts/invoice/create/
Exception Value: Invalid argument for include_parents: number
Ive replaced
get_field_by_name('client')by
get_field('client'). It
s just the beginning of many others issues but any idea on how to resolve this error please?
How to run this project? there isn't any manage.py file
Hey
First of thanks for this nice project .
i just want to running this project in locally , can you help me
how i can do that
I am getting this error message on this line:
from django_select2.fields import (
from
/usr/local/lib/python2.7/dist-packages/accounting/apps/people/forms.py in <module>
as you can see I am on python2.7 as well as django 1.8 so not sure if that's the issue.
Thanks!
Please tell us the state of the project.
Do you recommend a different accounting application?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.