diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2010-12-29 16:07:46 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2010-12-29 16:07:46 +0100 |
| commit | 4a08aee8d84b3051643aef1cd9d3ea9e38e8cfda (patch) | |
| tree | 740a6b81de071f4ba7bf96b2d443909acf3ec87a /addons | |
| parent | 3ecea6df634cd7ae1a0c9d6034002b21a79773f8 (diff) | |
[FIX] Fixed small problem whith on_change method in account voucher.
bzr revid: nicolas.vanhoren@openerp.com-20101229150746-9w1853e1j0u40oej
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account_voucher/account_voucher.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index 4e08ad9112b..481fef477e1 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -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): |
