Odoo Help

Welcome!

This community 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.

1

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

By
Drees Far
on 1/19/16, 2:50 PM 1,397 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)

--Ankit H Gandhi(AHG)--
996
| 5 3 6
Rajkot, India
--Ankit H Gandhi(AHG)--

Learning Python..

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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