[FIX] {sale_}project,hr_timesheet: fix project form CSS
This commit fixes some css issues in the "Settings" tab of the project form view. The settings descriptions were wrapping at half the width they were supposed to, and the settings were misaligned compared to the sections titles. closes odoo/odoo#102399 Enterprise: https://github.com/odoo/enterprise/pull/32359 X-original-commit: 74bd1e6af0e3410fc1a474c5f85b1dbb46ceba6e Related: odoo/enterprise#32384 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com> Signed-off-by: Larcin Vincent (vila) <vila@odoo.com>
This commit is contained in:
@@ -8,3 +8,7 @@
|
||||
margin-top:2px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.o_form_project_project .o_setting_box {
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
|
||||
@@ -546,7 +546,7 @@
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group name="group_tasks_managment" string="Tasks Managment" class="row mt16 o_settings_container" groups="project.group_subtask_project,project.group_project_task_dependencies,project.group_project_milestone,project.group_project_recurring_tasks">
|
||||
<group name="group_tasks_managment" string="Tasks Management" col="1" class="row mt16 o_settings_container" groups="project.group_subtask_project,project.group_project_task_dependencies,project.group_project_milestone,project.group_project_recurring_tasks">
|
||||
<div>
|
||||
<div class="o_setting_box" id="subtask_settings" groups="project.group_subtask_project">
|
||||
<div class="o_setting_left_pane">
|
||||
@@ -594,8 +594,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</group>
|
||||
<group name="group_time_managment" string="Time Managment" invisible="1" class="row mt16 o_settings_container"/>
|
||||
<group name="group_documents_analytics" string="Analytics" class="row mt16 o_settings_container" attrs="{'invisible': [('allow_rating', '=', False)]}">
|
||||
<group name="group_time_managment" string="Time Management" invisible="1" col="1" class="row mt16 o_settings_container"/>
|
||||
<group name="group_documents_analytics" string="Analytics" col="1" class="row mt16 o_settings_container" attrs="{'invisible': [('allow_rating', '=', False)]}">
|
||||
<div>
|
||||
<field name="allow_rating" invisible="1"/>
|
||||
<div class="o_setting_box" name="analytic_div" groups="project.group_project_rating">
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<attribute name="context">{'res_partner_search_mode': 'customer'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//group[@name='group_time_managment']" position="after">
|
||||
<group name="group_sales_invoicing" string="Sales & Invoicing" class="row mt16 o_settings_container col-lg-6">
|
||||
<group name="group_sales_invoicing" string="Sales & Invoicing" col="1" class="row mt16 o_settings_container col-lg-6">
|
||||
<div>
|
||||
<div class="o_setting_box" id="allow_billable_container">
|
||||
<div class="o_setting_left_pane">
|
||||
|
||||
Reference in New Issue
Block a user