[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:
committed by
Martin Geubelle
parent
0eb8518786
commit
b90b8f3d5d
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user