ooor
ooor copied to clipboard
Odoo Ruby JSON client. Emulates ActiveRecord enough (as much as Mongoid; Implements ActiveModel) to make Rails development with an Odoo datastore straightforward
see how it's implemented in Rails: http://apidock.com/rails/ActiveRecord/Serialization/to_json the idea is once we have the collection, we do one more OpenERP read request to load the associations for all the records,...
Noticed that many tags here https://rubygems.org/gems/ooor are not present in the github repo. Could you please push those tags to the repo here? It is pretty useful for us to...
just like for the generic find
Using OOOR in The Kettle ETL, if we don't pay attention we can typically request a read over all account move lines to get them exported to some external accounting...
see https://github.com/rails/rails/blob/5f07048dfdcc86bf78d0a498c5f23fa4dec917f7/activesupport/lib/active_support/log_subscriber.rb and https://github.com/rails/rails/blob/master/activerecord/lib/active_record/log_subscriber.rb
I'm trying to create an account.move.line in OOOR but I got tthe following error: NoMethodError: undefined method `type!' for # from (eval):1:in`call2' from org/jruby/RubyKernel.java:1087:in `eval' from file:/home/manu/Desktop/terminatooor1.3.1/jruby-ooor.jar!/META-INF/jruby.home/lib/ruby/gems/1.8/gems/ooor-1.5.1/lib/app/models/ooor_client.rb:30:in`call2' from file:/home/manu/Desktop/terminatooor1.3.1/jruby-ooor.jar!/META-INF/jruby.home/lib/ruby/1.8/xmlrpc/client.rb:410:in `call'...
OpenERP doesn't tell over RPC which objects are inherited (_inherits), this sucks and forces us to to do nasty slow tests to find out if some field is inherited or...
Sometimes, when I launch a transformation in kettle (V4.2.1 or V4.2.0) , everything works fine. but other time (three times on Five), I got the following message. I don't know...
would make code simpler
This is because here we test if last arg is a Hash (context) but values is a hash already: ``` def clean_request_args!(args) if args[-1].is_a? Hash args[-1] = @ooor.global_context.merge(args[-1]) elsif args.is_a?(Array)...