diff options
| author | Roberto López López (OpenERP) <rlo@openerp.com> | 2012-03-14 16:29:29 +0100 |
|---|---|---|
| committer | Roberto López López (OpenERP) <rlo@openerp.com> | 2012-03-14 16:29:29 +0100 |
| commit | 78903a8554d776632a17cde897ddcd2a7093b329 (patch) | |
| tree | 86aa6affad587c33402e881b9ee5931a2ebe9f51 /addons/google_docs | |
| parent | 38cd2dbe298f3b93b8ebc6dc87e016f0e6e09173 (diff) | |
[imp]
bzr revid: rlo@openerp.com-20120314152929-gqshx94zrcn34qzk
Diffstat (limited to 'addons/google_docs')
| -rw-r--r-- | addons/google_docs/google_docs.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/google_docs/google_docs.py b/addons/google_docs/google_docs.py index 0d99f5f6d35..e78444fb045 100644 --- a/addons/google_docs/google_docs.py +++ b/addons/google_docs/google_docs.py @@ -139,4 +139,11 @@ class config(osv.osv): 'context_multiple': False, } + def has_config_set(self, cr, uid, model): + print model + import pdb + pdb.set_trace() + domain = [('context_model_id', '=', model)] + return self.search_count(cr, uid, domain) != 0 + config() |
