c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #00180
[Bug 660472] [NEW] hr_holidays/hr_holidays_data.xml adding record of 'hr.holidays.status' errors
Public bug reported:
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.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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.
Follow ups
References