[FIX] fixed previous commit

bzr revid: qdp-launchpad@openerp.com-20120206162345-crhi8bemozimv4zh
This commit is contained in:
Quentin (OpenERP) 2012-02-06 17:23:45 +01:00
parent 9d1fa8c21d
commit 6b2ad918ba
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class l10n_be_vat_declaration(osv.osv_memory):
'other': fields.char('Other Qlf', size=16, help="Description of a Identification Type"),
}
def _get_tax_code(cr, uid, ids, context=None):
def _get_tax_code(self, cr, uid, context=None):
obj_tax_code = self.pool.get('account.tax.code')
obj_user = self.pool.get('res.users')
company_id = obj_user.browse(cr, uid, uid, context=context).company_id.id