ooor 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/app/models/type_casting.rb +2 -1
- metadata +1 -1
@@ -85,7 +85,8 @@ module Ooor
|
|
85
85
|
|
86
86
|
def to_openerp_hash!
|
87
87
|
cast_relations_to_openerp!
|
88
|
-
|
88
|
+
blacklist = %w[id write_date create_date write_ui create_ui]
|
89
|
+
@attributes.reject {|k, v| blacklist.index(k)}.merge(@associations)
|
89
90
|
end
|
90
91
|
|
91
92
|
def cast_relations_to_openerp!
|