openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #26102
[Bug 1239654] Re: Jounral voucher raise 'NoneType' object has no attribute 'get'
** Project changed: openobject-server => openobject-addons
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1239654
Title:
Jounral voucher raise 'NoneType' object has no attribute 'get'
Status in OpenERP Addons (modules):
New
Bug description:
In Jounral Voucher form while change the partner or jounral below error is coming
'NoneType' object has no attribute 'get'
This error we can resolve by changing the onchange_journal function of
account.voucher
In account.voucher
def onchange_journal(self, cr, uid, ids, journal_id, line_ids, tax_id, partner_id, date, amount, ttype, company_id, context=None):
# Add below two lines to resolve this issue
if not context:
context = {}
plateform using ubuntu
openerp 7.0 version
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1239654/+subscriptions