mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update qbo_item.rb
Fixed ID
This commit is contained in:
@@ -25,6 +25,7 @@ class QboItem < ActiveRecord::Base
|
|||||||
items.each { |item|
|
items.each { |item|
|
||||||
qbo_item = QboItem.find_or_create_by(id: item.id)
|
qbo_item = QboItem.find_or_create_by(id: item.id)
|
||||||
qbo_item.name = item.name
|
qbo_item.name = item.name
|
||||||
|
qbo_item.id = item.id
|
||||||
qbo_item.save!
|
qbo_item.save!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user