Odoo Help

1

ODOO: ValueError: External ID not found in the system: hr_payroll.payslip_pdf

By
Drees Far
on 1/19/16, 2:50 PM 2,413 views

Hello everybody!!!

Please, i have  created a new and here is my xml file:

<report auto="False"

id="payslip_report"

model="hr.payslip"

name="hr_payroll.payslip_pdf"

webkit_header="sarilam_payroll_base.payroll_report"

file="seetek_payroll/report/report_payslip.rml"

string="Bulletin de paie avec couleur"

usage="default" />

the problem is that when i click on print i have got this error.

  File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 950, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % (xmlid))
ValueError: External ID not found in the system: hr_payroll.payslip_pdf

Can anyone help plz.


0
Ankit H Gandhi(AHG)
On 1/20/16, 1:29 AM

Dear Drees Far,


Please check the __openerp__.py file

You should define the module name in 'depends' key

'depends': ['hr_payroll']

Best Regards,

Ankit H Gandhi.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/19/16, 2:50 PM
Seen: 2413 times
Last updated: 3/3/16, 4:02 PM