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