Allow to build a ConnectorSession directly from an Odoo Environment #66

Merged
merged 1 commit into from May 13, 2015

Conversation

Projects
None yet
5 participants
@guewen
Member

guewen commented May 13, 2015

Replace the verbose: ConnectorSession(self.env.cr, self.env.uid, context=self.env.context)
By: ConnectorSession.from_env(self.env)

Allow to build a ConnectorSession directly from an Odoo Environment
Replace the verbose: ConnectorSession(self.env.cr, self.env.uid, context=self.env.context)
By: ConnectorSession.from_env(self.env)
@pedrobaeza

This comment has been minimized.

Show comment
Hide comment
@pedrobaeza

pedrobaeza May 13, 2015

Contributor

👍

Contributor

pedrobaeza commented May 13, 2015

👍

@yvaucher

This comment has been minimized.

Show comment
Hide comment
@yvaucher

yvaucher May 13, 2015

Member

👍

Member

yvaucher commented May 13, 2015

👍

@sbidoul

This comment has been minimized.

Show comment
Hide comment
@sbidoul

sbidoul May 13, 2015

Member

👍 (code review only)

Member

sbidoul commented May 13, 2015

👍 (code review only)

@coveralls

This comment has been minimized.

Show comment
Hide comment
@coveralls

coveralls May 13, 2015

Coverage Status

Coverage increased (+0.03%) to 80.15% when pulling 4b106e5 on guewen:connector-session-from-env into f22fc40 on OCA:8.0.

Coverage Status

Coverage increased (+0.03%) to 80.15% when pulling 4b106e5 on guewen:connector-session-from-env into f22fc40 on OCA:8.0.

pedrobaeza added a commit that referenced this pull request May 13, 2015

Merge pull request #66 from guewen/connector-session-from-env
Allow to build a ConnectorSession directly from an Odoo Environment

@pedrobaeza pedrobaeza merged commit 1041f76 into OCA:8.0 May 13, 2015

2 checks passed

ci/runbot runbot build 2946532-66-4b106e (runtime 71s)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@guewen

This comment has been minimized.

Show comment
Hide comment
@guewen

guewen May 13, 2015

Member

Wow, that was fast!

Member

guewen commented May 13, 2015

Wow, that was fast!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment