Browse Source

if '.id' is used replaced it by id

pull/1379/head
Sébastien BEAU 9 years ago
committed by Pierrick Brun
parent
commit
b677325127
  1. 2
      base_jsonify/models/ir_export.py

2
base_jsonify/models/ir_export.py

@ -9,6 +9,8 @@ from openerp import api, models
def update_dict(data, fields):
field = fields[0]
if len(fields) == 1:
if field == '.id':
field = 'id'
data[field] = True
else:
if field not in data:

Loading…
Cancel
Save