[IMP] crm: remove custom css on form view
Purpose of this commit is to get rid of custom css code and file and use standard bootstrap classes. TaskID 2182610 Closes #45472 closes odoo/odoo#46948 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Thibault Delavallée
parent
b10841acbe
commit
6a56b6c47b
@@ -1,12 +0,0 @@
|
||||
@charset "utf-8";
|
||||
.openerp .oe_margin_top_8 {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.o_pls_probability button {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.o_pls_probability small {
|
||||
font-size: 1rem;
|
||||
}
|
||||
@@ -90,14 +90,16 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<span class="oe_edit_only o_pls_probability">
|
||||
<div class="oe_edit_only d-flex align-items-center">
|
||||
<label for="probability"/>
|
||||
<button class="btn btn-link" name="action_set_automated_probability" type="object"
|
||||
attrs="{'invisible': [('is_automated_probability', '=', True)]}">
|
||||
<i class="fa fa-gear" role="img" title="Switch to automatic probability" aria-label="Switch to automatic probability"></i>
|
||||
</button>
|
||||
<small class="oe_grey" attrs="{'invisible': [('is_automated_probability', '=', True)]}"><field name="automated_probability"/> %% (Estimated by Odoo)</small>
|
||||
</span>
|
||||
<small class="oe_grey h6 mb0" attrs="{'invisible': [('is_automated_probability', '=', True)]}">
|
||||
<field class="mb0" name="automated_probability"/> %% (Estimated by Odoo)
|
||||
</small>
|
||||
</div>
|
||||
<div id="probability" class="o_row d-flex">
|
||||
<field name="is_automated_probability" invisible="1"/>
|
||||
<field name="probability" widget="float" class="oe_inline"/>
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="assets_backend" name="crm assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" href="/crm/static/src/css/crm.css"/>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="assets_tests" name="CRM Assets Tests" inherit_id="web.assets_tests">
|
||||
<xpath expr="." position="inside">
|
||||
<script type="text/javascript" src="/crm/static/src/js/tours/crm.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user