[IMP] add departmeent on hours block and add hours block button on project form view

This commit is contained in:
Vincent Renaville
2013-10-30 17:01:10 +01:00
parent 3b31d34476
commit 8009603769
7 changed files with 70 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" ?>
<openerp>
<data>
<record model="ir.ui.view" id="edit_project_hours_block_link">
<field name="name">project.project.form.hours.block.link</field>
<field name="model">project.project</field>
<field name="inherit_id" ref="project.edit_project"/>
<field name="type">form</field>
<field name="arch" type="xml">
<xpath expr="//button[@name='attachment_tree_view']" position="after">
<button name="hours_block_tree_view" string="Hours Block" type="object"/>
</xpath>
</field>
</record>
</data>
</openerp>