hr_holidays/hr_holidays_data.xml adding record of 'hr.holidays.status' errors

Bug #660472 reported by Jacara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Dhruti Shastri(OpenERP)

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.

Changed in openobject-addons:
assignee: nobody → DHS(OpenERP) (dhs-openerp)
Revision history for this message
Dhruti Shastri(OpenERP) (dhs-openerp) wrote :

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.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Jacara,

I have been trying to face this error, but unable to meet the circumstances.
Provide more in formation again if you still meet to it.
Thanks.

Changed in openobject-addons:
status: New → Invalid
milestone: none → 6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.