← Back to team overview

openerp-india team mailing list archive

[Bug 1239654] [NEW] Jounral voucher raise 'NoneType' object has no attribute 'get'

 

You have been subscribed to a public bug:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
Jounral voucher raise 'NoneType' object has no attribute 'get' 
https://bugs.launchpad.net/bugs/1239654
You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons.