mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Update qbo_customer.rb
Fixed ID
This commit is contained in:
@@ -29,6 +29,7 @@ class QboCustomer < ActiveRecord::Base
|
||||
customers.each { |customer|
|
||||
qbo_customer = QboCustomer.find_or_create_by(id: customer.id)
|
||||
qbo_customer.name = customer.display_name
|
||||
qbo_customer.id = customer.id
|
||||
qbo_customer.save!
|
||||
}
|
||||
#remove deleted customers
|
||||
|
||||
Reference in New Issue
Block a user