summaryrefslogtreecommitdiff
path: root/addons/document_ics/document_view.xml
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2011-01-18 18:49:59 +0200
committerP. Christeas <p_christ@hol.gr>2011-01-18 18:49:59 +0200
commitd9b74f05e44600f85e0d4f823b36135ccc767462 (patch)
tree3ddc57faeeff50b2c5a15b20588846940606ae94 /addons/document_ics/document_view.xml
parente9b56eafe2db066332d0065302ca10befa39f381 (diff)
document_ics: relax domain restriction, it broke PDF reports, too.
This whole thing of inheriting the same model for different functionality is a bit problematic. Document ICS is a Frankenstein, too. At least, don't let it break the other document.directory.content entries. bzr revid: p_christ@hol.gr-20110118164959-ctp4l2uj0xvc4v4y
Diffstat (limited to 'addons/document_ics/document_view.xml')
-rw-r--r--addons/document_ics/document_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/document_ics/document_view.xml b/addons/document_ics/document_view.xml
index 40174612539..39b6908dc76 100644
--- a/addons/document_ics/document_view.xml
+++ b/addons/document_ics/document_view.xml
@@ -24,7 +24,7 @@
<field name="inherit_id" ref="view_document_directory_form_1"/>
<field name="arch" type="xml">
<field name="report_id" position="replace">
- <field name="report_id" domain="[('type', '=', 'ressource'),('model_id','=',parent.ressource_type_id)]"/>
+ <field name="report_id" domain="[('model_id','=',parent.ressource_type_id)]"/>
<separator string="ICS Calendar" colspan="4"/>
<field name="ics_domain"/>
<field name="ics_field_ids" colspan="4">