Skip to content
Snippets Groups Projects
Commit f6bffc09 authored by Ali Alfie (alal)'s avatar Ali Alfie (alal)
Browse files

[FIX] hr_expense: expense categories padding issue


Before: in Expense Categories list view, if Internal Notes wasn't empty it would  cause a padding issue. The issue's cause was that the Internal Notes columns is an HTML field, where every line is assigned a margin-bottom.

Now: fixed the padding issue by removing the margin-bottom for the last line in the Internal Notes field.

task-32999162

closes odoo/odoo#120626

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 136fb5b5
Branches
Tags
No related merge requests found
......@@ -34,3 +34,7 @@
height: 100%;
}
}
.o_expense_categories td[name="description"] p:last-child {
margin-bottom: 0;
}
......@@ -561,7 +561,7 @@
<field name="name">product.product.expense.categories.tree.view</field>
<field name="model">product.product</field>
<field name="arch" type="xml">
<tree>
<tree class="o_expense_categories">
<field name="name" readonly="1"/>
<field name="default_code" optional="show" readonly="1"/>
<field name="description" widget="html" string="Internal Note" optional="show" readonly="1"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment