[IMP] account, hr_expense: add section for attachment preview

An empty div `o_attachment_preview` is added in expense and vendor bills form
views. It will be used as a container to preview the attachment.

The actual behaviour will be implemented in another commit.

Task 40663
This commit is contained in:
Siddarth Gajjar
2018-04-06 11:18:45 +02:00
committed by Martin Geubelle
parent 0eb8518786
commit b90b8f3d5d
2 changed files with 2 additions and 0 deletions
@@ -344,6 +344,7 @@
</page>
</notebook>
</sheet>
<div class="o_attachment_preview" attrs="{'invisible': ['|',('type', '!=', 'in_invoice'),('state', '!=', 'draft')]}"/>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="activity_ids" widget="mail_activity"/>
@@ -97,6 +97,7 @@
<field name="description" class="oe_inline" placeholder="Notes..."/>
</div>
</sheet>
<div class="o_attachment_preview"/>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="activity_ids" widget="mail_activity"/>