~openerp-commiter/openobject-addons/trunk-extra-addons

« back to all changes in this revision

Viewing changes to project_timesheet_contract/hr/hr_employee_view.xml

  • Committer: Mantavya Gajjar
  • Date: 2009-06-09 11:56:59 UTC
  • mto: This revision was merged to the branch mainline in revision 3753.
  • Revision ID: mga@tinyerp.com-20090609115659-t3j3xmy2l8g02ol3
[ADD]: Add new module `project_timesheet_contract` thet will allow user 
to configre timesheet cost basd on Product / Contract while encoding task line

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>    
 
4
    <record id="hr_employee_project_contract_timesheet" model="ir.ui.view">
 
5
            <field name="name">hr.employee.project.contract.timesheet.form</field>
 
6
            <field name="model">hr.employee</field>
 
7
            <field name="inherit_id" ref="hr.view_employee_form"/>
 
8
            <field name="arch" type="xml">
 
9
                 <field name="journal_id" position="after">
 
10
                        <field name="cost_based_on" select="2" on_change="onchange_cost_based_on(cost_based_on,contract_ids,product_id)"/>
 
11
                 </field>
 
12
            </field>
 
13
        </record>
 
14
    </data>
 
15
</openerp>
 
16
    
 
 
b'\\ No newline at end of file'