Increment the sync token

This commit is contained in:
ricky authored and GitHub committed 2017-04-02 07:28:53 -04:00
1 parent 5d03e261d1
commit a8804f6704
1 file changed
+1
+1
View File
@@ -150,6 +150,7 @@ class QboInvoice < ActiveRecord::Base
# TODO Add some hooks here # TODO Add some hooks here
# Push updates # Push updates
invoice.sync_token = invoice.sync_token +1 if is_changed
get_base.update(invoice) if is_changed get_base.update(invoice) if is_changed
end end