Merge branch 'table_issue' into 'master'
Table issue See merge request prakash.jain/cor-odoo!274
This commit is contained in:
commit
5af7b7f30c
|
@ -15,3 +15,13 @@ ul.o_menu_systray {
|
|||
.o_main_navbar > ul > li {
|
||||
float: right;}
|
||||
}
|
||||
|
||||
/* Fixed Individual column header */
|
||||
/* Start */
|
||||
tbody .o_one2many_header_cell_fix {
|
||||
position:sticky;
|
||||
left:0px;
|
||||
background:white;
|
||||
border-right:1px solid #DEE2E6;
|
||||
}
|
||||
/* Stop */
|
|
@ -74,10 +74,10 @@
|
|||
<field name="sale_line_employee_ids"
|
||||
attrs="{'invisible': ['|', ('bill_type', '!=', 'customer_project'), ('pricing_type', '!=', 'employee_rate')]}">
|
||||
<tree editable="top" create="false">
|
||||
<field name="employee_id" options="{'no_create': True}" string="Consultant Name" class="o_one2many_header_cell_fix"/>
|
||||
<field name="company_id" invisible="1"/>
|
||||
<field name="project_id" invisible="1"/>
|
||||
<field name="hour_distribution" invisible="1"/>
|
||||
<field name="employee_id" options="{'no_create': True}" string="Consultant Name"/>
|
||||
<field name="role"
|
||||
attrs="{'required': [('hour_distribution','=','Percentage')]}"/>
|
||||
<field name="start_date"/>
|
||||
|
@ -106,8 +106,8 @@
|
|||
<field name="consultant_cost"/>
|
||||
<field name="actual_revenue"/>
|
||||
<field name="budgeted_hour_week" invisible="1"/>
|
||||
<button type="object" name="edit_sale_line_employee_record" string="Edit"
|
||||
class="oe_highlight"/>
|
||||
<button type="object" name="edit_sale_line_employee_record"
|
||||
class="fa fa-pencil bg-primary"/>
|
||||
<!--<button name="unlink" type="object" icon="fa-trash-o"/>-->
|
||||
</tree>
|
||||
</field>
|
||||
|
|
Loading…
Reference in New Issue