Browse Source
- better view layout
- better view layout
- match pattern filename to download - empty list as default domain12.0-mig-module_prototyper_last
Giovanni
5 years ago
committed by
David Beal
4 changed files with 55 additions and 64 deletions
-
22attachment_synchronize/models/task.py
-
36attachment_synchronize/views/attachment_view.xml
-
17attachment_synchronize/views/storage_backend_view.xml
-
44attachment_synchronize/views/task_view.xml
@ -1,26 +1,26 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<odoo> |
|||
|
|||
<record id="view_attachment_improved_form" model="ir.ui.view"> |
|||
<field name="model">ir.attachment.metadata</field> |
|||
<field name="inherit_id" ref="base_attachment_queue.view_attachment_improved_form" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="url" position="after"> |
|||
<field name="task_id" attrs="{'required': [('file_type', '=', 'export')]}"/> |
|||
<field name="storage_backend_id"/> |
|||
</field> |
|||
<record id="view_attachment_improved_form" model="ir.ui.view"> |
|||
<field name="model">ir.attachment.metadata</field> |
|||
<field name="inherit_id" ref="base_attachment_queue.view_attachment_improved_form" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="url" position="after"> |
|||
<field name="task_id" attrs="{'required': [('file_type', '=', 'export')]}"/> |
|||
<field name="storage_backend_id"/> |
|||
</field> |
|||
</record> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="view_external_attachment_tree" model="ir.ui.view"> |
|||
<field name="model">ir.attachment.metadata</field> |
|||
<field name="inherit_id" ref="base_attachment_queue.view_external_attachment_tree" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="file_type" position="after"> |
|||
<field name="task_id"/> |
|||
<field name="storage_backend_id"/> |
|||
</field> |
|||
<record id="view_external_attachment_tree" model="ir.ui.view"> |
|||
<field name="model">ir.attachment.metadata</field> |
|||
<field name="inherit_id" ref="base_attachment_queue.view_external_attachment_tree" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="file_type" position="after"> |
|||
<field name="task_id"/> |
|||
<field name="storage_backend_id"/> |
|||
</field> |
|||
</record> |
|||
</field> |
|||
</record> |
|||
|
|||
</odoo> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue