|
@ -4,8 +4,11 @@ |
|
|
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
|
|
# Copyright 2018 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> |
|
|
# License MIT (https://opensource.org/licenses/MIT).--> |
|
|
# License MIT (https://opensource.org/licenses/MIT).--> |
|
|
<odoo> |
|
|
<odoo> |
|
|
|
|
|
|
|
|
<template id="assets_backend" name="custom bar assets" inherit_id="web.assets_backend"> |
|
|
|
|
|
|
|
|
<template |
|
|
|
|
|
id="assets_backend" |
|
|
|
|
|
name="custom bar assets" |
|
|
|
|
|
inherit_id="web.assets_backend" |
|
|
|
|
|
> |
|
|
<xpath expr="." position="inside"> |
|
|
<xpath expr="." position="inside"> |
|
|
<link |
|
|
<link |
|
|
rel="stylesheet" |
|
|
rel="stylesheet" |
|
@ -17,20 +20,17 @@ |
|
|
/> |
|
|
/> |
|
|
</xpath> |
|
|
</xpath> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<record id="view_wizard" model="ir.ui.view"> |
|
|
<record id="view_wizard" model="ir.ui.view"> |
|
|
<field name="name">mail_move_message.wizard.view</field> |
|
|
<field name="name">mail_move_message.wizard.view</field> |
|
|
<field name="model">mail_move_message.wizard</field> |
|
|
<field name="model">mail_move_message.wizard</field> |
|
|
<field name="arch" type="xml"> |
|
|
<field name="arch" type="xml"> |
|
|
<form string="Move Message"> |
|
|
<form string="Move Message"> |
|
|
|
|
|
|
|
|
<field name="can_move" invisible="1" /> |
|
|
<field name="can_move" invisible="1" /> |
|
|
<field name="message_is_moved" invisible="1" /> |
|
|
<field name="message_is_moved" invisible="1" /> |
|
|
<field name="message_name_from" invisible="1" /> |
|
|
<field name="message_name_from" invisible="1" /> |
|
|
<field name="message_email_from" invisible="1" /> |
|
|
<field name="message_email_from" invisible="1" /> |
|
|
<field name="message_to_read" invisible="1" /> |
|
|
<field name="message_to_read" invisible="1" /> |
|
|
<field name="uid" invisible="1" /> |
|
|
<field name="uid" invisible="1" /> |
|
|
|
|
|
|
|
|
<p |
|
|
<p |
|
|
attrs="{'invisible':[('can_move', '!=', False)]}" |
|
|
attrs="{'invisible':[('can_move', '!=', False)]}" |
|
|
>You cannot move this message. It was already moved with a message bellow. Open one and apply changes there.</p> |
|
|
>You cannot move this message. It was already moved with a message bellow. Open one and apply changes there.</p> |
|
@ -47,7 +47,6 @@ |
|
|
class="oe_highlight" |
|
|
class="oe_highlight" |
|
|
/> |
|
|
/> |
|
|
</group> |
|
|
</group> |
|
|
|
|
|
|
|
|
<group attrs="{'invisible':[('can_move', '=', False)]}" colspan="2"> |
|
|
<group attrs="{'invisible':[('can_move', '=', False)]}" colspan="2"> |
|
|
<label for="model_record" /> |
|
|
<label for="model_record" /> |
|
|
<div> |
|
|
<div> |
|
@ -129,7 +128,6 @@ |
|
|
</form> |
|
|
</form> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
<!-- Relocation config wizard --> |
|
|
<!-- Relocation config wizard --> |
|
|
<record id="view_mail_move_message_config_settings" model="ir.ui.view"> |
|
|
<record id="view_mail_move_message_config_settings" model="ir.ui.view"> |
|
|
<field name="name">res.config.settings.view.form.inherit</field> |
|
|
<field name="name">res.config.settings.view.form.inherit</field> |
|
@ -170,7 +168,6 @@ |
|
|
</xpath> |
|
|
</xpath> |
|
|
</field> |
|
|
</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
<record id="action_mail_move_message_config" model="ir.actions.act_window"> |
|
|
<record id="action_mail_move_message_config" model="ir.actions.act_window"> |
|
|
<field name="name">Mail Relocation</field> |
|
|
<field name="name">Mail Relocation</field> |
|
|
<field name="type">ir.actions.act_window</field> |
|
|
<field name="type">ir.actions.act_window</field> |
|
@ -180,5 +177,4 @@ |
|
|
<field name="target">inline</field> |
|
|
<field name="target">inline</field> |
|
|
<field name="context">{'module' : 'mail_move_message'}</field> |
|
|
<field name="context">{'module' : 'mail_move_message'}</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
</odoo> |
|
|
</odoo> |