From 4ed71f56670d648489335a1cb1910fd17493126d Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 28 Feb 2026 18:01:32 -0500 Subject: [PATCH] Fix: Remove unnecessary QBO configuration check in billing enqueue method --- lib/redmine_qbo/patches/issue_patch.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/redmine_qbo/patches/issue_patch.rb b/lib/redmine_qbo/patches/issue_patch.rb index b09170d..29639db 100644 --- a/lib/redmine_qbo/patches/issue_patch.rb +++ b/lib/redmine_qbo/patches/issue_patch.rb @@ -39,11 +39,9 @@ module RedmineQbo # Enqueue a background job to bill the time spent on this issue to the associated customer in Quickbooks, if the issue is closed and has a customer assigned. def enqueue_billing log "Checking if issue needs to be billed for issue ##{id}" - #return unless saved_change_to_status_id? return unless closed? return unless customer.present? return unless assigned_to&.employee_id.present? - raise "No QBO configuration found" unless qbo.first log "Enqueuing billing for issue ##{id}" BillIssueTimeJob.perform_later(id)