Added qbo_sync flag

This commit is contained in:
2026-03-13 08:33:18 -04:00
parent c87e18810b
commit 2bcb1840a4
5 changed files with 19 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ class Customer < QboBaseModel
validates_presence_of :name
before_validation :normalize_phone_numbers
self.primary_key = :id
qbo_sync push: true
acts_as_searchable columns: %w[name phone_number mobile_phone_number ],
scope: ->(_context) { left_joins(:project) },