[IMP]: improved demo data in hr_timesheet

bzr revid: han@tinyerp.com-20110713093956-6pvxd61b1ctryeg5
This commit is contained in:
Hardik Ansodariy (OpenERP) 2011-07-13 15:09:56 +05:30
parent 340638cac7
commit fa0460f936
2 changed files with 11 additions and 1 deletions

View File

@ -22,6 +22,16 @@
<field name="journal_id" ref="analytic_journal"/>
</record>
<record id="hr.employee2" model="hr.employee">
<field name="product_id" ref="product_consultant"/>
<field name="journal_id" ref="analytic_journal"/>
</record>
<record id="hr.employee3" model="hr.employee">
<field name="product_id" ref="product_consultant"/>
<field name="journal_id" ref="analytic_journal"/>
</record>
<record id="working_hours_requirements" model="hr.analytic.timesheet">
<field name="name">Requirements analysis and specification</field>
<field name="user_id" ref="base.user_root"/>

View File

@ -146,7 +146,7 @@
<field name="state"/>
<button name="button_confirm" states="draft" string="Submit to Manager" type="object" icon="terp-check"/>
<button name="action_set_to_draft" states="done" string="Set to Draft" type="object" icon="terp-stock_effects-object-colorize"/>
<button name="cancel" states="confirm" string="Refuse" type="workflow" icon="gtk-cancel" groups="base.group_user"/>
<button name="cancel" states="confirm" string="Refuse" type="workflow" icon="gtk-cancel" groups="base.group_user" invisible="1"/>
<button name="done" states="confirm" string="Approve" type="workflow" icon="terp-camera_test" groups="base.group_hr_user"/>
</group>
</form>