Skip to content

Commit

Permalink
fixes http://github.com/rvalyi/ooor/issues#issue/1 ; thanks to Nicola…
Browse files Browse the repository at this point in the history
…s Bessi (CampToCamp for the report)
  • Loading branch information
rvalyi committed Nov 2, 2009
1 parent 0342d98 commit d338135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app/models/open_object_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class #{model_class_name} < OpenObjectResource
self.openerp_database = '#{database}'
self.openerp_model = '#{model_key}'
self.openerp_id = #{param['id'] || false}
self.info = '#{param['info']}'
self.info = '#{(param['info'] || '').gsub("'",' ')}'
self.name = '#{param['name']}'
self.state = '#{param['state']}'
self.field_ids = #{(param['field_id'] and '[' + param['field_id'].join(',') + ']') || false}
Expand Down

0 comments on commit d338135

Please sign in to comment.