Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting an External id not find while inheriting the template from hr_attendance to custom module #2

Open
mady143 opened this issue Jul 22, 2019 · 1 comment

Comments

@mady143
Copy link
Owner

mady143 commented Jul 22, 2019

ERROR:"External ID not found in the system: hr_attendance.HrAttendanceKioskMode" while parsing None:15, near

<t t-name="HrAttendanceKioskMode">
    <div class="o_hr_attendance_kiosk_mode_container o_app_switcher_background">
        <div class="o_hr_attendance_kiosk_mode">
            <h1>Welcome to <t t-esc="widget.company_name"/></h1>
            <img t-attf-src="{{widget.company_image_url}}" alt="Company Logo"/>
            <h2>Scan your badge</h2>
            <h4>or</h4>
            <button class="o_hr_attendance_button_employees btn btn-primary btn-lg">Select Employee</button>
        </div>
        <div class="o_hr_attendance_clock"></div>
    </div>
</t>

This is the Main Code to change from custom module that i want to remove h2 and h4 tags for that i am inherting the template in custom module view folder

Welcome to

Company Logo

HIIIIIIIIIIIII

or

Select Employee

please help me in this

Thanks in Advance...
Happy codding....

@mady143 mady143 transferred this issue from mady143/Odoo-11 Jul 22, 2019
@douglas-tabut
Copy link

The <t tag should have something like this

<t t-inherit="hr_attendance.HrAttendanceKioskMode" t-inherit-mode="extension">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants