Skip to content

Commit

Permalink
[IMP] replace general Information to an fa-icon in project kanban view
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomacr committed Aug 3, 2018
1 parent 832657b commit 9f37dbf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions sale_timesheet_ux/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
"data": [
"views/product_template_views.xml",
"views/project_project_views.xml",
],
"demo": [
],
Expand Down
17 changes: 17 additions & 0 deletions sale_timesheet_ux/views/project_project_views.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>

<record id="project_project_view_kanban_inherit_sale_timesheet" model="ir.ui.view">
<field name="name">project.project.kanban.inherit.sale.timesheet</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="sale_timesheet.project_project_view_kanban_inherit_sale_timesheet"/>
<field name="arch" type="xml">
<xpath expr="//a[@t-if='record.allow_timesheets.raw_value']//div" position="replace">
<div>
<span class="o_label"><span title="Overview" class="fa fa-info"/></span>
</div>
</xpath>
</field>
</record>

</odoo>

0 comments on commit 9f37dbf

Please sign in to comment.