跳至內容
選單
此問題已被標幟
1 回覆
15439 瀏覽次數

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.


頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
10月 15
5426
0
5月 15
5693
2
8月 25
2547
1
7月 25
961
1
8月 25
1151