[FIX] default method arguments does not contain ids
bzr revid: mra@tinyerp.com-20100429071541-xkodetbyifan758c
This commit is contained in:
parent
970aa456ac
commit
90ba7bc60b
|
@ -33,7 +33,7 @@ class account_vat_declaration(osv.osv_memory):
|
|||
'periods': fields.many2many('account.period', 'vat_period_rel', 'vat_id', 'period_id', 'Periods', help="All periods if empty"),
|
||||
}
|
||||
|
||||
def _get_company(self, cr, uid, ids, context={}):
|
||||
def _get_company(self, cr, uid, context={}):
|
||||
user_obj = self.pool.get('res.users')
|
||||
company_obj = self.pool.get('res.company')
|
||||
user = user_obj.browse(cr, uid, uid, context=context)
|
||||
|
|
Loading…
Reference in New Issue