diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-10-26 23:11:23 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-10-26 23:11:23 +0200 |
| commit | 44fc0f6855eab762350c66adfb3d1d2bc0384d58 (patch) | |
| tree | 869d6abddacd0fc7661ecdd7fcfca3c91c1fea78 /addons/pad_project/models/project_task.xml | |
| parent | 226ca06039425056725cb9336c58c58603292afa (diff) | |
[ADD] Add pad_project module. (Adds a PAD button in all project kanban views)
bzr revid: fme@openerp.com-20111026211123-m4tjc4xl35m2pfnu
Diffstat (limited to 'addons/pad_project/models/project_task.xml')
| -rw-r--r-- | addons/pad_project/models/project_task.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/addons/pad_project/models/project_task.xml b/addons/pad_project/models/project_task.xml new file mode 100644 index 00000000000..de944b603b5 --- /dev/null +++ b/addons/pad_project/models/project_task.xml @@ -0,0 +1,17 @@ +<openerp> + <data> + <record id="view_task_kanban_with_pad" model="ir.ui.view"> + <field name="name">project.task.kanban.pad</field> + <field name="model">project.task</field> + <field name="type">kanban</field> + <field name="inherit_id" ref="project.view_task_kanban"/> + <field name="arch" type="xml"> + <xpath expr="//a[@type='color']" position="after"> + <a name="pad_get" string="Pad" type="object"> + <img src="/pad/static/src/img/pad-icon.png" border="0" width="16" height="16"/> + </a> + </xpath> + </field> + </record> + </data> +</openerp> |
