mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-04-02 07:01:59 -04:00
Sync Item account numbers
This commit is contained in:
@@ -24,6 +24,9 @@ class ItemSyncService < SyncServiceBase
|
||||
|
||||
map_attribute :active, :active?
|
||||
map_attribute :taxable, :taxable?
|
||||
map_attribute :account do |remote|
|
||||
Account.find remote.income_account_ref.value.to_i
|
||||
end
|
||||
map_attributes :description, :id, :name, :sku, :type, :unit_price
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user