コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3758 ビュー

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?

関連投稿 返信 ビュー 活動
2
12月 22
5210
2
12月 22
2606
1
7月 22
3696
1
11月 20
3187
1
8月 20
9054