[ADD] document_reindex

This commit is contained in:
Holger Brunn
2015-05-05 16:26:46 +02:00
parent 420ae2218a
commit ae3ad89e6f
9 changed files with 247 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="view_attachment_form" model="ir.ui.view">
<field name="model">ir.attachment</field>
<field name="inherit_id" ref="base.view_attachment_form" />
<field name="arch" type="xml">
<sheet position="before">
<header>
<button type="object" name="document_reindex" string="Reindex document" attrs="{'invisible': [('datas', '=', False)]}" class="oe_highlight" groups="base.group_document_user" />
</header>
</sheet>
</field>
</record>
</data>
</openerp>