← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 660472] Re: hr_holidays/hr_holidays_data.xml adding record of 'hr.holidays.status' errors

 

Hello Jacara ,

I installed the hr_holidays but error does not come up at our end.

Will you please update the code and check?

Please notify us if error continues with updated code.

Thanks.

-- 
hr_holidays/hr_holidays_data.xml adding record of 'hr.holidays.status' errors
https://bugs.launchpad.net/bugs/660472
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP OpenObject.

Status in OpenObject Addons Modules: New

Bug description:
When install hr_holidays then null value in not null constraint error occured.

<record model="hr.holidays.status" id="holiday_status_cl">
      <field name="name">Casual Leave</field>
      <field name="double_validation">True</field>
      <field name="color_name">black</field>
</record>

If I add this line and depending hr_payroll module

<record model="hr.holidays.status" id="holiday_status_cl">
      <field name="name">Casual Leave</field>
      <field name="double_validation">True</field>
      <field name="color_name">black</field>
      <field name="head_id" ref="hr_payroll.CA"/>
</record>

then module has been installed normally.





References