Created
July 3, 2014 08:55
-
-
Save anonymous/bb16c70efdf4982a834b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from proteus import config, Model, Wizard | |
config = config.set_trytond('db_name') | |
Module = Model.get('ir.module.module') | |
party_module, = Module.find([('name', '=', 'party')]) | |
print party_module.state |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment