[14.0][MIG] attachment_queue: migration to 14.0
parent
5d5d277e3d
commit
393598e9be
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "Attachment Queue",
|
"name": "Attachment Queue",
|
||||||
"version": "12.0.1.0.1",
|
"version": "14.0.1.0.0",
|
||||||
"author": "Akretion,Odoo Community Association (OCA)",
|
"author": "Akretion,Odoo Community Association (OCA)",
|
||||||
"summary": "Base module adding the concept of queue for processing files",
|
"summary": "Base module adding the concept of queue for processing files",
|
||||||
"website": "https://github.com/OCA/server-tools",
|
"website": "https://github.com/OCA/server-tools",
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
<record id="attachment_queue_demo" model="attachment.queue">
|
<record id="attachment_queue_demo" model="attachment.queue">
|
||||||
<field name="datas">bWlncmF0aW9uIHRlc3Q=</field>
|
<field name="datas">bWlncmF0aW9uIHRlc3Q=</field>
|
||||||
<field name="datas_fname">attachment_queue_demo.doc</field>
|
|
||||||
<field name="name">attachment_queue_demo.doc</field>
|
<field name="name">attachment_queue_demo.doc</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
* Florian da Costa <florian.dacosta@akretion.com>
|
* Florian da Costa <florian.dacosta@akretion.com>
|
||||||
* Angel Moya <http://angelmoya.es>
|
* Angel Moya <http://angelmoya.es>
|
||||||
* Dan Kiplangat <dan@sunflowerweb.nl>
|
* Dan Kiplangat <dan@sunflowerweb.nl>
|
||||||
|
* Kevin Khao <kevin.khao@akretion.com>
|
||||||
|
|
|
@ -41,10 +41,8 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree default_order='create_date desc'>
|
<tree default_order='create_date desc'>
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="datas_fname" />
|
|
||||||
<field name="file_type" />
|
<field name="file_type" />
|
||||||
<field name="type" />
|
<field name="type" />
|
||||||
<field name="create_date" />
|
|
||||||
<field name="state" />
|
<field name="state" />
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
|
@ -56,7 +54,7 @@
|
||||||
<search string="Attachments">
|
<search string="Attachments">
|
||||||
<field
|
<field
|
||||||
name="name"
|
name="name"
|
||||||
filter_domain="['|', ('name','ilike',self), ('datas_fname','ilike',self)]"
|
filter_domain="[('name','ilike',self)]"
|
||||||
string="Attachment"
|
string="Attachment"
|
||||||
/>
|
/>
|
||||||
<field name="create_date" />
|
<field name="create_date" />
|
||||||
|
@ -126,7 +124,6 @@
|
||||||
<field name="name">Attachments Queue</field>
|
<field name="name">Attachments Queue</field>
|
||||||
<field name="type">ir.actions.act_window</field>
|
<field name="type">ir.actions.act_window</field>
|
||||||
<field name="res_model">attachment.queue</field>
|
<field name="res_model">attachment.queue</field>
|
||||||
<field name="view_type">form</field>
|
|
||||||
<field name="view_mode">tree,form</field>
|
<field name="view_mode">tree,form</field>
|
||||||
<field name="view_id" eval="False" />
|
<field name="view_id" eval="False" />
|
||||||
<field name="search_view_id" ref="view_attachment_queue_search" />
|
<field name="search_view_id" ref="view_attachment_queue_search" />
|
||||||
|
|
Loading…
Reference in New Issue