Add custom fields to invoice, odergroup, supplier and user

This commit is contained in:
Patrick Gansterer 2017-10-12 20:50:40 +02:00
parent 72b5a5ca82
commit 75deec9f06
13 changed files with 48 additions and 7 deletions

View file

@ -1,4 +1,5 @@
class Invoice < ActiveRecord::Base
include CustomFields
belongs_to :supplier
belongs_to :created_by, :class_name => 'User', :foreign_key => 'created_by_user_id'