2010-04-29 10:09:34 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<record model="ir.ui.view" id="project_issue_form_view">
|
|
|
|
<field name="name">Project Issue Tracker Form</field>
|
|
|
|
<field name="model">project.issue</field>
|
|
|
|
<field name="inherit_id" ref="project_issue.project_issue_form_view" />
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Worklogs">
|
2010-05-25 22:35:26 +00:00
|
|
|
<field name="analytic_account_id" invisible="1"/>
|
2010-07-13 07:21:02 +00:00
|
|
|
<field name="timesheet_ids" colspan="4" nolabel="1" default_get="{'account_id':project_id}" context="{'default_user_id' : user_id, 'default_account_id' : analytic_account_id}">
|
2010-04-29 10:09:34 +00:00
|
|
|
<tree editable="top" string="Timesheet">
|
2010-07-13 07:21:02 +00:00
|
|
|
<field name="name"/>
|
|
|
|
<field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, product_uom_id)" widget="float_time"/>
|
|
|
|
<field name="account_id" invisible="0" domain="[('partner_id', '=', parent.partner_id)]" on_change="on_change_account_id(account_id)"/>
|
2010-05-25 22:35:26 +00:00
|
|
|
<field name="user_id"/>
|
2010-07-13 07:21:02 +00:00
|
|
|
<field name="date"/>
|
2010-04-29 10:09:34 +00:00
|
|
|
<field invisible="1" name="journal_id"/>
|
|
|
|
<field invisible="1" name="product_id"/>
|
|
|
|
<field invisible="1" name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, product_uom_id)"/>
|
|
|
|
<field invisible="1" name="amount"/>
|
|
|
|
<field invisible="1" name="general_account_id"/>
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
2010-07-09 07:27:50 +00:00
|
|
|
</openerp>
|