تحديث ملف assets.xml لتضمين JavaScript لكشف رمز العملة السعودية

This commit is contained in:
Mohamed Eltayar 2025-08-31 22:51:13 +03:00
parent 75ca11657b
commit 0209de60d0
1 changed files with 23 additions and 1 deletions

View File

@ -1,65 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Backend Assets -->
<template id="assets_backend" name="am_assets_backend" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css"
href="/am_sar_symbol/static/src/css/style.css" />
<script type="text/javascript"
src="/am_sar_symbol/static/src/js/sar_symbol.js"></script>
</xpath>
</template>
<!-- Frontend Assets -->
<template id="assets_frontend" name="am_assets_frontend" inherit_id="web.assets_frontend">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css"
href="/am_sar_symbol/static/src/css/style.css" />
<script type="text/javascript"
src="/am_sar_symbol/static/src/js/sar_symbol.js"></script>
</xpath>
</template>
<!-- Common Assets -->
<template id="assets_common" name="am_assets_common" inherit_id="web.assets_common">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css"
href="/am_sar_symbol/static/src/css/style.css" />
<script type="text/javascript"
src="/am_sar_symbol/static/src/js/sar_symbol.js"></script>
</xpath>
</template>
<!-- Report Assets Common -->
<template id="report_assets_common" name="am_report_assets_common"
inherit_id="web.report_assets_common">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css"
href="/am_sar_symbol/static/src/css/style.css" />
<script type="text/javascript"
src="/am_sar_symbol/static/src/js/sar_symbol.js"></script>
</xpath>
</template>
<!-- Report Assets PDF -->
<template id="report_assets_pdf" name="am_report_assets_pdf"
inherit_id="web.report_assets_pdf">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css"
href="/am_sar_symbol/static/src/css/style.css" />
<!-- ملاحظة: JavaScript قد لا يعمل في PDF، لذلك نعتمد على CSS فقط -->
</xpath>
</template>
<!-- Point of Sale Assets -->
<template id="point_of_sale_assets" name="am_point_of_sale_assets"
inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css"
href="/am_sar_symbol/static/src/css/style.css" />
<script type="text/javascript"
src="/am_sar_symbol/static/src/js/sar_symbol.js"></script>
</xpath>
</template>
<!-- QUnit Suite Tests -->
<template id="qunit_suite_tests" name="am_qunit_suite_tests"
inherit_id="web.qunit_suite_tests">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css"
href="/am_sar_symbol/static/src/css/style.css" />
<script type="text/javascript"
src="/am_sar_symbol/static/src/js/sar_symbol.js"></script>
</xpath>
</template>
<!-- Assets Tests -->
<template id="assets_tests" name="am_assets_tests"
inherit_id="web.assets_tests">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css"
href="/am_sar_symbol/static/src/css/style.css" />
<script type="text/javascript"
src="/am_sar_symbol/static/src/js/sar_symbol.js"></script>
</xpath>
</template>
</data>