|
|
@ -1,7 +1,11 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8" ?> |
|
|
|
<openerp><data> |
|
|
|
|
|
|
|
<template id="assets_backend" name="custom bar assets" inherit_id="web.assets_backend"> |
|
|
|
<openerp> |
|
|
|
<data> |
|
|
|
<template |
|
|
|
id="assets_backend" |
|
|
|
name="custom bar assets" |
|
|
|
inherit_id="web.assets_backend" |
|
|
|
> |
|
|
|
<xpath expr="." position="inside"> |
|
|
|
<link |
|
|
|
rel="stylesheet" |
|
|
@ -12,21 +16,18 @@ |
|
|
|
src="/mail_move_message/static/src/js/mail_move_message.js" |
|
|
|
/> |
|
|
|
</xpath> |
|
|
|
</template> |
|
|
|
|
|
|
|
<record id="view_wizard" model="ir.ui.view"> |
|
|
|
</template> |
|
|
|
<record id="view_wizard" model="ir.ui.view"> |
|
|
|
<field name="name">mail_move_message.wizard.view</field> |
|
|
|
<field name="model">mail_move_message.wizard</field> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<form string="Move Message"> |
|
|
|
|
|
|
|
<field name="can_move" invisible="1" /> |
|
|
|
<field name="message_is_moved" invisible="1" /> |
|
|
|
<field name="message_name_from" invisible="1" /> |
|
|
|
<field name="message_email_from" invisible="1" /> |
|
|
|
<field name="message_to_read" invisible="1" /> |
|
|
|
<field name="uid" invisible="1" /> |
|
|
|
|
|
|
|
<p |
|
|
|
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> |
|
|
@ -43,7 +44,6 @@ |
|
|
|
class="oe_highlight" |
|
|
|
/> |
|
|
|
</group> |
|
|
|
|
|
|
|
<group attrs="{'invisible':[('can_move', '=', False)]}" colspan="2"> |
|
|
|
<label for="model" /> |
|
|
|
<div> |
|
|
@ -146,8 +146,7 @@ |
|
|
|
</footer> |
|
|
|
</form> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
</record> |
|
|
|
<!-- Relocation config wizard --> |
|
|
|
<record id="view_mail_move_message_config_settings" model="ir.ui.view"> |
|
|
|
<field name="name">relocation settings</field> |
|
|
@ -179,7 +178,6 @@ |
|
|
|
</form> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<record id="action_mail_move_message_config" model="ir.actions.act_window"> |
|
|
|
<field name="name">Mail Relocation</field> |
|
|
|
<field name="type">ir.actions.act_window</field> |
|
|
@ -188,7 +186,6 @@ |
|
|
|
<field name="view_mode">form</field> |
|
|
|
<field name="target">inline</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
<!-- Add menu entry in Settings/Email --> |
|
|
|
<menuitem |
|
|
|
name="Mail Relocation" |
|
|
@ -197,6 +194,5 @@ |
|
|
|
sequence="99" |
|
|
|
action="action_mail_move_message_config" |
|
|
|
/> |
|
|
|
|
|
|
|
</data> |
|
|
|
</openerp> |