[IMP] google_docs : changes for tooltip of filter
bzr revid: rpr@tinyerp.com-20130404095619-lrvwxdc3w42pdaki
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='preferences']" position="after">
|
||||
<group string="Google Account" colspan="4">
|
||||
<field name="gmail_user"/>
|
||||
<field name="gmail_password" password="True"/>
|
||||
<field name="gmail_user" readonly="0"/>
|
||||
<field name="gmail_password" password="True" readonly="0"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
@@ -161,7 +161,7 @@ class google_docs_ir_attachment(osv.osv):
|
||||
pool_gdoc_config = self.pool.get('google.docs.config')
|
||||
pool_model = self.pool.get("ir.model")
|
||||
attachment = {'url': False}
|
||||
config = pool_gdoc_config.browse(cr, SUPERUSER_ID, config_id, context=context)
|
||||
config = pool_gdoc_config.browse(cr, uid, config_id, context=context)
|
||||
if config:
|
||||
res_model = config.model_id
|
||||
model_ids = pool_model.search(cr, uid, [('model','=',res_model)])
|
||||
|
||||
@@ -29,7 +29,10 @@
|
||||
<p class="oe_grey">
|
||||
<b>To create a new filter:</b><br/>
|
||||
- Go to the OpenERP document you want to filter. For instance, go to Opportunities and search on Sales Department.<br/>
|
||||
- In this same "Search" view, select the menu "Save Current Filter", enter the name (Ex: Sales Department)
|
||||
- In this "Search" view, select the option "Save Current Filter", enter the name (Ex: Sales Department)<br/>
|
||||
- If you select "Share with all users", link of google document in "More" options will appear for all users in opportunities of Sales Department.<br/>
|
||||
- If you don't select "Share with all users", link of google document in "More" options will not appear for other users in opportunities of Sales Department.<br/>
|
||||
- If filter is not specified, link of google document will appear in "More" option for all users for all opportunities.
|
||||
</p>
|
||||
</div>
|
||||
<field name='gdocs_template_url' placeholder="https://docs.google.com/document/d/1vOtpJK9scIQz6taD9tJRIETWbEw3fSiaQHArsJYcua4/edit" required="1"/>
|
||||
|
||||
Reference in New Issue
Block a user