lib/xeroizer/models/manual_journal.rb in xeroizer-2.15.9 vs lib/xeroizer/models/manual_journal.rb in xeroizer-2.16.0
- old
+ new
@@ -27,10 +27,10 @@
string :url
string :external_link_provider_name # only seems to be read-only at the moment
boolean :show_on_cash_basis_reports
datetime_utc :updated_date_utc, :api_name => 'UpdatedDateUTC'
- has_many :journal_lines, :model_name => 'ManualJournalLine'
+ has_many :journal_lines, :model_name => 'ManualJournalLine', :complete_on_page => true
validates_presence_of :narration
validates_associated :journal_lines
public