mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-04-02 07:01:59 -04:00
Added accounts to allow for assinging income account to items, and selecting default income account. Also added item type selection
This commit is contained in:
@@ -16,13 +16,13 @@ module RedmineQboLineItems
|
||||
# Called by WebhookProcessJob
|
||||
def qbo_additional_entities(context={})
|
||||
log "Added QBO Item to allowed webook entities"
|
||||
return "Item"
|
||||
return ["Item", "Account"]
|
||||
end
|
||||
|
||||
# Called by the QboSyncDispatcher
|
||||
def qbo_full_sync (context={})
|
||||
log "Adding Item to QBO sync dispatcher"
|
||||
return Item
|
||||
return [Item, Account]
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user