añadido addon desde la tienda de apps de Odoo. Imal-Tech
50
default_product_image/README.rst
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||||
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||||
|
:alt: License: AGPL-3
|
||||||
|
|
||||||
|
Default product image v16
|
||||||
|
===========================
|
||||||
|
You my have some issue to customize the default image of your products,
|
||||||
|
this module will helpe you to add default image (your logo or custom image) to your products.
|
||||||
|
|
||||||
|
Installation
|
||||||
|
============
|
||||||
|
* Just install the module.
|
||||||
|
|
||||||
|
Configuration
|
||||||
|
=============
|
||||||
|
* Go to Setting
|
||||||
|
* Choose your image in "default image" section
|
||||||
|
* Enjoy the module !
|
||||||
|
|
||||||
|
Company
|
||||||
|
-------
|
||||||
|
* `Imal-Tech <https://imal-tech.com/>`__
|
||||||
|
|
||||||
|
|
||||||
|
Credits
|
||||||
|
-------
|
||||||
|
* Developers:
|
||||||
|
Version 16: Imal-tech team @imaltech
|
||||||
|
|
||||||
|
Contacts
|
||||||
|
--------
|
||||||
|
* Mail Contact : contact@imal-tech.com
|
||||||
|
* Website : https://imal-tech.com
|
||||||
|
|
||||||
|
Bug Tracker
|
||||||
|
-----------
|
||||||
|
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
|
||||||
|
|
||||||
|
Maintainer
|
||||||
|
==========
|
||||||
|
.. image:: https://imal-tech.com/wp-content/uploads/2021/01/imal-tech-logo-.gif
|
||||||
|
:target: https://imal-tech.com
|
||||||
|
|
||||||
|
This module is maintained by Imal-tech.
|
||||||
|
|
||||||
|
For support and more information, please visit `Our Website <https://imal-tech.com/>`__
|
||||||
|
|
||||||
|
Further information
|
||||||
|
===================
|
||||||
|
HTML Description: `<static/description/index.html>`__
|
3
default_product_image/__init__.py
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from . import models
|
22
default_product_image/__manifest__.py
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
{
|
||||||
|
'name': 'Default Product Image',
|
||||||
|
'description': """
|
||||||
|
This module will help you to add default image to products with no images.
|
||||||
|
""",
|
||||||
|
'summary': 'Module to help you add default image to products',
|
||||||
|
'author': 'Imal-Tech',
|
||||||
|
'website': 'https://www.imal-tech.com',
|
||||||
|
'maintainer': 'Imal-Tech',
|
||||||
|
'category': 'Sales',
|
||||||
|
'version': '16.0.1.0.0',
|
||||||
|
'depends': ['base', 'sale_management'],
|
||||||
|
'data': [
|
||||||
|
'views/res_config_views.xml',
|
||||||
|
],
|
||||||
|
'license': 'LGPL-3',
|
||||||
|
'images': ['static/description/banner.gif'],
|
||||||
|
'installable': True,
|
||||||
|
'application': False,
|
||||||
|
'auto_install': False,
|
||||||
|
}
|
49
default_product_image/i18n/fr.po
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * default_product_image
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 16.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2022-11-15 15:43+0000\n"
|
||||||
|
"PO-Revision-Date: 2022-11-15 15:43+0000\n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Plural-Forms: \n"
|
||||||
|
|
||||||
|
#. module: default_product_image
|
||||||
|
#: model_terms:ir.ui.view,arch_db:default_product_image.res_config_settings_view_form_default_image
|
||||||
|
msgid ""
|
||||||
|
"<span class=\"fa fa-lg fa-image\" title=\"Values set here are website-"
|
||||||
|
"specific.\"/>"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. module: default_product_image
|
||||||
|
#: model_terms:ir.ui.view,arch_db:default_product_image.res_config_settings_view_form_default_image
|
||||||
|
msgid "Add the default image to products."
|
||||||
|
msgstr "Ajoutez l'image par défaut aux produits."
|
||||||
|
|
||||||
|
#. module: default_product_image
|
||||||
|
#: model:ir.model,name:default_product_image.model_res_config_settings
|
||||||
|
msgid "Config Settings"
|
||||||
|
msgstr "Paramètres de config"
|
||||||
|
|
||||||
|
#. module: default_product_image
|
||||||
|
#: model:ir.model.fields,field_description:default_product_image.field_res_config_settings__product_default_image
|
||||||
|
#: model_terms:ir.ui.view,arch_db:default_product_image.res_config_settings_view_form_default_image
|
||||||
|
msgid "Default Image"
|
||||||
|
msgstr "Image par défaut"
|
||||||
|
|
||||||
|
#. module: default_product_image
|
||||||
|
#: model_terms:ir.ui.view,arch_db:default_product_image.res_config_settings_view_form_default_image
|
||||||
|
msgid "Default image"
|
||||||
|
msgstr "Image par défaut"
|
||||||
|
|
||||||
|
#. module: default_product_image
|
||||||
|
#: model:ir.model,name:default_product_image.model_product_template
|
||||||
|
msgid "Product"
|
||||||
|
msgstr "Article"
|
4
default_product_image/models/__init__.py
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from . import res_config
|
||||||
|
from . import product_template
|
19
default_product_image/models/product_template.py
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from odoo import models, fields, api, tools
|
||||||
|
|
||||||
|
|
||||||
|
class ProductTemplate(models.Model):
|
||||||
|
""" Inherit Product Template Settings to add default image product from setting """
|
||||||
|
_inherit = "product.template"
|
||||||
|
|
||||||
|
@api.model_create_multi
|
||||||
|
def create(self, vals_list):
|
||||||
|
for val_list in vals_list:
|
||||||
|
if not val_list['image_1920']:
|
||||||
|
product_default_image = self.env['ir.config_parameter'].sudo().get_param(
|
||||||
|
'res.config.settings.product_default_image')
|
||||||
|
if product_default_image:
|
||||||
|
val_list['image_1920'] = product_default_image
|
||||||
|
|
||||||
|
return super(ProductTemplate, self).create(vals_list)
|
24
default_product_image/models/res_config.py
Executable file
|
@ -0,0 +1,24 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
from odoo import models, fields, _, api
|
||||||
|
|
||||||
|
|
||||||
|
class ResConfig(models.TransientModel):
|
||||||
|
""" Inherit Res Config Settings to add default image product field """
|
||||||
|
_inherit = 'res.config.settings'
|
||||||
|
|
||||||
|
product_default_image = fields.Binary(string="Default Image")
|
||||||
|
|
||||||
|
@api.model
|
||||||
|
def get_values(self):
|
||||||
|
res = super(ResConfig, self).get_values()
|
||||||
|
res.update(
|
||||||
|
product_default_image=self.env['ir.config_parameter'].sudo().get_param(
|
||||||
|
'res.config.settings.product_default_image'),
|
||||||
|
)
|
||||||
|
return res
|
||||||
|
|
||||||
|
def set_values(self):
|
||||||
|
super(ResConfig, self).set_values()
|
||||||
|
param = self.env['ir.config_parameter'].sudo()
|
||||||
|
param.set_param('res.config.settings.product_default_image', self.product_default_image)
|
1
default_product_image/security/ir.model.access.csv
Executable file
|
@ -0,0 +1 @@
|
||||||
|
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
|
BIN
default_product_image/static/description/banner.gif
Normal file
After Width: | Height: | Size: 465 KiB |
BIN
default_product_image/static/description/icon.png
Normal file
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 171 KiB |
BIN
default_product_image/static/description/images/agriculture.png
Executable file
After Width: | Height: | Size: 11 KiB |
BIN
default_product_image/static/description/images/e-commerce.png
Executable file
After Width: | Height: | Size: 6.3 KiB |
BIN
default_product_image/static/description/images/e-learning.png
Executable file
After Width: | Height: | Size: 7.3 KiB |
BIN
default_product_image/static/description/images/hotel.png
Executable file
After Width: | Height: | Size: 4.8 KiB |
BIN
default_product_image/static/description/images/logo_imal-tech.png
Executable file
After Width: | Height: | Size: 21 KiB |
BIN
default_product_image/static/description/images/manufacturing.png
Executable file
After Width: | Height: | Size: 6.4 KiB |
BIN
default_product_image/static/description/images/odoo_customization.png
Executable file
After Width: | Height: | Size: 6.7 KiB |
BIN
default_product_image/static/description/images/odoo_implementation.png
Executable file
After Width: | Height: | Size: 6 KiB |
BIN
default_product_image/static/description/images/odoo_integration.png
Executable file
After Width: | Height: | Size: 7.4 KiB |
BIN
default_product_image/static/description/images/odoo_support.png
Executable file
After Width: | Height: | Size: 8.5 KiB |
BIN
default_product_image/static/description/images/pos.png
Executable file
After Width: | Height: | Size: 4.6 KiB |
BIN
default_product_image/static/description/images/restaurant.png
Executable file
After Width: | Height: | Size: 6.8 KiB |
BIN
default_product_image/static/description/images/service_managment.png
Executable file
After Width: | Height: | Size: 7.4 KiB |
432
default_product_image/static/description/index.html
Executable file
|
@ -0,0 +1,432 @@
|
||||||
|
<div class="container" style="padding:1rem !important; margin-bottom:1rem !important">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between"
|
||||||
|
style="border-bottom:1px solid #d5d5d5">
|
||||||
|
<div class="my-3">
|
||||||
|
<a href="https://www.imal-tech.com/" target="_blank"><img
|
||||||
|
src="https://imal-tech.com/wp-content/uploads/2021/01/imal-tech-logo-.gif"
|
||||||
|
style="width:auto !important; height:40px !important"></a>
|
||||||
|
</div>
|
||||||
|
<div class="my-3 d-flex align-items-center">
|
||||||
|
<div style="background-color:#5f5e97 !important; color:#fff !important; font-weight:600 !important; padding:5px 15px 8px !important; margin:0 5px !important">
|
||||||
|
<i class="fa fa-check mr-1"></i>Community
|
||||||
|
</div>
|
||||||
|
<div style="background-color:#875A7B !important; color:#fff !important; font-weight:600 !important; padding:5px 15px 8px !important; margin:0 5px !important">
|
||||||
|
<i class="fa fa-check mr-1"></i>Enterprise
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Explore this module -->
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center"
|
||||||
|
style="text-align: center; padding: 2.5rem 1rem !important;">
|
||||||
|
<h2 style="font-weight: 600;text-align: center;width: 100%; color:#283374;"><i class="fa fa-compass mr-2"></i>Key
|
||||||
|
Explore this module</h2>
|
||||||
|
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #9D3E8F;width: 5%;"/>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<a href="#overview" style="text-decoration:none !important">
|
||||||
|
<div class="row"
|
||||||
|
style="background-color:#f5f2f5 !important; border-radius:10px !important; margin:1rem !important; padding:1.5em !important; height:100px !important">
|
||||||
|
<div class="col-8">
|
||||||
|
<h3 style="font-family:'Montserrat', sans-serif !important; font-weight:600 !important; color:#283374 !important; font-size:1.2rem !important">
|
||||||
|
Overview</h3>
|
||||||
|
<p style="font-family:'Roboto', sans-serif !important; font-weight:400 !important; color:#283374 !important; font-size:0.9rem !important">
|
||||||
|
Learn more about this module</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center">
|
||||||
|
<i class="fa fa-chevron-right" style="color:#283374 !important"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<a href="#features" style="text-decoration:none !important">
|
||||||
|
<div class="row"
|
||||||
|
style="background-color:#f5f2f5 !important; border-radius:10px !important; margin:1rem !important; padding:1.5em !important; height:100px !important">
|
||||||
|
<div class="col-8">
|
||||||
|
<h3 style="font-family:'Montserrat', sans-serif !important; font-weight:600 !important; color:#283374 !important; font-size:1.2rem !important">
|
||||||
|
Features</h3>
|
||||||
|
<p style="font-family:'Roboto', sans-serif !important; font-weight:400 !important; color:#283374 !important; font-size:0.9rem !important">
|
||||||
|
View features of this module</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center">
|
||||||
|
<i class="fa fa-chevron-right" style="color:#283374 !important"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<a href="#screenshots" style="text-decoration:none !important">
|
||||||
|
<div class="row"
|
||||||
|
style="background-color:#f5f2f5 !important; border-radius:10px !important; margin:1rem !important; padding:1.5em !important; height:100px !important">
|
||||||
|
<div class="col-8">
|
||||||
|
<h3 style="font-family:'Montserrat', sans-serif !important; font-weight:600 !important; color:#283374 !important; font-size:1.2rem !important">
|
||||||
|
Screenshots</h3>
|
||||||
|
<p style="font-family:'Roboto', sans-serif !important; font-weight:400 !important; color:#283374 !important; font-size:0.9rem !important">
|
||||||
|
See key screenshots of this module</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center">
|
||||||
|
<i class="fa fa-chevron-right" style="color:#283374 !important"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Overview -->
|
||||||
|
|
||||||
|
<div class="row" id="overview">
|
||||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center"
|
||||||
|
style="text-align: center; padding: 2.5rem 1rem !important;">
|
||||||
|
<h2 style="font-weight: 600;text-align: center;width: 100%; color:#283374;"><i class="fa fa-pie-chart mr-2"></i>Key
|
||||||
|
Overview</h2>
|
||||||
|
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #9D3E8F;width: 5%;"/>
|
||||||
|
</div>
|
||||||
|
<div class="col-mg-12 pl-3">
|
||||||
|
<h3 style="font-size: 18px; margin-top: 8px; position: relative;"> This module will help you to add default image to products with no images.
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Features -->
|
||||||
|
|
||||||
|
<div class="row" id="features">
|
||||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center"
|
||||||
|
style="text-align: center; padding: 2.5rem 1rem !important;">
|
||||||
|
<h2 style="font-weight: 600;text-align: center;width: 100%; color:#283374;"><i class="fa fa-star mr-2"></i>Key
|
||||||
|
Features</h2>
|
||||||
|
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #9D3E8F;width: 5%;"/>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6 pl-3 py-3 d-flex">
|
||||||
|
<div>
|
||||||
|
<i class="fa fa-check-circle-o fa-2x" style="width:40px; color:#9D3E8F"></i>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h4 style="font-family:'Roboto', sans-serif !important; font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
|
||||||
|
Community & Enterprise Support</h4>
|
||||||
|
<p style="font-family:'Roboto', sans-serif !important; font-weight:400 !important; color:#282F33 !important; font-size:1rem !important">
|
||||||
|
Available in Odoo 16.0 Community and Enterprise.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6 pl-3 py-3 d-flex">
|
||||||
|
<div>
|
||||||
|
<i class="fa fa-check-circle-o fa-2x" style="width:40px; color:#9D3E8F"></i>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h4 style="font-family:'Roboto', sans-serif !important; font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
|
||||||
|
Config default product</h4>
|
||||||
|
<p style="font-family:'Roboto', sans-serif !important; font-weight:400 !important; color:#282F33 !important; font-size:1rem !important">
|
||||||
|
Product images will automatically change when you change Default Product Image in the sale configuration page.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Screenshots -->
|
||||||
|
<div class="row" id="screenshots">
|
||||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center"
|
||||||
|
style="text-align: center; padding: 2.5rem 1rem !important;">
|
||||||
|
<h2 style="font-weight: 600;text-align: center;width: 100%; color:#283374;"><i class="fa fa-image mr-2"></i>Key
|
||||||
|
Screenshots</h2>
|
||||||
|
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #9D3E8F;width: 5%;"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-12 my-2">
|
||||||
|
<h4 class="mt-2"
|
||||||
|
style="font-family:'Roboto', sans-serif !important; font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important">
|
||||||
|
Setting</h4>
|
||||||
|
<img src="images/Imal-Tech_default_product_setting.png"
|
||||||
|
class="img-responsive img-thumbnail border" width="100%" height="auto">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- Our Services -->
|
||||||
|
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px">
|
||||||
|
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%; color:#283374;"><i
|
||||||
|
class="fa fa-tasks mr-2"></i>Our
|
||||||
|
Services </h2>
|
||||||
|
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #9D3E8F;width: 5%;">
|
||||||
|
<div class="row" style=" display: flex; justify-content: center; flex-wrap: wrap;width: 100%; ">
|
||||||
|
<div class="col-md-2 col-sm-6 col-xs-12">
|
||||||
|
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a
|
||||||
|
href="#" target="_blank"> <img
|
||||||
|
src="images/odoo_customization.png"
|
||||||
|
style="width: 120%;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="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;">
|
||||||
|
Odoo Customization </a></h3>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-2 col-sm-6 col-xs-12">
|
||||||
|
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a
|
||||||
|
href="#" target="_blank"> <img
|
||||||
|
src="images/odoo_implementation.png"
|
||||||
|
style="width: 120%;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="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;">
|
||||||
|
Odoo Implementation </a></h3>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-2 col-sm-6 col-xs-12">
|
||||||
|
<div style="width:75px;height:75px;background:#fff; border-radius:100%;margin: auto;"><a
|
||||||
|
href="#" target="_blank"> <img
|
||||||
|
src="images/odoo_support.png"
|
||||||
|
style="width: 120%;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="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;">
|
||||||
|
Odoo Support </a></h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<!-- Our Industries -->
|
||||||
|
<section class="row" style="padding: 2rem 3rem 1rem;margin:0px">
|
||||||
|
<div class="row" style="margin: 0">
|
||||||
|
<h2 style="font-weight: 600;margin-bottom: 20px;text-align: center;width: 100%; color:#283374;"><i
|
||||||
|
class="fa fa-cogs mr-2"></i>Our
|
||||||
|
Industries</h2>
|
||||||
|
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #9D3E8F;width: 5%;">
|
||||||
|
<!-- <div style="display:flex;justify-content: space-between;flex-wrap:wrap;"> -->
|
||||||
|
<div class="row" style="width: 100%">
|
||||||
|
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
|
||||||
|
<div>
|
||||||
|
<div style="width:75px;height:75px;background:#9D3E8F; border-radius:100%;float: left;text-align: left;">
|
||||||
|
<a href="#" target="_blank"> <img
|
||||||
|
src="images/service_managment.png"
|
||||||
|
alt="Service Management"
|
||||||
|
style=" border-radius: 100%;width:100%;"/> </a></div>
|
||||||
|
</div>
|
||||||
|
<div style="width:70%;float:left;">
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||||
|
<a href="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;">
|
||||||
|
Service Management </a></h3>
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;">
|
||||||
|
Keep track of services and invoice accordingly. </h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
|
||||||
|
<div>
|
||||||
|
<div style="width:75px;height:75px;background:#9D3E8F; border-radius:100%;float: left;text-align: left;">
|
||||||
|
<a href="#"
|
||||||
|
target="_blank"> <img
|
||||||
|
src="images/hotel.png"
|
||||||
|
alt="Odoo Industry" style=" border-radius: 100%;width:100%;"/>
|
||||||
|
</a></div>
|
||||||
|
</div>
|
||||||
|
<div style="width:70%;float:left;" style=" margin-bottom: 10px; ">
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||||
|
<a href="#"
|
||||||
|
target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;">
|
||||||
|
Hotel Management</a></h3>
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;">
|
||||||
|
An all-inclusive hotel management application. </h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
|
||||||
|
<div>
|
||||||
|
<div style="width:75px;height:75px;background:#9D3E8F; border-radius:100%;float: left;text-align: left;">
|
||||||
|
<a href="#" target="_blank">
|
||||||
|
<img src="images/manufacturing.png"
|
||||||
|
alt="Odoo Manufacturing"
|
||||||
|
style=" border-radius: 100%;width:100%;"/> </a></div>
|
||||||
|
</div>
|
||||||
|
<div style="width:70%;float:left;">
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||||
|
<a href="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;">
|
||||||
|
Manufacturing</a></h3>
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;">
|
||||||
|
Plan, track and schedule your operations. </h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
|
||||||
|
<div>
|
||||||
|
<div style="width:75px;height:75px;background:#9D3E8F; border-radius:100%;float: left;text-align: left;">
|
||||||
|
<a href="#" target="_blank"> <img
|
||||||
|
src="images/restaurant.png"
|
||||||
|
alt="Odoo Restaurant"
|
||||||
|
style=" border-radius: 100%;width:100%;"/> </a></div>
|
||||||
|
</div>
|
||||||
|
<div style="width:70%;float:left;">
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||||
|
<a href="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none;font-family: 'Montserrat',sans-serif;">
|
||||||
|
Restaurant</a></h3>
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px;font-family: 'Montserrat',sans-serif;">
|
||||||
|
Run your bar or restaurant methodical. </h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
|
||||||
|
<div>
|
||||||
|
<div style="width:75px;height:75px;background:#9D3E8F; border-radius:100%;float: left;text-align: left;">
|
||||||
|
<a href="#" target="_blank"> <img
|
||||||
|
src="images/pos.png"
|
||||||
|
alt="Odoo POS"
|
||||||
|
style=" border-radius: 100%;width:100%;"/> </a></div>
|
||||||
|
</div>
|
||||||
|
<div style="width:70%;float:left;">
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 0px;margin-left: 16px;">
|
||||||
|
<a href="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;">
|
||||||
|
POS</a></h3>
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;">
|
||||||
|
Mobile friendly, awe-inspiring product pages. </h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
|
||||||
|
<div>
|
||||||
|
<div style="width:75px;height:75px;background:#9D3E8F; border-radius:100%;float: left;text-align: left;">
|
||||||
|
<a href="#" target="_blank">
|
||||||
|
<img src="images/e-commerce.png"
|
||||||
|
alt="Odoo E-commerce"
|
||||||
|
style=" border-radius: 100%;width:100%;"/> </a></div>
|
||||||
|
</div>
|
||||||
|
<div style="width:70%;float:left;">
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||||
|
<a href="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;">
|
||||||
|
E-commerce & Website</a></h3>
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;">
|
||||||
|
An all-inclusive hotel management application. </h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
|
||||||
|
<div>
|
||||||
|
<div style="width:75px;height:75px;background:#9D3E8F; border-radius:100%;float: left;text-align: left;">
|
||||||
|
<a href="#" target="_blank">
|
||||||
|
<img src="images/agriculture.png"
|
||||||
|
alt="Odoo Agriculture"
|
||||||
|
style=" border-radius: 100%;width:100%;"/> </a></div>
|
||||||
|
</div>
|
||||||
|
<div style="width:70%;float:left;">
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||||
|
<a href="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;">
|
||||||
|
Agriculture management</a></h3>
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;">
|
||||||
|
Run efficiently your agriculture's products & farms </h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4 col-sm-6 col-xs-12" style=" margin-bottom: 10px; ">
|
||||||
|
<div>
|
||||||
|
<div style="width:75px;height:75px;background:#9D3E8F; border-radius:100%;float: left;text-align: left;">
|
||||||
|
<a href="#" target="_blank"> <img
|
||||||
|
src="images/e-learning.png"
|
||||||
|
alt="Odoo Education"
|
||||||
|
style=" border-radius: 100%;width:100%;"/> </a></div>
|
||||||
|
</div>
|
||||||
|
<div style="width:70%;float:left;">
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 14px;font-weight:800;width: auto;margin: 0;margin-top: 14px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 4px;margin-left: 16px;">
|
||||||
|
<a href="#" target="_blank"
|
||||||
|
style="list-style: none; color:#000; text-decoration: none; font-family: 'Montserrat',sans-serif;">
|
||||||
|
Education</a></h3>
|
||||||
|
<h3 class="oe_slogan"
|
||||||
|
style=" text-align: left;font-size: 12px;width: auto;margin: 0;margin-top:5px;color: #000 !important;margin-top: 5px;opacity: 1 !important;line-height: 17px;float: left;margin-top: 5px;margin-left: 16px; font-family: 'Montserrat',sans-serif;">
|
||||||
|
A Collaborative platform for educational management. </h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
<section class="oe_container">
|
||||||
|
<center>
|
||||||
|
<div class="col-md-12" style="margin: auto !important;
|
||||||
|
width: 70%;
|
||||||
|
padding: 30px;">
|
||||||
|
<h2 style="font-weight: 600;text-align: center;width: 100%; color:#283374; color:#283374;"><i
|
||||||
|
class="fa fa-headphones mr-2"></i>Need Any
|
||||||
|
Help? </h2>
|
||||||
|
<hr style="margin-top: 0px;margin-bottom: 2%;border: 0;text-align: center;border-top: 3px solid #9D3E8F;width: 5%;">
|
||||||
|
<h4 style="font-size:16px;"> If you have anything to share with us based on your use of this module, please
|
||||||
|
let us know. We are ready to offer our support. </h4>
|
||||||
|
</div>
|
||||||
|
</center>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Contact us -->
|
||||||
|
<div class="row d-flex justify-content-center align-items-center" style="max-width:1540px; margin:0 auto">
|
||||||
|
<div class="col-lg-3 shadow mt-2"
|
||||||
|
style="padding:5rem 2rem 2rem; border-radius:10px; margin-right:3rem; border-top:7px solid #9D3E8F; height:300px">
|
||||||
|
<h5 class="font-weight-bold" style="font-family:Roboto, 'sans-serif'">Visit us</h5>
|
||||||
|
<p class="mb-4" style="color:#808e9b; font-size:0.9rem">Visit our website for more
|
||||||
|
information.</p>
|
||||||
|
<a href="https://www.imal-tech.com/" target="_blank">
|
||||||
|
<span href="https://imal-tech.com" target="_blank" class="btn btn-block mb-2 deep_hover"
|
||||||
|
style="text-decoration:none; background-color:#9D3E8F; color:#FFF; border-radius:4px">www.imal-tech.com</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-3 shadow mt-2"
|
||||||
|
style="padding:5rem 2rem 2rem; border-radius:10px; margin-right:3rem; border-top:7px solid #283374; height:330px">
|
||||||
|
<h5 class="font-weight-bold" style="font-family:Roboto, 'sans-serif'">Write to us</h5>
|
||||||
|
<p class="mb-4" style="color:#808e9b; font-size:0.9rem">Do you have any queries regarding our
|
||||||
|
products & services? Let us know.</p>
|
||||||
|
<a href="mailto:contact@imal-tech.com" target="_blank" class="btn btn-block mb-2 deep_hover"
|
||||||
|
style="text-decoration:none; background-color:#283374; color:#FFF; border-radius:4px">contact@imal-tech.com</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-3 shadow mt-2"
|
||||||
|
style="padding:5rem 2rem 2rem; border-radius:10px; margin-right:3rem; border-top:7px solid #9D3E8F; height:300px">
|
||||||
|
<h5 class="font-weight-bold" style="font-family:Roboto, 'sans-serif'">Follow Us</h5>
|
||||||
|
<p class="mb-4" style="color:#808e9b; font-size:0.9rem">Follow us on social media for latest
|
||||||
|
updates.</p>
|
||||||
|
<section class="oe_container" style="padding: 0% 0% 6% 0%;">
|
||||||
|
<div class="oe_slogan" style="margin-bottom: 0px;">
|
||||||
|
<div style=" display: flex; justify-content: center; flex-wrap: wrap; ">
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div style=" display: flex; justify-content: center; flex-wrap: wrap; ">
|
||||||
|
<a href="https://www.linkedin.com/company/imal-tech" target="_blank"><i class="fa fa-2x fa-linkedin"
|
||||||
|
style="color:white;background: #0a66c2;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a>
|
||||||
|
</td>
|
||||||
|
<a href="https://www.facebook.com/IMAL-TECH-111415158048241" target="_blank"><i
|
||||||
|
class="fa fa-2x fa-facebook"
|
||||||
|
style="color:white;background: #3b5998;width:35px; height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a>
|
||||||
|
</td>
|
||||||
|
<a href="https://www.youtube.com/channel/UC6CVulVEhO32fh5Jf-jHlFg" target="_blank"><i
|
||||||
|
class="fa fa-2x fa-youtube"
|
||||||
|
style="color:white;background: #ac0f18;width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a>
|
||||||
|
</td>
|
||||||
|
<a href="https://www.instagram.com/imal_tech" target="_blank"><i
|
||||||
|
class="fa fa-2x fa-instagram"
|
||||||
|
style="color:white;background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);width:35px;height: 35px;padding-top: 7px;font-size: 21px;margin-right: 6px;border-radius: 100%;"></i></a>
|
||||||
|
</td>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
<a href="https://www.imal-tech.com/" target="_blank"><img
|
||||||
|
src="https://imal-tech.com/wp-content/uploads/2021/01/imal-tech-logo-.gif"
|
||||||
|
style="width: 190px; margin-bottom: 25px;margin-top: 30px;" class="center-block"></a>
|
||||||
|
|
||||||
|
<!-- End of Contact Cards -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
<br/>
|
27
default_product_image/views/res_config_views.xml
Executable file
|
@ -0,0 +1,27 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<data>
|
||||||
|
<!-- Res Config settings form inherit -->
|
||||||
|
<record id="res_config_settings_view_form_default_image" model="ir.ui.view">
|
||||||
|
<field name="name">res.config.settings.view.form.inherit.sale.frequent</field>
|
||||||
|
<field name="model">res.config.settings</field>
|
||||||
|
<field name="priority" eval="10"/>
|
||||||
|
<field name="inherit_id" ref="sale.res_config_settings_view_form"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//div[@data-key='sale_management']" position="inside">
|
||||||
|
<h2>Default image</h2>
|
||||||
|
<div class="row mt16 o_settings_container">
|
||||||
|
<div class="col-12 col-lg-6 o_setting_box" id="variant_options">
|
||||||
|
<label string="Default Image" for="product_default_image"/>
|
||||||
|
<span class="fa fa-lg fa-image" title="Values set here are website-specific."/>
|
||||||
|
<div class="text-muted">
|
||||||
|
Add the default image to products.
|
||||||
|
</div>
|
||||||
|
<field name="product_default_image" type="base64" widget="image" class="oe_avatar"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</xpath>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</odoo>
|