lp://staging/~toolpart/openerp-client-lib/default_context
Created by
ViktorNagy
and last modified
- Get this branch:
- bzr branch lp://staging/~toolpart/openerp-client-lib/default_context
Members of
ToolPart Team
can upload to this branch. Log in for directions.
Branch merges
Propose for merging
No branches
dependent on this one.
Rejected
for merging
into
lp://staging/openerp-client-lib
- Nicolas Vanhoren (OpenERP): Disapprove
-
Diff: 159 lines (+37/-17)1 file modifiedopenerplib/main.py (+37/-17)
Related bugs
Bug #858276: add translated string to returned values | Undecided | Won't Fix |
Related blueprints
Branch information
Recent revisions
- 31. By ViktorNagy
-
Added default_context argument to Connection.
Added set_context method to connection
Added set_user_lang method to connection. This sets the default_context to include the user's language settings.Added add_context argument to Model.__init__ (by default equals True). If True, then the Connection's default context is added to every request of the proxy.
Modified the proxy method to check for self.add_context, and add the connection's context if necessary.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/openerp-client-lib