[IMP] Improved code for
authorParamjit Singh Sahota <psa@tinyerp.com>
Tue, 18 Dec 2012 08:50:08 +0000 (14:20 +0530)
committerParamjit Singh Sahota <psa@tinyerp.com>
Tue, 18 Dec 2012 08:50:08 +0000 (14:20 +0530)
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

addons/hr_holidays/hr_holidays_view.xml
addons/purchase/report/request_quotation.rml

index f8b4ad0..9e2870d 100644 (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>
index d975536..6c18a53 100644 (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"/>