cucumber-openerpscenario 0.1.9 → 0.1.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{cucumber-openerpscenario}
3
- s.version = "0.1.9"
3
+ s.version = "0.1.9.1"
4
4
  s.date = %q{2013-03-06}
5
5
  s.authors = ["Nicolas Bessi - Camptocamp"]
6
6
  s.summary = %q{cucumber on OpenERP}
@@ -96,7 +96,7 @@ def manage_item_table(item, table)
96
96
  value = dict['value']
97
97
  value_type = item.class.fields.fetch(field_name, {}).fetch('type', '')
98
98
  r_val = _item_value(relations, field_name, value, value_type)
99
- unless item.class.many2one_associations.include? field_name
99
+ if item.class.one2many_associations.include? field_name or item.class.many2many_associations.include? field_name
100
100
  if r_val
101
101
  unless r_val.is_a? Array
102
102
  r_val = [r_val]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cucumber-openerpscenario
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.9
5
+ version: 0.1.9.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nicolas Bessi - Camptocamp
@@ -85,6 +85,7 @@ files:
85
85
  - cucumber-openerpscenario-0.1.6.gem
86
86
  - cucumber-openerpscenario-0.1.7.gem
87
87
  - cucumber-openerpscenario-0.1.8.gem
88
+ - cucumber-openerpscenario-0.1.9.gem
88
89
  - lib/.DS_Store
89
90
  - lib/cucumber/.DS_Store
90
91
  - lib/cucumber/lib/.DS_Store