mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update customer.rb
This commit is contained in:
1 parent
f0b6c237cc
commit
5d2acdac08
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user