[IMP] Improved code for

1). Changed report name test.pdf ==> requestforquotation.pdf.
2). Create a leave request for an employee:
It will display False instead of taking the employee Name (works fine when creating for the Administrator)

bzr revid: psa@tinyerp.com-20121218085008-429nosi350ez5mgd
This commit is contained in:
Paramjit Singh Sahota 2012-12-18 14:20:08 +05:30
parent ca1f1732d6
commit 38c56a45f5
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
<field name="model">hr.holidays</field>
<field name="arch" type="xml">
<calendar string="Leave Request" color="user_id" date_start="date_from" date_stop="date_to">
<field name="user_id"/>
<field name="employee_id"/>
<field name="holiday_status_id"/>
</calendar>
</field>

View File

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<document filename="test.pdf">
<document filename="requestforquotation.pdf">
<template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
<pageTemplate id="first">
<frame id="first" x1="23.0" y1="43.0" width="530" height="799"/>