← Back to team overview

credativ team mailing list archive

[Bug 905227] [NEW] Wrong XML-ID in data of hr_holidays

 

Public bug reported:

the xml-id in hr.holiday.status of legal holidays is the sames as for
the sick leave.

Fix: Exchange "holiday_status_sl" of legal-holidays with
"holiday_status_lh" in file

hr_holidays_data.xml:12

<!-- Legal Holidays -->
    <record model="hr.holidays.status" id="holiday_status_lh">
      <field name="name">Legal Holidays</field>
      <field name="color_name">blue</field>
    </record>

    <!-- Sick leave -->
    <record model="hr.holidays.status" id="holiday_status_sl">
      <field name="name">Sick Leave</field>
      <field name="limit">True</field>
      <field name="color_name">red</field>
    </record>

** Affects: openobject-server
     Importance: Undecided
         Status: New

** Description changed:

  the xml-id in hr.holiday.status of legal holidays is the sames as for
  the sick leave.
  
  Fix: Exchange "holiday_status_sl" of legal-holidays with
- "holiday_status_hl" in file
+ "holiday_status_lh" in file
  
  hr_holidays_data.xml:12
  
+ <!-- Legal Holidays -->
+     <record model="hr.holidays.status" id="holiday_status_lh">
+       <field name="name">Legal Holidays</field>
+       <field name="color_name">blue</field>
+     </record>
  
- 
- <!-- Legal Holidays -->
-     <record model="hr.holidays.status" id="holiday_status_lh">
-       <field name="name">Legal Holidays</field>
-       <field name="color_name">blue</field>
-     </record>
- 
-     <!-- Sick leave -->
-     <record model="hr.holidays.status" id="holiday_status_sl">
-       <field name="name">Sick Leave</field>
-       <field name="limit">True</field>
-       <field name="color_name">red</field>
-     </record>
+     <!-- Sick leave -->
+     <record model="hr.holidays.status" id="holiday_status_sl">
+       <field name="name">Sick Leave</field>
+       <field name="limit">True</field>
+       <field name="color_name">red</field>
+     </record>

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/905227

Title:
  Wrong XML-ID in data of hr_holidays

Status in OpenERP Server:
  New

Bug description:
  the xml-id in hr.holiday.status of legal holidays is the sames as for
  the sick leave.

  Fix: Exchange "holiday_status_sl" of legal-holidays with
  "holiday_status_lh" in file

  hr_holidays_data.xml:12

  <!-- Legal Holidays -->
      <record model="hr.holidays.status" id="holiday_status_lh">
        <field name="name">Legal Holidays</field>
        <field name="color_name">blue</field>
      </record>

      <!-- Sick leave -->
      <record model="hr.holidays.status" id="holiday_status_sl">
        <field name="name">Sick Leave</field>
        <field name="limit">True</field>
        <field name="color_name">red</field>
      </record>

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/905227/+subscriptions


Follow ups

References