[FIX] Fixed small problem whith on_change method in account voucher.
bzr revid: nicolas.vanhoren@openerp.com-20101229150746-9w1853e1j0u40oej
This commit is contained in:
@@ -49,8 +49,9 @@ account_move_line()
|
||||
|
||||
class account_voucher(osv.osv):
|
||||
|
||||
def _get_type(self, cr, uid, ids, context=None):
|
||||
if context is None: context = {}
|
||||
def _get_type(self, cr, uid, context=None):
|
||||
if context is None:
|
||||
context = {}
|
||||
return context.get('type', False)
|
||||
|
||||
def _get_period(self, cr, uid, context=None):
|
||||
|
||||
Reference in New Issue
Block a user