Update customer.rb

This commit is contained in:
ricky committed 2016-05-02 13:29:47 -04:00
1 parent 97c65b703f
commit aea9bf5f40
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.create(customer)
@details = Qbo.get_base(:customer).create(customer)
self.id = @details.id
end
end