mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Increment the sync token
This commit is contained in:
1 parent
5d03e261d1
commit
a8804f6704
1 file changed
+1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user