Comments (3)
The users credential might be initialized by Ooor, but utimately they should be carried by the business object ActiveResource proxies. Imagine you code a Rails application, several users are loading instance of same ActiveResource class with different credentials...
from ooor.
notice that for now you can already globally swicth users using
Ooor.global_login(username, password)
In the future, I'm in favor of allowing to pass credentials right into the context argument.
Once in OOOR, those credentials will be extracted from the context and eventually override global credentials. We could do the same to deal with session context.
see openerp/tools/rpc.py as an exampl in the Python official OpenERP web client.
from ooor.
fixed by commit http://github.com/rvalyi/ooor/commit/ad02f8cb59139cfe744e9d2fede3c3f17927b4c2
Object should be instanciated with a specific context including user_id and password keys.
from ooor.
Related Issues (20)
- cannot find custom fields in object HOT 2
- split integration tests by Odoo series
- AttributeError: 'NoneType' object has no attribute 'fields_get'
- odoo v10 compatibilty HOT 6
- probable thread safety issue with Rack middleware HOT 1
- Rails 5 error HOT 3
- Rails 5 compatibility? HOT 7
- NameError: uninitialized constant ActiveSupport::Notifications HOT 5
- Scope prefix and undefined model HOT 1
- remove the scope prefix feature?
- generate ooor.yml file on installation along with Rails
- doc: list Rails/web gems ooor plays well with
- NameError: uninitialized constant ActiveModel::Serializers::Xml HOT 1
- session#public_controller_method: do not require the addressable/uri gem
- find :first, :all, :last is deprecated/removed in ActiveRecord
- optional new transport layer: pycall
- Calling workflow method has no effect HOT 3
- Error when calling on_change method HOT 1
- Error when trying to get data HOT 5
- new version + rubygems release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ooor.