Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
15453 Lượt xem

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.


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 15
5440
0
thg 5 15
5711
2
thg 8 25
2572
1
thg 7 25
982
1
thg 8 25
1151