migration
|
|
@ -0,0 +1,2 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from . import models
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
{
|
||||
'name': "Custom Document Layout Fonts",
|
||||
'version': '18.0.1.0.0',
|
||||
'category': 'Customizations',
|
||||
'summary': "Add custom fonts to the Base Document Layout in Odoo",
|
||||
'description': """
|
||||
This module adds custom fonts to the base.document.layout model, allowing users to select from new fonts
|
||||
such as Poppins, Roboto, and others for document templates.
|
||||
""",
|
||||
'author': "AHIDev",
|
||||
'website': "http://www.exp-sa.com",
|
||||
'depends': ['base', 'web'],
|
||||
'data': [
|
||||
#'views/webclient.xml',
|
||||
],
|
||||
'assets': {
|
||||
'web.assets_backend': [
|
||||
'exp_base_document_layout_fonts/static/src/scss/fonts.scss',
|
||||
],
|
||||
},
|
||||
'installable': True,
|
||||
'application': False,
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
from . import document_layout
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
from odoo import models, fields
|
||||
|
||||
class ResCompany(models.Model):
|
||||
_inherit = 'res.company'
|
||||
|
||||
# Modify the selection field to include the new font option
|
||||
font = fields.Selection(selection_add=[('DroidNaskh','DroidNaskh'),('DroidKufi', 'DroidKufi'),('Bukra','Bukra')])
|
||||
|
After Width: | Height: | Size: 4.5 KiB |
|
|
@ -0,0 +1,83 @@
|
|||
<section class="oe_container">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h2 class="oe_slogan"
|
||||
style="text-align: center;font-size: 25px;font-weight: 600;margin: 0px !important;color:#145374;">
|
||||
ONE OF ODEX MODULES</h2>
|
||||
<h6 class="oe_slogan" style="text-align: center;font-size: 18px;">
|
||||
ODEX system is over than 200+ modules developed by love of Expert Company, based on ODOO system
|
||||
<br/>
|
||||
.to effectively suite's Saudi and Arabic market needs.It is the first Arabic open source ERP and all-in-one
|
||||
solution
|
||||
</h6>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="oe_container" style="padding: 1% 0% 0% 3%;">
|
||||
<div class="oe_row oe_spaced">
|
||||
<h2 class="oe_slogan"
|
||||
style="text-align: center;font-size: 25px;font-weight: 600;margin: 0px !important;color:#145374;">
|
||||
Contact Us
|
||||
</h2>
|
||||
<br/>
|
||||
<br/>
|
||||
<div style="display:flex;padding-top: 20px;justify-content: space-between;">
|
||||
<div style="flex-basis: 18%;"></div>
|
||||
<div style="flex-basis: 18%;">
|
||||
<div style="width:60px;height:60px;background:#fff; border-radius:100%;margin: auto;">
|
||||
<a href="https://exp-sa.com" target="_blank">
|
||||
<img src="internet.png" style="width: 100%;border-radius: 100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="oe_slogan"
|
||||
style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;">
|
||||
<a href="https://exp-sa.com/" target="_blank">
|
||||
www.exp-sa.com
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div style="flex-basis: 18%;">
|
||||
<div style="width:60px;height:60px;background:#fff; border-radius:100%;margin: auto;">
|
||||
<a href="https://twitter.com/expcosa/" target="_blank">
|
||||
<img src="twitter.png" style="width: 100%;border-radius: 100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="oe_slogan"
|
||||
style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;">
|
||||
<a href="https://twitter.com/expcosa/" target="_blank">
|
||||
exposa
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div style="flex-basis: 18%;">
|
||||
<div style="width:60px;height:60px;background:#fff; border-radius:100%;margin: auto;">
|
||||
<a href="https://www.linkedin.com/in/expert-company-52b5b812b/" target="_blank">
|
||||
<img src="linkedin.png" style="width: 100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="oe_slogan"
|
||||
style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;">
|
||||
<a href="https://www.linkedin.com/in/expert-company-52b5b812b/" target="_blank">
|
||||
exposa
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div style="flex-basis: 18%;">
|
||||
<div style="width:60px;height:60px;background:#fff; border-radius:100%;margin: auto;">
|
||||
<a href="https://erp.exp-sa.com/contactus/" target="_blank">
|
||||
<img src="mail.png" style="width: 100%;"/>
|
||||
</a>
|
||||
</div>
|
||||
<h3 class="oe_slogan"
|
||||
style="font-weight: 800;text-align: center;font-size: 14px;width: 100%;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;">
|
||||
<a href="https://erp.exp-sa.com/contactus/" target="_blank">
|
||||
Info@exp-sa.com
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div style="flex-basis: 18%;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="oe_container oe_separator">
|
||||
</section>
|
||||
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 98 KiB |
|
|
@ -0,0 +1,44 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="120" height="140" viewBox="0 0 120 140">
|
||||
<defs>
|
||||
<linearGradient id="empty_state_file_happy-c" x1="91.284%" x2="25.707%" y1="100%" y2="0%">
|
||||
<stop offset="0%" stop-color="#3E5D7F"/>
|
||||
<stop offset="100%" stop-color="#3E5D7F"/>
|
||||
</linearGradient>
|
||||
<circle id="empty_state_file_happy-b" cx="56" cy="76.614" r="56"/>
|
||||
<filter id="empty_state_file_happy-a" width="112.5%" height="112.5%" x="-6.2%" y="-4.5%" filterUnits="objectBoundingBox">
|
||||
<feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"/>
|
||||
<feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"/>
|
||||
<feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.106063179 0"/>
|
||||
</filter>
|
||||
<path id="empty_state_file_happy-d" d="M56,122.807018 C86.927946,122.807018 112,97.6721263 112,66.6666667 C112,59.6606665 112,37.4384443 112,0 L0,0 C0,23.774138 0,45.9963602 0,66.6666667 C0,97.6721263 25.072054,122.807018 56,122.807018 Z"/>
|
||||
<path id="empty_state_file_happy-f" d="M22,6.01503759 L84.3146067,6.01503759 L100.5,22.556391 L100.5,114.829574 L100.5,114.829574 C100.5,124.218415 92.8888407,131.829574 83.5,131.829574 L31,131.829574 L31,131.829574 C21.6111593,131.829574 14,124.218415 14,114.829574 L14,14.0150376 L14,14.0150376 C14,9.5967596 17.581722,6.01503759 22,6.01503759 Z"/>
|
||||
</defs>
|
||||
<g fill="none" fill-rule="evenodd" transform="translate(4 2)">
|
||||
<use fill="#000" filter="url(#empty_state_file_happy-a)" xlink:href="#empty_state_file_happy-b"/>
|
||||
<use fill="url(#empty_state_file_happy-c)" xlink:href="#empty_state_file_happy-b"/>
|
||||
<g transform="translate(0 10)">
|
||||
<mask id="empty_state_file_happy-e" fill="#fff">
|
||||
<use xlink:href="#empty_state_file_happy-d"/>
|
||||
</mask>
|
||||
<g mask="url(#empty_state_file_happy-e)">
|
||||
<use fill="#FFF" xlink:href="#empty_state_file_happy-f"/>
|
||||
<path stroke="#A1ACBA" stroke-width="2" d="M99.5,22.9642476 L83.8940075,7.01503759 L22,7.01503759 C18.1340068,7.01503759 15,10.1490443 15,14.0150376 L15,114.829574 C15,123.66613 22.163444,130.829574 31,130.829574 L83.5,130.829574 C92.336556,130.829574 99.5,123.66613 99.5,114.829574 L99.5,22.9642476 Z"/>
|
||||
</g>
|
||||
<path stroke="#A1ACBA" stroke-width="2" d="M84.8002454,27.5045043 C87.4060329,25.0223449 91.4154529,21.2660453 91.7879265,20.6269769 C92.0921888,20.1049414 92.2011803,19.5697888 92.2011803,18.5540391 C92.2011803,17.9213416 92.0599129,17.3140076 91.7659798,16.6778758 C91.2745815,15.6143886 90.3683274,14.4694369 88.765383,12.8381982 C88.2386259,12.302143 86.3189539,10.4445628 84.8002454,8.96835098 L84.8002454,27.5045043 Z" mask="url(#empty_state_file_happy-e)" transform="rotate(135 88.5 18.226)"/>
|
||||
<g fill="#000" mask="url(#empty_state_file_happy-e)" opacity=".07">
|
||||
<g transform="translate(23 81)">
|
||||
<rect width="46.716" height="6.214"/>
|
||||
<rect width="68.812" height="6.214" y="8.7"/>
|
||||
<rect width="42.297" height="6.214" y="20.506"/>
|
||||
<rect width="52.398" height="6.214" y="31.07"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<path stroke="#A1ACBA" stroke-linecap="round" stroke-width="2" d="M13 14L4 5M18 9L18 0M1 20L10 20"/>
|
||||
<g transform="translate(28.491 43.21)">
|
||||
<path stroke="#A1ACBA" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.5087719,17.7894737 C28.0087719,26.7894737 44.5087719,17.7894737 44.5087719,17.7894737"/>
|
||||
<circle cx="48.009" cy="5.289" r="3.5" fill="#A1ACBA"/>
|
||||
<circle cx="8.009" cy="5.289" r="3.5" fill="#A1ACBA"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
|
@ -0,0 +1,68 @@
|
|||
@font-face {
|
||||
font-family: "Bukra";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/bukraregular.otf)
|
||||
format("opentype"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/bukralight.ttf)
|
||||
format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Bukra";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/bukrabold.otf)
|
||||
format("opentype"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/bukrabold.ttf)
|
||||
format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "DroidKufi";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/DroidKufi-Regular.eot);
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/DroidKufi-Regular.woff2)
|
||||
format("woff2"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/DroidKufi-Regular.woff)
|
||||
format("woff"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/DroidKufi-Regular.ttf)
|
||||
format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "DroidKufi";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/DroidKufi-Bold.eot);
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/DroidKufi-Bold.woff2)
|
||||
format("woff2"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/DroidKufi-Bold.woff)
|
||||
format("woff"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/DroidKufi-Bold.ttf)
|
||||
format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "DroidNaskh";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/DroidNaskh-Regular.eot);
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/DroidNaskh-Regular.woff2)
|
||||
format("woff2"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/DroidNaskh-Regular.woff)
|
||||
format("woff"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/DroidNaskh-Regular.ttf)
|
||||
format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "DroidNaskh";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/DroidNaskh-Bold.eot);
|
||||
src: url(/exp_base_document_layout_fonts/static/src/fonts/DroidNaskh-Bold.woff2)
|
||||
format("woff2"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/DroidNaskh-Bold.woff)
|
||||
format("woff"),
|
||||
url(/exp_base_document_layout_fonts/static/src/fonts/DroidNaskh-Bold.ttf)
|
||||
format("truetype");
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="custom_report_assets_common" inherit_id="web.report_assets_common">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" type="text/scss" href="/exp_base_document_layout_fonts/static/src/scss/fonts.scss"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
</odoo>
|
||||