[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: on billing - before printing invoice
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: on billing - before printing invoice |
Date: |
Tue, 12 Apr 2016 14:13:58 +0200 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Mon, Apr 11, 2016 at 03:33:34PM +0200, Marc Angermann wrote:
> user comment : on billing - before printing invoice
>
> client version: 1.6.3
...
> 2016-04-11 15:32:49 ERROR gm.db
> (C:\Python27\lib\site-packages\Gnumed\pycommon\gmBusinessDBObject.py::__setitem__()
> #470): [cBill]: cannot find attribute <pk_org_unit> or setter method
> [set_pk_org_unit]
> 2016-04-11 15:32:49 WARNING gm.db
> (C:\Python27\lib\site-packages\Gnumed\pycommon\gmBusinessDBObject.py::__setitem__()
> #471): [cBill]: settable attributes: [u'invoice_id',
> u'pk_receiver_identity', u'close_date', u'apply_vat', u'comment',
> u'pk_receiver_address', u'pk_doc']
> 2016-04-11 15:32:49 WARNING gm.db
> (C:\Python27\lib\site-packages\Gnumed\pycommon\gmBusinessDBObject.py::__setitem__()
> #473): [cBill]: valid setter methods: [('set_missing_address_from_default',
> <bound method cBill.set_missing_address_from_default of
> <Gnumed.business.gmBilling.cBill object at 0x045714F0>>)]
> 2016-04-11 15:32:49 ERROR gm.gui
> (C:\Python27\lib\site-packages\Gnumed\wxpython\gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #215): enabling debug mode
> 2016-04-11 15:32:49 DEBUG gm.gui
> (C:\Python27\lib\site-packages\Gnumed\wxpython\gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #219): unhandled exception caught:
> Traceback (most recent call last):
> File "C:\Python27\lib\site-packages\Gnumed\wxpython\gmListWidgets.py", line
> 793, in _on_left_extra_button_pressed
> if not self.__left_extra_button_callback(item_data):
> File "C:\Python27\lib\site-packages\Gnumed\wxpython\gmBillingWidgets.py",
> line 1274, in _invoice_selected_items
> create_invoice_from_bill(parent = self, bill = bill, print_it = True,
> keep_a_copy = True)
> File "C:\Python27\lib\site-packages\Gnumed\wxpython\gmBillingWidgets.py",
> line 627, in create_invoice_from_bill
> bill['pk_org_unit'] = gmPraxis.gmCurrentPraxisBranch()['pk_org_unit']
That is rather strange because that has been fixed in 1.6.3
and the downloadable 1.6.3 tarball does, indeed, not contain
that line anymore.
I assume it is still picking up an older file from somewhere ?
Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346