ooor 1.2.0 → 1.2.1

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/README.md CHANGED
@@ -195,6 +195,7 @@ Create:
195
195
  $ pc = ProductCategory.new(:name => 'Categ From Rails!')
196
196
  $ #<ProductCategory:0xb702c42c @prefix_options={}, @attributes={"name"=>"Categ From Rails!"}>
197
197
  $ pc.create
198
+ $ pc.id
198
199
  $ => 14
199
200
 
200
201
 
@@ -293,6 +294,8 @@ However you might want to change that. 2 solutions:
293
294
 
294
295
  [Drawing OpenERP UML diagrams with OOOR](http://wiki.github.com/rvalyi/ooor/drawing-openerp-uml-diagrams-with-ooor)
295
296
 
297
+ [Finger in the nose multi-OpenERP instances migration/management with OOOR](http://wiki.github.com/rvalyi/ooor/howto-connect-ooor-to-multiple-openerp-instance-easy-data-migration)
298
+
296
299
 
297
300
  FAQ
298
301
  ------------
@@ -200,7 +200,7 @@ class OpenObjectResource < ActiveResource::Base
200
200
  when 'datetime'
201
201
  @attributes[k] = "#{v.year}-#{v.month}-#{v.day} #{v.hour}:#{v.min}:#{v.sec}" if v.respond_to?(:sec)
202
202
  when 'date'
203
- @attributes[k] = "#{v.year}-#{v.month}-#{v.day}" if v.is_a?(Date)
203
+ @attributes[k] = "#{v.year}-#{v.month}-#{v.day}" if v.respond_to?(:day)
204
204
  end
205
205
  end
206
206
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ooor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raphael Valyi - www.akretion.com
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-18 00:00:00 -02:00
12
+ date: 2010-01-19 00:00:00 -02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency