[FIX] default method arguments does not contain ids

bzr revid: mra@tinyerp.com-20100429071541-xkodetbyifan758c
This commit is contained in:
mra (Open ERP) 2010-04-29 12:45:41 +05:30
parent 970aa456ac
commit 90ba7bc60b
1 changed files with 1 additions and 1 deletions

View File

@ -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)