Update customer.rb

This commit is contained in:
ricky committed 2016-05-02 13:33:08 -04:00
1 parent f0b6c237cc
commit 5d2acdac08
1 file changed
+1 -1
+1 -1
View File
@@ -165,7 +165,7 @@ class Customer < ActiveRecord::Base
if new_record?
customer = Quickbooks::Model::Customer.new
customer.display_name = self.name
@details = get_base.service.create(customer)
@details = Qbo.get_base(:customer).service.create(customer)
self.id = @details.id
end
end