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

Error is raised when all_accounts is set to True #1

Open
pokoli opened this issue Apr 28, 2020 · 0 comments
Open

Error is raised when all_accounts is set to True #1

pokoli opened this issue Apr 28, 2020 · 0 comments

Comments

@pokoli
Copy link

pokoli commented Apr 28, 2020

Here is the traceback:

UnboundLocalError: local variable 'line' referenced before assignment
  File "trytond/protocols/dispatcher.py", line 186, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "trytonspain_account_jasper_reports-5.4.0-py3.7.egg/trytond/modules/account_jasper_reports/general_ledger.py", line 367, in execute
    records, parameters = cls.prepare(data)
  File "trytonspain_account_jasper_reports-5.4.0-py3.7.egg/trytond/modules/account_jasper_reports/general_ledger.py", line 306, in prepare
    if line.account.type and line.account.type.receivable:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant