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

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

Hey Abdullah,

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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?

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 22
5205
2
thg 12 22
2604
1
thg 7 22
3681
1
thg 11 20
3179
1
thg 8 20
9048