Khushboo Bhatt(openerp) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-project-kanban-view-kbh-kbh into
lp:~openerp-dev/openobject-addons/trunk-project-kanban.
Requested reviews:
Amit Patel (OpenERP) (apa-tiny)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-project-kanban-view-kbh-kbh/+merge/97181
hello,
I have added kanban view for project,project_issue and project_timesheet.
Thank you,
kbh.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-project-kanban-view-kbh-kbh/+merge/97181
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-project-kanban.
=== modified file 'project/project_view.xml'
--- project/project_view.xml 2012-03-09 08:18:22 +0000
+++ project/project_view.xml 2012-03-13 10:30:26 +0000
@@ -189,25 +189,22 @@
</t>
</div>
<div class="oe_module_desc">
- <h4 class="oe_project_font1"><a type="edit"><div class="oe_project_font"><field name="name"/></div></a></h4>
- <p>
+ <h4 class="oe_project_font1"><a type="edit"><div class="oe_project_font"><field name="name"/></div></a></h4>
+ <p class="project_issue">
<button name="open_tasks" class="oe_project_buttons" type="object"><i>Tasks (<field name="open_task"/>)</i></button>
- <button name="open_issues" class="oe_project_buttons" type="object"><i>Issues (<field name="open_issues"/>)</i></button>
- <br/>
- <b><kbd class="invoiced">Invoiced amount : <field name="amount_invoiced"/> <field name="currency_id"/></kbd></b>
</p>
<div class="progress invoiced">
<t t-esc="Math.round(record.effective_hours.raw_value)"/> hrs
<progress t-att-value="record.effective_hours.raw_value" t-att-max="record.total_hours.raw_value"></progress>
<t t-esc="Math.round(record.total_hours.raw_value)"/> hrs
</div>
- </div>
+ </div>
<br/>
-
+
</div>
- </t>
+ </t>
</templates>
-
+
</kanban>
</field>
</record>
=== modified file 'project_issue/project_issue_view.xml'
--- project_issue/project_issue_view.xml 2012-03-09 08:18:22 +0000
+++ project_issue/project_issue_view.xml 2012-03-13 10:30:26 +0000
@@ -235,23 +235,17 @@
</field>
</record>
<!--project kanban view -->
- <!--<record id="view_project_kanban_inherited" model="ir.ui.view">-->
- <!-- <field name="name">project.project.kanban.inherited</field>-->
- <!-- <field name="model">project.project</field>-->
- <!-- <field name="type">kanban</field>-->
- <!-- <field name="inherit_id" ref="project.view_project_kanban"/>-->
- <!-- <field name="arch" type="xml">-->
- <!-- <xpath expr="//table[@class='project_issue']" position="after">-->
- <!-- <table><tr><td align="left">-->
- <!-- <t t-if="record.open_issues.raw_value" />-->
- <!-- <span tooltip="issue_details">-->
- <!-- <strong><field name="open_issues"/> Issues</strong></span></td>-->
- <!-- <td><progress t-att-value="record.open_issues.raw_value" max="100"></progress>-->
- <!-- </td>-->
- <!-- </tr></table>-->
- <!-- </xpath>-->
- <!-- </field>-->
- <!--</record>-->
+ <record id="view_project_kanban_inherited" model="ir.ui.view">
+ <field name="name">project.project.kanban.inherited</field>
+ <field name="model">project.project</field>
+ <field name="type">kanban</field>
+ <field name="inherit_id" ref="project.view_project_kanban"/>
+ <field name="arch" type="xml">
+ <xpath expr="//p[@class='project_issue']" position="after">
+ <p class="timesheet"><button name="open_issues" class="oe_project_buttons" type="object"><i>Issues (<field name="open_issues"/>)</i></button></p>
+ </xpath>
+ </field>
+ </record>
<!-- Project Issue Karban View-->
=== modified file 'project_timesheet/project_timesheet_view.xml'
--- project_timesheet/project_timesheet_view.xml 2012-01-31 13:36:57 +0000
+++ project_timesheet/project_timesheet_view.xml 2012-03-13 10:30:26 +0000
@@ -43,6 +43,19 @@
</xpath>
</field>
</record>
+ <!--project kanban view -->
+ <record id="view_project_timesheet_kanban_inherited" model="ir.ui.view">
+ <field name="name">project.project.timesheet.kanban.inherited</field>
+ <field name="model">project.project</field>
+ <field name="type">kanban</field>
+ <field name="inherit_id" ref="project.view_project_kanban"/>
+ <field name="arch" type="xml">
+ <xpath expr="//p[@class='timesheet']" position="after">
+ <b><kbd class="invoiced">Invoiced amount : <field name="amount_invoiced"/> <field name="currency_id"/></kbd></b>
+ </xpath>
+ </field>
+ </record>
+
<record id="view_account_analytic_line_search_account_inherit" model="ir.ui.view">
<field name="name">account.analytic.line.search.account_id</field>
<field name="model">account.analytic.line</field>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp