Increment the sync token

This commit is contained in:
2017-04-02 07:28:53 -04:00
committed by GitHub
parent 5d03e261d1
commit a8804f6704

View File

@@ -150,6 +150,7 @@ class QboInvoice < ActiveRecord::Base
# TODO Add some hooks here
# Push updates
invoice.sync_token = invoice.sync_token +1 if is_changed
get_base.update(invoice) if is_changed
end