diff options
| author | Fabien Pinckaers <fp@tinyerp.com> | 2008-10-28 21:57:46 +0100 |
|---|---|---|
| committer | Fabien Pinckaers <fp@tinyerp.com> | 2008-10-28 21:57:46 +0100 |
| commit | 19df0c75aacba17dc8cea288f780bd0e85cd039b (patch) | |
| tree | 9fb1ad0a33c027788d1267fef49ad9ff2ec5eb49 /addons/document/document.py | |
| parent | d4d04d9d2cde46f5cf731e064a29d39d4282946f (diff) | |
| parent | b7a4dffa63a44a160ca05d1fc7f412dbb47cab90 (diff) | |
improvement
bzr revid: fp@tinyerp.com-20081028205746-uyukxvtprkmte8xi
Diffstat (limited to 'addons/document/document.py')
| -rw-r--r-- | addons/document/document.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/document/document.py b/addons/document/document.py index ae383a200aa..a2a695dd217 100644 --- a/addons/document/document.py +++ b/addons/document/document.py @@ -416,6 +416,8 @@ class document_directory_content(osv.osv): 'sequence': lambda *args: 1, 'include_name': lambda *args: 1, } + def process_write_pdf(self, cr, uid, node, context={}): + return True def process_read_pdf(self, cr, uid, node, context={}): report = self.pool.get('ir.actions.report.xml').browse(cr, uid, node.content.report_id.id) srv = netsvc.LocalService('report.'+report.report_name) |
