finish redmine-6 merge into dev

This commit is contained in:
2026-01-22 20:43:06 -05:00
parent 3c2f1d0edd
commit 1bc9227c7f
2 changed files with 23 additions and 27 deletions

View File

@@ -28,10 +28,6 @@ Redmine::Plugin.register :redmine_qbo do
User.safe_attributes 'employee_id'
TimeEntry.safe_attributes 'billed'
Project.safe_attributes 'customer_id'
Project.safe_attributes 'vehicle_id'
# We are playing in the sandbox
#Quickbooks.sandbox_mode = true
# set per_page globally
WillPaginate.per_page = 20

View File

@@ -23,11 +23,11 @@ module ProjectPatch
# Same as typing in the class
base.class_eval do
unloadable # Send unloadable so it will not be unloaded in development
belongs_to :customer, primary_key: :id
belongs_to :vehicle, primary_key: :id
end
end
end
module ClassMethods