Updated to use DSL and qbo_sync flag

This commit is contained in:
ricky committed 2026-03-13 08:36:49 -04:00
1 parent a7899fb6b3
commit 896813983c
3 files changed
+6 -17

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ class Item < QboBaseModel
validates_presence_of :id, :description
validates :unit_price, numericality: { greater_than_or_equal_to: 0 }
self.primary_key = :id
qbo_sync push: true
# Updates Both local & remote DB description
def description=(s)