|
@ -1,7 +1,11 @@ |
|
|
<?xml version="1.0" encoding="utf-8" ?> |
|
|
<?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"> |
|
|
<xpath expr="." position="inside"> |
|
|
<link |
|
|
<link |
|
|
rel="stylesheet" |
|
|
rel="stylesheet" |
|
@ -12,21 +16,18 @@ |
|
|
src="/mail_move_message/static/src/js/mail_move_message.js" |
|
|
src="/mail_move_message/static/src/js/mail_move_message.js" |
|
|
/> |
|
|
/> |
|
|
</xpath> |
|
|
</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="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> |
|
@ -43,7 +44,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" /> |
|
|
<label for="model" /> |
|
|
<div> |
|
|
<div> |
|
@ -146,8 +146,7 @@ |
|
|
</footer> |
|
|
</footer> |
|
|
</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">relocation settings</field> |
|
|
<field name="name">relocation settings</field> |
|
@ -179,7 +178,6 @@ |
|
|
</form> |
|
|
</form> |
|
|
</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> |
|
@ -188,7 +186,6 @@ |
|
|
<field name="view_mode">form</field> |
|
|
<field name="view_mode">form</field> |
|
|
<field name="target">inline</field> |
|
|
<field name="target">inline</field> |
|
|
</record> |
|
|
</record> |
|
|
|
|
|
|
|
|
<!-- Add menu entry in Settings/Email --> |
|
|
<!-- Add menu entry in Settings/Email --> |
|
|
<menuitem |
|
|
<menuitem |
|
|
name="Mail Relocation" |
|
|
name="Mail Relocation" |
|
@ -197,6 +194,5 @@ |
|
|
sequence="99" |
|
|
sequence="99" |
|
|
action="action_mail_move_message_config" |
|
|
action="action_mail_move_message_config" |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
</data> |
|
|
</data> |
|
|
</openerp> |
|
|
</openerp> |