Kuldeep Joshi(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-911183-kjo into
lp:openobject-addons.
Requested reviews:
Bhumika (OpenERP) (sbh-openerp)
Related bugs:
Bug #911183 in OpenERP Addons: "Document: domain is not working in web-client"
https://bugs.launchpad.net/openobject-addons/+bug/911183
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-911183-kjo/+merge/87451
Remove the domain and add the context
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-911183-kjo/+merge/87451
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-911183-kjo.
=== modified file 'wiki_sale_faq/wiki_sale_faq_view.xml'
--- wiki_sale_faq/wiki_sale_faq_view.xml 2011-01-14 00:11:01 +0000
+++ wiki_sale_faq/wiki_sale_faq_view.xml 2012-01-04 10:12:35 +0000
@@ -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>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp