You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

108 lines
4.7 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="systray_help_icon_wizard" model="ir.ui.view">
<field name="name">help.icon.wizard</field>
<field name="model">help.icons</field>
<field name="priority" eval="8"/>
<field name="arch" type="xml">
<form string="Help">
<script>
$(document).ready(function(){
$('.modal-dialog').css({'width': '30%', 'height': '80%'});
$('.modal-content').css({'height': '80%'});
$('.modal-body').css({'height': '80%'});
});
</script>
<div class="field_color">
<div class="row">
<div class="col-12">
<label for="name" string="Name" class="w-100"/>
<field name="name" class="w-100"/>
</div>
</div>
<div class="row">
<div class="col-12">
<label for="email" string="Email" class="w-100"/>
<field name="email" class="w-100"/>
</div>
</div>
<div class="row">
<div class="col-12">
<label for="description" string="Description" class="w-100"/>
<field name="description" class="w-100"/>
</div>
</div>
<div class="row">
<div class="col-12">
<!-- <label for="attachment_ids" string="Attachments" class="w-100"/>-->
<field name="attachment_ids" class="w-100" widget="many2many_binary"/>
</div>
</div>
<div class="row">
<div class="col-12">
<label for="t_type" string="Support Type" class="w-100"/>
<field name="t_type" class="w-100"/>
</div>
</div>
</div>
<footer>
<button name="confirm_button" type="object" class="button confirm oe_highlight">
<i class="fa fa-upload ml-3" style="font-size:16px;"/>Submit
</button>
<button name="whatsapp_button" type="object" class="button confirm oe_highlight">
<i class="fa fa-whatsapp ml-3" style="font-size:16px;"/>Whatspp
</button>
<button name="cancel" string="Cancel" class="button cancel_button" special="cancel"/>
</footer>
<style>
.button{
color: white;
width: 30%;
border-radius: 0;
}
.confirm{
background-color: #68bb59;
border: 1px solid #68bb59;
}
.cancel_button{
background-color: #ed2839;
border: 1px solid #ed2839;
}
.confirm:hover{
background-color: white;
color: #68bb59;
}
.cancel_button:hover{
background-color: white;
color: #ed2839;
}
.o_required_modifier.o_input, .o_required_modifier .o_input {
background-color: white !important;
border-left: solid 3px #ff707c;
}
</style>
</form>
</field>
</record>
<record id="custom_pop_message_wizard_view_form" model="ir.ui.view">
<field name="name">custom.pop.message.form</field>
<field name="model">custom.pop.message</field>
<field name="arch" type="xml">
<form string="Custom POP Message">
<field name="name" readonly="1"/>
<footer>
<button string="Close" class="btn-default" special="cancel"/>
</footer>
</form>
</field>
</record>
</data>
</odoo>