lib/xeroizer/models/invoice.rb in xeroizer-2.15.9 vs lib/xeroizer/models/invoice.rb in xeroizer-2.16.0
- old
+ new
@@ -76,10 +76,10 @@
datetime :expected_payment_date
boolean :sent_to_contact
boolean :has_attachments
belongs_to :contact
- has_many :line_items
+ has_many :line_items, :complete_on_page => true
has_many :payments
has_many :credit_notes
validates_presence_of :date, :due_date, :unless => :new_record?
validates_inclusion_of :type, :in => INVOICE_TYPES