diff options
| author | Ravish Murari <rmu@openerp.com> | 2012-01-04 15:28:03 +0530 |
|---|---|---|
| committer | Kuldeep Joshi (OpenERP) <kjo@tinyerp.com> | 2012-01-04 15:28:03 +0530 |
| commit | d6612c899dc6d1b5f0b8068c61dbebd23e58a4e2 (patch) | |
| tree | f653c9905f067435f918f2d5966e5671828e190b | |
| parent | be5cdc5c8f2bdd2c8f5c431532f77c59df1c29b8 (diff) | |
[FIX] wiki_sale_faq : add context
lp bug: https://launchpad.net/bugs/911183 fixed
bzr revid: kjo@tinyerp.com-20120104095803-abpmt9w0e6stvysc
| -rw-r--r-- | addons/wiki_sale_faq/wiki_sale_faq_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/wiki_sale_faq/wiki_sale_faq_view.xml b/addons/wiki_sale_faq/wiki_sale_faq_view.xml index 82cfb6a43be..9fdaafd96b9 100644 --- a/addons/wiki_sale_faq/wiki_sale_faq_view.xml +++ b/addons/wiki_sale_faq/wiki_sale_faq_view.xml @@ -12,7 +12,7 @@ <field name="type">ir.actions.act_window</field> <field name="res_model">ir.attachment</field> <field name="view_type">form</field> - <field name="domain" eval="[('parent_id','=',ref('dir_sale'))]"></field> + <field name="context" eval="{'default_parent_id':ref('dir_sale')}"/> <field name="help">Documents give you access to all files attached to any record. It is a repository of all documents such as emails, project-related attachments or any other documents. From this view, you can search through the content of the documents. OpenERP automatically assign meta data based on the record like the related partner and indexes the content of .DOC, .ODT, .TXT, .SXW and .PDF documents.</field> </record> |
