From 1eb04ebbfd8cd40956895815777dc02f7f2eda70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nemanja=20=C4=8Corlija?= Date: Mon, 28 Sep 2020 23:10:45 +0200 Subject: [PATCH] BatchPayment: mark as writable and set primary key --- lib/xeroizer/models/batch_payment.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/xeroizer/models/batch_payment.rb b/lib/xeroizer/models/batch_payment.rb index b0b3e3b4d..3d21e9f8a 100644 --- a/lib/xeroizer/models/batch_payment.rb +++ b/lib/xeroizer/models/batch_payment.rb @@ -2,10 +2,13 @@ module Xeroizer module Record class BatchPaymentModel < BaseModel - set_permissions :read + set_permissions :read, :write end class BatchPayment < Base + set_primary_key :batch_payment_id + list_contains_summary_only false + guid :batch_payment_id string :reference string :details