Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3762 มุมมอง

Hey i am trying to create records from portal and it works but after sometime it stops working and in the browser console i see missing dependencies error . I think it has something ti do with asset right now i am using this

<template id="adjustment_portal_assets_frontend"
inherit_id="website.assets_frontend" name="Attendance Adjustment Assets">
<xpath
expr="." position="inside">
<script
type="text/javascript"
src="/sg_attendance_adjustment_portal/static/src/js/attendance_adjustment.js"></script>
</xpath>
</template>

What do you guys suggest? create method would need aseet_backend or common or frontend is fine?
Thanks in advance
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hey Abdullah,

       if you need that js for website pages(eg UI) use assets_frontend else aseet_backend

อวตาร
ละทิ้ง
ผู้เขียน

Thanks for replying.

I am trying to create some record from portal to internal erp so i was using asset frontend but that create method stops working after sometime what could be the issue?

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ธ.ค. 22
5213
2
ธ.ค. 22
2620
1
ก.ค. 22
3698
1
พ.ย. 20
3191
Get data from JS file to XML file แก้ไขแล้ว
1
ส.ค. 20
9057