[FIX] typo

bzr revid: xmo@openerp.com-20110831122844-hk17tcu051eztif7
This commit is contained in:
Xavier Morel 2011-08-31 14:28:44 +02:00
parent 1d4553bfdd
commit dbbae75ed5
1 changed files with 2 additions and 2 deletions

View File

@ -1087,10 +1087,10 @@ class Export(View):
@openerpweb.jsonrequest
def get_fields(self, req, model, prefix='', name= '',
import_compat=True, field_parent_type=None):
import_compat=True, parent_field_type=None):
fields = self.fields_get(req, model)
if import_compat and field_parent_type == "many2one":
if import_compat and parent_field_type == "many2one":
fields = {}
fields.update({'id': {'string': 'ID'}, '.id': {'string': 'Database ID'}})