İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
15393 Görünümler

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.


Avatar
Vazgeç
En İyi Yanıt

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.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eki 15
5322
0
May 15
5598
2
Ağu 25
2304
1
Tem 25
827
1
Ağu 25
1150