mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-04-02 07:01:59 -04:00
Updated to use DSL and qbo_sync flag
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user