Hr_Payroll Cannot be installed: Assertion Error and Validate Error

Bug #600966 reported by mm alam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

I downloaded the latest Hr_payroll module from Object Extra Add on.

When I try to install, it give me the following error messages:

Error No 1:

AssertionError: The report "report.payslip.pdf" already exist!

I fixed it by changing all the names in the report folder, in the following statement:

report_sxw.report_sxw('report.payslips.pdf', 'hr.payslip', 'hr_payroll/report/payslip.rml', parser=payslip_report)

Then, when I try to install the module, I am faced with the following error:

validate error Error occurred while validating the field(s) res_model,src_model: Invalid model name in the action definition.\
No LSB modules are available.
[2010-07-02 14:00:06,908] ERROR:init:[01]:
[2010-07-02 14:00:06,911] ERROR:init:[02]: Environment Information :
[2010-07-02 14:00:06,912] ERROR:init:[03]: System : Linux-2.6.31-21-generic-i686-with-Ubuntu-9.10-karmic
[2010-07-02 14:00:06,912] ERROR:init:[04]: OS Name : posix
[2010-07-02 14:00:06,913] ERROR:init:[05]: Distributor ID: Ubuntu
[2010-07-02 14:00:06,913] ERROR:init:[06]: Description: Ubuntu 9.10
[2010-07-02 14:00:06,914] ERROR:init:[07]: Release: 9.10
[2010-07-02 14:00:06,914] ERROR:init:[08]: Codename: karmic
[2010-07-02 14:00:06,915] ERROR:init:[09]: Operating System Release : 2.6.31-21-generic
[2010-07-02 14:00:06,916] ERROR:init:[10]: Operating System Version : #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010
[2010-07-02 14:00:06,916] ERROR:init:[11]: Operating System Architecture : 32bit
[2010-07-02 14:00:06,916] ERROR:init:[12]: Operating System Locale : en_US.UTF8
[2010-07-02 14:00:06,917] ERROR:init:[13]: Python Version : 2.6.4
[2010-07-02 14:00:06,917] ERROR:init:[14]: OpenERP-Server Version : 5.0.9
[2010-07-02 14:00:06,918] ERROR:init:[15]: Last revision No. & ID :
[2010-07-02 14:00:06,918] ERROR:init:[16]: <record id="action_view_hr_employee_grade_form" model="ir.actions.act_window">
[2010-07-02 14:00:06,918] ERROR:init:[17]: <field name="name">Employee Functions</field>
[2010-07-02 14:00:06,919] ERROR:init:[18]: <field name="res_model">hr.employee.grade</field>
[2010-07-02 14:00:06,919] ERROR:init:[19]: <field name="view_type">form</field>
[2010-07-02 14:00:06,920] ERROR:init:[20]: <field name="view_id" ref="view_hr_employee_grade_tree"/>
[2010-07-02 14:00:06,920] ERROR:init:[21]: </record>

I have seen the view file and it is correct according to my knowledge,

Is there is some problem in the hr_payroll module?

I have also dropped and created a new database as it is suggested in few posts regarding validateError, but no vail.

please help.

Revision history for this message
Dhruti Shastri(OpenERP) (dhs-openerp) wrote :

Hello Masoom Alam,

I have checked the module and installed in latest trunk.

There is no such error. Module has been improved for trunk version and made compatible to it.

Thanks.

Changed in openobject-addons:
status: New → Invalid
Changed in openobject-addons:
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.