| @ -0,0 +1,45 @@ | |||
| .. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg | |||
|     :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html | |||
|     :alt: License: AGPL-3 | |||
| 
 | |||
| Sale Order Multiple Pricelist | |||
| ------------------------------- | |||
| * Multiple pricelists can be applied  to the same sale order | |||
| 
 | |||
| Configuration | |||
| ------------- | |||
| - Need to turn on the option "Multiple Pricelist per Order" from the Sale Order configuration | |||
| 
 | |||
| License | |||
| ------- | |||
| Affero General Public License, Version 3 (AGPL v3). | |||
| (https://www.odoo.com/documentation/user/15.0/legal/licenses/licenses.html) | |||
| 
 | |||
| Company | |||
| ------- | |||
| * `Cybrosys Techno Solutions <https://cybrosys.com/>`__ | |||
| 
 | |||
| Credits | |||
| ------- | |||
| * Developer:    (V15) Raveena , | |||
|                 (V15) Anjana P V, | |||
| Contact: odoo@cybrosys.com | |||
| 
 | |||
| Contacts | |||
| -------- | |||
| * Mail Contact : odoo@cybrosys.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://cybrosys.com/images/logo.png | |||
|    :target: https://cybrosys.com | |||
| This module is maintained by Cybrosys Technologies. | |||
| For support and more information, please visit https://www.cybrosys.com | |||
| 
 | |||
| Further information | |||
| =================== | |||
| HTML Description: `<static/description/index.html>`__ | |||
| @ -0,0 +1,23 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Raveena V (odoo@cybrosys.com) | |||
| # | |||
| #    You can modify it under the terms of the GNU AFFERO | |||
| #    GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | |||
| # | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | |||
| #    (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################# | |||
| from . import models | |||
| from . import wizards | |||
| @ -0,0 +1,45 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Raveena V (odoo@cybrosys.com) | |||
| # | |||
| #    You can modify it under the terms of the GNU AFFERO | |||
| #    GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | |||
| # | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | |||
| #    (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################# | |||
| { | |||
|     'name': "Sale Order Multiple Pricelist", | |||
|     'version': '15.0.1.0.0', | |||
|     'category': 'Sales', | |||
|     'summary': 'Multiple price lists can be applied  to the same sale order', | |||
|     'description': """User can apply different price lists for ech order lines  | |||
|     of the same Sale Order.""", | |||
|     'author': 'Cybrosys Techno Solutions', | |||
|     'company': 'Cybrosys Techno Solutions', | |||
|     'maintainer': 'Cybrosys Techno Solutions', | |||
|     'depends': ['sale_management'], | |||
|     'website': 'https://www.cybrosys.com', | |||
|     'data': [ | |||
|         'security/ir.model.access.csv', | |||
|         'views/sale_order_views.xml', | |||
|         'views/res_config_settings_views.xml', | |||
|         'wizards/pricelist_wizard_views.xml' | |||
|     ], | |||
|     'images': ['static/description/banner.png'], | |||
|     'license': 'AGPL-3', | |||
|     'installable': True, | |||
|     'auto_install': False, | |||
|     'application': False, | |||
| } | |||
| @ -0,0 +1,5 @@ | |||
| ## Module <multi_pricelist> | |||
| ### 20.04.2024 | |||
| ### Version 15.0.1.0.0 | |||
| #### ADD | |||
| - Initial Commit for Sale Order Multiple Pricelist | |||
| @ -0,0 +1,23 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Raveena V (odoo@cybrosys.com) | |||
| # | |||
| #    You can modify it under the terms of the GNU AFFERO | |||
| #    GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | |||
| # | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | |||
| #    (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################# | |||
| from . import res_config_settings | |||
| from . import sale_order_line | |||
| @ -0,0 +1,50 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Raveena V (odoo@cybrosys.com) | |||
| # | |||
| #    You can modify it under the terms of the GNU AFFERO | |||
| #    GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | |||
| # | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | |||
| #    (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################# | |||
| from odoo import api, fields, models | |||
| 
 | |||
| 
 | |||
| class ResConfigSettings(models.TransientModel): | |||
|     """This class inherits res config settings model to add the settings | |||
|     for multiple price lists""" | |||
|     _inherit = 'res.config.settings' | |||
| 
 | |||
|     multi_pricelist = fields.Boolean(string="Order", help="Multiple price lists" | |||
|                                             "for the same sale order") | |||
| 
 | |||
|     @api.model | |||
|     def get_values(self): | |||
|         """Supering the get_values method to get multi_price list field.""" | |||
|         res = super(ResConfigSettings, self).get_values() | |||
|         multi_pricelist = self.env[ | |||
|             'ir.config_parameter'].sudo().get_param( | |||
|             'multi_pricelist.multi_pricelist') | |||
|         res.update( | |||
|             multi_pricelist=multi_pricelist, | |||
|         ) | |||
|         return res | |||
| 
 | |||
|     def set_values(self): | |||
|         """Supering the set_values method to set multi_price list field.""" | |||
|         super(ResConfigSettings, self).set_values() | |||
|         param = self.env['ir.config_parameter'].sudo() | |||
|         param.set_param('multi_pricelist.multi_pricelist', | |||
|                         self.multi_pricelist) | |||
| @ -0,0 +1,207 @@ | |||
| # -*- coding: utf-8 -*- | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Raveena V (odoo@cybrosys.com) | |||
| # | |||
| #    You can modify it under the terms of the GNU AFFERO | |||
| #    GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | |||
| # | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | |||
| #    (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################# | |||
| from datetime import datetime | |||
| from odoo import fields, models, _ | |||
| from odoo.exceptions import UserError | |||
| 
 | |||
| 
 | |||
| class SaleOrderLine(models.Model): | |||
|     """Inherits Sale order line to add the functions for checking the | |||
|     visibility of the pricelists in order lines and also apply the | |||
|     pricelist to order lines""" | |||
|     _inherit = 'sale.order.line' | |||
| 
 | |||
|     pricelist_visibility = fields.Boolean( | |||
|         compute="_compute_pricelist_visibility", string="Pricelist Visible", | |||
|         help="Multi Pricelist enabled or not") | |||
|     applied_pricelist_id = fields.Many2one('product.pricelist', | |||
|                                            string="PriceList", | |||
|                                            help="Price lists that is applied to" | |||
|                                                 "the order line.") | |||
| 
 | |||
|     def _get_display_price(self, product): | |||
|         """Overwrite the function to set the unit price according to the | |||
|         applied pricelist from the orderline and the UoM""" | |||
|         # TO DO: move me in master/saas-16 on sale.order | |||
|         # awa: don't know if it's still the case since we need the | |||
|         # "product_no_variant_attribute_value_ids" field now | |||
|         # to be able to compute the full price | |||
|         # it is possible that a no_variant attribute is still in a variant if | |||
|         # the type of the attribute has been changed after creation. | |||
|         no_variant_attributes_price_extra = [ | |||
|             ptav.price_extra for ptav in | |||
|             self.product_no_variant_attribute_value_ids.filtered( | |||
|                 lambda ptav: | |||
|                 ptav.price_extra and | |||
|                 ptav not in product.product_template_attribute_value_ids | |||
|             ) | |||
|         ] | |||
|         if no_variant_attributes_price_extra: | |||
|             product = product.with_context( | |||
|                 no_variant_attributes_price_extra=tuple( | |||
|                     no_variant_attributes_price_extra) | |||
|             ) | |||
|         if self.order_id.pricelist_id.discount_policy == 'with_discount': | |||
|             if self.applied_pricelist_id: | |||
|                 return product.with_context( | |||
|                     pricelist=self.applied_pricelist_id.id, uom=self.product_uom.id, | |||
|                     quantity=self.product_uom_qty | |||
|                     ).price | |||
|             else: | |||
|                 return product.with_context( | |||
|                     pricelist=self.order_id.pricelist_id.id, | |||
|                     uom=self.product_uom.id).price | |||
|         product_context = dict(self.env.context, | |||
|                                partner_id=self.order_id.partner_id.id, | |||
|                                date=self.order_id.date_order, | |||
|                                uom=self.product_uom.id) | |||
|         final_price, rule_id = self.order_id.pricelist_id.with_context( | |||
|             product_context).get_product_price_rule(product or self.product_id, | |||
|                                                     self.product_uom_qty or 1.0, | |||
|                                                     self.order_id.partner_id) | |||
|         base_price, currency = self.with_context( | |||
|             product_context)._get_real_price_currency(product, rule_id, | |||
|                                                       self.product_uom_qty, | |||
|                                                       self.product_uom, | |||
|                                                       self.order_id.pricelist_id.id) | |||
|         if currency != self.order_id.pricelist_id.currency_id: | |||
|             base_price = currency._convert( | |||
|                 base_price, self.order_id.pricelist_id.currency_id, | |||
|                 self.order_id.company_id or self.env.company, | |||
|                 self.order_id.date_order or fields.Date.today()) | |||
|         # negative discounts (= surcharge) are included in the display price | |||
|         return max(base_price, final_price) | |||
| 
 | |||
|     def apply_pricelist(self): | |||
|         """This function will help to select all the pricelists | |||
|         for a product in order line and apply it""" | |||
|         for rec in self: | |||
|             date_time_today = datetime.today().strftime("%Y-%m-%d %H:%M:%S") | |||
|             # find the matching price list for a product | |||
|             price_ids = self.env['product.pricelist.item'].search( | |||
|                 ['|', '|', ('product_tmpl_id', '=', False), | |||
|                  ('categ_id', '=', rec.product_id.categ_id.id), | |||
|                  ('product_tmpl_id', '=', rec.product_id.product_tmpl_id.id), | |||
|                  ('min_quantity', '<=', rec.product_uom_qty),'|', | |||
|                  ('date_start', '<=', date_time_today), | |||
|                  ('date_start', '=', False), '|', | |||
|                  ('date_end', '>=', date_time_today), | |||
|                  ('date_end', '=', False), | |||
|                  ]) | |||
|             variant_ids = self.env['product.pricelist.item'].search( | |||
|                 [ | |||
|                     ('product_id', '=', rec.product_id.id), | |||
|                     ('min_quantity', '<=', rec.product_uom_qty), | |||
|                     '|', ('date_start', '<=', date_time_today), | |||
|                     ('date_start', '=', False), '|', | |||
|                     ('date_end', '>=', date_time_today), | |||
|                     ('date_end', '=', False), | |||
|                 ]) | |||
|             combined_ids = price_ids + variant_ids | |||
|             if combined_ids: | |||
|                 pricelist_wizard = self.env['pricelist.wizard'].create({ | |||
|                     'order_line_id': rec.id, | |||
|                     'line_ids': [(0, 0, { | |||
|                         'pricelist_id': price.pricelist_id.id, | |||
|                         'product_id': rec.product_id.id, | |||
|                         'unit_price': self.unit_price(price), | |||
|                         'unit_cost': rec.product_id.standard_price, | |||
|                         'uom_id': rec.product_id.uom_id.id | |||
|                     }) for price in combined_ids], | |||
|                 }) | |||
|             else: | |||
|                 raise UserError(_( | |||
|                     "No price list is configured for this product!")) | |||
|         return { | |||
|             'type': 'ir.actions.act_window', | |||
|             'target': 'new', | |||
|             'name': 'Select Pricelist', | |||
|             'view_mode': 'form', | |||
|             'view_id': self.env.ref( | |||
|                 "multi_pricelist.pricelist_wizard_view_form", False).id, | |||
|             'res_model': 'pricelist.wizard', | |||
|             'res_id': pricelist_wizard.id, | |||
|         } | |||
| 
 | |||
|     def _compute_pricelist_visibility(self): | |||
|         """ Computes pricelist_visibility by checking the config parameter.""" | |||
|         for rec in self: | |||
|             rec.pricelist_visibility = self.env[ | |||
|                 'ir.config_parameter'].sudo().get_param( | |||
|                 'multi_pricelist.multi_pricelist') | |||
|             if rec.order_id.state in ['sale', 'done', 'cancel']: | |||
|                 rec.pricelist_visibility = False | |||
| 
 | |||
|     def unit_price(self, price): | |||
|         """Compute the unit price of the product according to the | |||
|         price_list_item""" | |||
|         if price.compute_price == 'fixed': | |||
|             unt_price = price.fixed_price | |||
|         elif price.compute_price == 'percentage' and price.percent_price != 0: | |||
|             unt_price = self.product_id.list_price * ( | |||
|                     1 - price.percent_price / 100) | |||
|         elif price.compute_price == 'formula' and price.base == 'list_price': | |||
|             unt_price = (self.product_id.list_price * ( | |||
|                     1 - price.price_discount / 100) + price.price_surcharge) | |||
|             if price.price_min_margin or price.price_max_margin: | |||
|                 if (unt_price < price.price_min_margin + | |||
|                         self.product_id.list_price): | |||
|                     unt_price = (price.price_min_margin + | |||
|                                  self.product_id.list_price) | |||
|                 elif (unt_price > price.price_max_margin + | |||
|                       self.product_id.list_price): | |||
|                     unt_price = (price.price_max_margin + | |||
|                                  self.product_id.list_price) | |||
|                 else: | |||
|                     unt_price = unt_price | |||
|         elif price.compute_price == 'formula' and price.base == 'standard_price': | |||
|             unt_price = (self.product_id.standard_price * ( | |||
|                     1 - price.price_discount / 100) + price.price_surcharge) | |||
|             if price.price_min_margin or price.price_max_margin: | |||
|                 if (unt_price < price.price_min_margin + | |||
|                         self.product_id.list_price): | |||
|                     unt_price = (price.price_min_margin + | |||
|                                  self.product_id.list_price) | |||
|                 elif (unt_price > price.price_max_margin + | |||
|                       self.product_id.list_price): | |||
|                     unt_price = (price.price_max_margin + | |||
|                                  self.product_id.list_price) | |||
|                 else: | |||
|                     unt_price = unt_price | |||
|         elif price.compute_price == 'formula' and price.base == 'pricelist': | |||
|             unt_price = (self.unit_price(price.base_pricelist_id.item_ids) * ( | |||
|                     1 - price.price_discount / 100) + price.price_surcharge) | |||
|             if price.price_min_margin or price.price_max_margin: | |||
|                 if (unt_price < price.price_min_margin + | |||
|                         self.product_id.list_price): | |||
|                     unt_price = (price.price_min_margin + | |||
|                                  self.product_id.list_price) | |||
|                 elif (unt_price > price.price_max_margin + | |||
|                       self.product_id.list_price): | |||
|                     unt_price = (price.price_max_margin + | |||
|                                  self.product_id.list_price) | |||
|                 else: | |||
|                     unt_price = unt_price | |||
|         else: | |||
|             unt_price = self.product_id.list_price | |||
|         return unt_price | |||
| 
 | 
| After Width: | Height: | Size: 3.6 KiB | 
| After Width: | Height: | Size: 310 B | 
| After Width: | Height: | Size: 1.3 KiB | 
| After Width: | Height: | Size: 1.4 KiB | 
| After Width: | Height: | Size: 576 B | 
| After Width: | Height: | Size: 733 B | 
| After Width: | Height: | Size: 911 B | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 3.4 KiB | 
| After Width: | Height: | Size: 673 B | 
| After Width: | Height: | Size: 878 B | 
| After Width: | Height: | Size: 653 B | 
| After Width: | Height: | Size: 905 B | 
| After Width: | Height: | Size: 839 B | 
| After Width: | Height: | Size: 427 B | 
| After Width: | Height: | Size: 627 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 988 B | 
| After Width: | Height: | Size: 1.2 KiB | 
| After Width: | Height: | Size: 60 KiB | 
| After Width: | Height: | Size: 58 KiB | 
| After Width: | Height: | Size: 62 KiB | 
| After Width: | Height: | Size: 61 KiB | 
| After Width: | Height: | Size: 57 KiB | 
| After Width: | Height: | Size: 58 KiB | 
| After Width: | Height: | Size: 156 KiB | 
| After Width: | Height: | Size: 43 KiB | 
| After Width: | Height: | Size: 148 KiB | 
| After Width: | Height: | Size: 162 KiB | 
| After Width: | Height: | Size: 146 KiB | 
| After Width: | Height: | Size: 161 KiB | 
| After Width: | Height: | Size: 148 KiB | 
| After Width: | Height: | Size: 161 KiB | 
| After Width: | Height: | Size: 163 KiB | 
| After Width: | Height: | Size: 59 KiB | 
| After Width: | Height: | Size: 16 KiB | 
| After Width: | Height: | Size: 15 KiB | 
| After Width: | Height: | Size: 51 KiB | 
| @ -0,0 +1,672 @@ | |||
| <!DOCTYPE html> | |||
| <head> | |||
|   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" | |||
|     integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous"> | |||
| </head> | |||
| <body></body> | |||
|   <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"> | |||
|         <img src="./assets/icons/logo.png" style="width: auto !important; height: 40px !important;"> | |||
|       </div> | |||
|       <div class="my-3 d-flex align-items-center"> | |||
|         <div | |||
|           style="background-color: #7C7BAD !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 class="container" style="padding: 4rem 1.5rem !important"> | |||
|     <div class="row" style="height: 900px !important;"> | |||
|         <div class="col-sm-12 col-md-12 col-lg-12" | |||
|             style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;"> | |||
|             <h1 | |||
|                 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important;  font-size: 3.5rem !important; text-align: center !important;"> | |||
|                 Sale Order Multiple Price list</h1> | |||
|             <p | |||
|                 style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important;  font-size: 1.4rem !important; text-align: center !important;"> | |||
|                 Multiple price lists can be applied for same sale order. | |||
|             </p> | |||
|             <img src="assets/screenshots/mp2.png" class="img-responsive" width="100%" height="auto" /> | |||
|         </div> | |||
|     </div> | |||
| 
 | |||
|     <div class="row"> | |||
|         <div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important"> | |||
|             <h2 | |||
|                 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> | |||
|                 <i class="fa fa-compass mr-2"></i>Explore this module | |||
|             </h2> | |||
|         </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: #714B67 !important; font-size: 1.2rem !important;"> | |||
|                             Overview</h3> | |||
|                         <p | |||
|                             style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !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: #714B67 !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: #714B67 !important; font-size: 1.2rem !important;"> | |||
|                             Features</h3> | |||
|                         <p | |||
|                             style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !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: #714B67 !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: #714B67 !important; font-size: 1.2rem !important;"> | |||
|                             Screenshots</h3> | |||
|                         <p | |||
|                             style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !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: #714B67 !important;"></i> | |||
|                     </div> | |||
|                 </div> | |||
|             </a> | |||
|         </div> | |||
| 
 | |||
|     </div> | |||
| 
 | |||
| 
 | |||
|     <div class="row" id="overview"> | |||
|         <div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> | |||
|             <h2 | |||
|                 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> | |||
|                 <i class="fa fa-pie-chart mr-2"></i>Overview | |||
|             </h2> | |||
|         </div> | |||
| 
 | |||
|         <div class="col-mg-12 pl-3"> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;"> | |||
|                 This module help you to apply different price lists for each order lines.</p> | |||
| 
 | |||
|         </div> | |||
|     </div> | |||
| 
 | |||
|     <div class="row" id="features"> | |||
|         <div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> | |||
|             <h2 | |||
|                 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> | |||
|                 <i class="fa fa-star mr-2"></i>Features | |||
|             </h2> | |||
|         </div> | |||
| 
 | |||
|         <div class="col-md-6 pl-3 py-3 d-flex"> | |||
|             <div> | |||
|                 <img src="assets/icons/check.png"> | |||
|             </div> | |||
|             <div> | |||
|                 <h4 | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Multiple price lists per order</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     If you want to use different price lists with a single sale order, just enable the multiple price lists per order feature from settings.</p> | |||
|             </div> | |||
|         </div> | |||
| 
 | |||
|         <div class="col-md-6 pl-3 py-3 d-flex"> | |||
|             <div> | |||
|                 <img src="assets/icons/check.png"> | |||
|             </div> | |||
|             <div> | |||
|                 <h4 | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Each line may have different price lists</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     You can select price list for each sale order line by apply price list button.</p> | |||
|             </div> | |||
|         </div> | |||
| 
 | |||
|         <div class="col-md-6 pl-3 py-3 d-flex"> | |||
|             <div> | |||
|                 <img src="assets/icons/check.png"> | |||
|             </div> | |||
|             <div> | |||
|                 <h4 | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Select from multiple price lists</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     If a product in sale order line have multiple price lists, you can select one among them.</p> | |||
|             </div> | |||
|         </div> | |||
| 
 | |||
|         <div class="col-md-6 pl-3 py-3 d-flex"> | |||
|             <div> | |||
|                 <img src="assets/icons/check.png"> | |||
|             </div> | |||
|             <div> | |||
|                 <h4 | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     View Margin in percentage.</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     You can view the margin in percentage along with different prices.</p> | |||
|             </div> | |||
|         </div> | |||
| 
 | |||
|     </div> | |||
| 
 | |||
|     <div class="row" id="screenshots"> | |||
|         <div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> | |||
|             <h2 | |||
|                 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> | |||
|                 <i class="fa fa-image mr-2"></i>Screenshots | |||
|             </h2> | |||
|         </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;"> | |||
|                 Enable Multiple price list per order.</h4> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                 You can enable multiple price list per order feature from configuration settings.</p> | |||
| 
 | |||
|             <img src="assets/screenshots/ml1.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                 height="auto" /> | |||
|         </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;"> | |||
|                 Configure price lists</h4> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                 Configuring different price lists. | |||
|             </p> | |||
| 
 | |||
|             <img src="assets/screenshots/ml2.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                 height="auto" /> | |||
|         </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;"> | |||
|                 Create Sale order</h4> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                 Create and save sale order. | |||
|                 </p> | |||
|             <img src="assets/screenshots/ml3.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                 height="auto" /> | |||
|         </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;"> | |||
|                 Apply Price list</h4> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                Apply price list button in each order line.</p> | |||
|             <img src="assets/screenshots/mp1.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                 height="auto" /> | |||
|         </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;"> | |||
|                 Choose price list</h4> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                 You can choose price list from the popup window.</p> | |||
|             <img src="assets/screenshots/mp2.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                 height="auto" /> | |||
|         </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;"> | |||
|                 Price updated</h4> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                 Price for that product is updated with that selected price list.</p> | |||
|             <img src="assets/screenshots/mp3.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                 height="auto" /> | |||
|         </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;"> | |||
|                 Apply another price list for next product</h4> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                 You can apply another price list for next order line of the same sale order.</p> | |||
|             <img src="assets/screenshots/mp4.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                 height="auto" /> | |||
|         </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;"> | |||
|                 Price updated</h4> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                 Price for that product is updated with that selected price list.</p> | |||
|             <img src="assets/screenshots/mp5.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                 height="auto" /> | |||
|         </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;"> | |||
|                 Unit price and subtotal changed accordingly</h4> | |||
|             <p | |||
|                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                 Unit prices as well as total and subtotal changed accordingly.</p> | |||
|             <img src="assets/screenshots/mp6.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                 height="auto" /> | |||
|         </div> | |||
|     </div> | |||
| 
 | |||
|     <!-- SUGGESTED PRODUCTS --> | |||
|     <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="color: #212529 !important;">Suggested Products</h2> | |||
|             <hr | |||
|                 style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> | |||
| 
 | |||
|             <div id="demo1" class="row carousel slide" data-ride="carousel"> | |||
|                 <!-- The slideshow --> | |||
|                 <div class="carousel-inner"> | |||
|                     <div class="carousel-item active" style="min-height:0px"> | |||
|                         <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> | |||
|                             <a href="https://apps.odoo.com/apps/modules/15.0/sales_credit_limit/" target="_blank"> | |||
|                                 <div style="border-radius:10px"> | |||
|                                     <img class="img img-responsive center-block" | |||
|                                         style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                         src="./assets/modules/1.png"> | |||
|                                 </div> | |||
|                             </a> | |||
|                         </div> | |||
|                         <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> | |||
|                             <a href=" https://apps.odoo.com/apps/modules/15.0/pos_product_addons/" target="_blank"> | |||
|                                 <div style="border-radius:10px"> | |||
|                                     <img class="img img-responsive center-block" | |||
|                                         style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                         src="./assets/modules/2.png"> | |||
|                                 </div> | |||
|                             </a> | |||
|                         </div> | |||
|                         <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> | |||
|                             <a href="https://apps.odoo.com/apps/modules/15.0/barcode_scanning_sale_purchase/" target="_blank"> | |||
|                                 <div style="border-radius:10px"> | |||
|                                     <img class="img img-responsive center-block" | |||
|                                         style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                         src="./assets/modules/3.png"> | |||
|                                 </div> | |||
|                             </a> | |||
|                         </div> | |||
|                     </div> | |||
|                     <div class="carousel-item" style="min-height:0px"> | |||
|                         <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> | |||
|                             <a href="https://apps.odoo.com/apps/modules/15.0/product_batch_report/" target="_blank"> | |||
|                                 <div style="border-radius:10px"> | |||
|                                     <img class="img img-responsive center-block" | |||
|                                         style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                         src="./assets/modules/4.png"> | |||
|                                 </div> | |||
|                             </a> | |||
|                         </div> | |||
|                         <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> | |||
|                             <a href="https://apps.odoo.com/apps/modules/15.0/sales_incentive_calculation/" target="_blank"> | |||
|                                 <div style="border-radius:10px"> | |||
|                                     <img class="img img-responsive center-block" | |||
|                                         style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                         src="./assets/modules/5.png"> | |||
|                                 </div> | |||
|                             </a> | |||
|                         </div> | |||
|                         <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> | |||
|                             <a href="https://apps.odoo.com/apps/modules/15.0/product_to_quotation/" | |||
|                                 target="_blank"> | |||
|                                 <div style="border-radius:10px"> | |||
|                                     <img class="img img-responsive center-block" | |||
|                                         style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                         src="./assets/modules/6.png"> | |||
|                                 </div> | |||
|                             </a> | |||
|                         </div> | |||
|                     </div> | |||
|                 </div> | |||
|                 <!-- Left and right controls --> | |||
|                 <a class="carousel-control-prev" href="#demo1" data-slide="prev" | |||
|                     style="left:-25px;width: 35px;color: #000;"> <span class="carousel-control-prev-icon"><i | |||
|                             class="fa fa-chevron-left" style="font-size:24px"></i></span> </a> <a | |||
|                     class="carousel-control-next" href="#demo1" data-slide="next" | |||
|                     style="right:-25px;width: 35px;color: #000;"> | |||
|                     <span class="carousel-control-next-icon"><i class="fa fa-chevron-right" | |||
|                             style="font-size:24px"></i></span> | |||
|                 </a> | |||
|             </div> | |||
|         </div> | |||
|     </div> | |||
|     <!-- END OF SUGGESTED PRODUCTS --> | |||
| 
 | |||
|     <!-- OUR SERVICES --> | |||
|     <section class="container" style="margin-top: 6rem !important;"> | |||
|         <div class="row"> | |||
|             <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> | |||
|                 <h2 style="color: #212529 !important;">Our Services</h2> | |||
|                 <hr | |||
|                     style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> | |||
|                 <div class="d-flex justify-content-center align-items-center mx-3 my-3" | |||
|                     style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> | |||
|                     <img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px"> | |||
|                 </div> | |||
|                 <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> | |||
|                     Odoo | |||
|                     Customization</h6> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> | |||
|                 <div class="d-flex justify-content-center align-items-center mx-3 my-3" | |||
|                     style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> | |||
|                     <img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px"> | |||
|                 </div> | |||
|                 <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> | |||
|                     Odoo | |||
|                     Implementation</h6> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> | |||
|                 <div class="d-flex justify-content-center align-items-center mx-3 my-3" | |||
|                     style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> | |||
|                     <img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px"> | |||
|                 </div> | |||
|                 <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> | |||
|                     Odoo | |||
|                     Support</h6> | |||
|             </div> | |||
| 
 | |||
| 
 | |||
|             <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> | |||
|                 <div class="d-flex justify-content-center align-items-center mx-3 my-3" | |||
|                     style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> | |||
|                     <img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px"> | |||
|                 </div> | |||
|                 <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> | |||
|                     Hire | |||
|                     Odoo | |||
|                     Developer</h6> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> | |||
|                 <div class="d-flex justify-content-center align-items-center mx-3 my-3" | |||
|                     style="background-color: #54a0ff  !important; border-radius: 15px !important; height: 80px; width: 80px;"> | |||
|                     <img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px"> | |||
|                 </div> | |||
|                 <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> | |||
|                     Odoo | |||
|                     Integration</h6> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> | |||
|                 <div class="d-flex justify-content-center align-items-center mx-3 my-3" | |||
|                     style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> | |||
|                     <img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px"> | |||
|                 </div> | |||
|                 <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> | |||
|                     Odoo | |||
|                     Migration</h6> | |||
|             </div> | |||
| 
 | |||
| 
 | |||
|             <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> | |||
|                 <div class="d-flex justify-content-center align-items-center mx-3 my-3" | |||
|                     style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> | |||
|                     <img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px"> | |||
|                 </div> | |||
|                 <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> | |||
|                     Odoo | |||
|                     Consultancy</h6> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> | |||
|                 <div class="d-flex justify-content-center align-items-center mx-3 my-3" | |||
|                     style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> | |||
|                     <img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px"> | |||
|                 </div> | |||
|                 <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> | |||
|                     Odoo | |||
|                     Implementation</h6> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> | |||
|                 <div class="d-flex justify-content-center align-items-center mx-3 my-3" | |||
|                     style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> | |||
|                     <img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px"> | |||
|                 </div> | |||
|                 <h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> | |||
|                     Odoo | |||
|                     Licensing Consultancy</h6> | |||
|             </div> | |||
|         </div> | |||
|     </section> | |||
|     <!-- END OF OUR SERVICES --> | |||
| 
 | |||
|     <!-- OUR INDUSTRIES --> | |||
|     <section class="container" style="margin-top: 6rem !important;"> | |||
|         <div class="row"> | |||
|             <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> | |||
|                 <h2 style="color: #212529 !important;">Our Industries</h2> | |||
|                 <hr | |||
|                     style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-3"> | |||
|                 <div class="my-4 d-flex flex-column justify-content-center" | |||
|                     style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> | |||
|                     <img src="./assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px"> | |||
|                     <h5 | |||
|                         style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> | |||
|                         Trading | |||
|                     </h5> | |||
|                     <p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> | |||
|                         Easily procure | |||
|                         and | |||
|                         sell your products</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-3"> | |||
|                 <div class="my-4 d-flex flex-column justify-content-center" | |||
|                     style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> | |||
|                     <img src="./assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px"> | |||
|                     <h5 | |||
|                         style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> | |||
|                         POS | |||
|                     </h5> | |||
|                     <p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> | |||
|                         Easy | |||
|                         configuration | |||
|                         and convivial experience</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-3"> | |||
|                 <div class="my-4 d-flex flex-column justify-content-center" | |||
|                     style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> | |||
|                     <img src="./assets/icons/education-black.png" class="img-responsive mb-3" height="48px" | |||
|                         width="48px"> | |||
|                     <h5 | |||
|                         style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> | |||
|                         Education | |||
|                     </h5> | |||
|                     <p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> | |||
|                         A platform for | |||
|                         educational management</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-3"> | |||
|                 <div class="my-4 d-flex flex-column justify-content-center" | |||
|                     style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> | |||
|                     <img src="./assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px" | |||
|                         width="48px"> | |||
|                     <h5 | |||
|                         style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> | |||
|                         Manufacturing | |||
|                     </h5> | |||
|                     <p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> | |||
|                         Plan, track and | |||
|                         schedule your operations</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-3"> | |||
|                 <div class="my-4 d-flex flex-column justify-content-center" | |||
|                     style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> | |||
|                     <img src="./assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px"> | |||
|                     <h5 | |||
|                         style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> | |||
|                         E-commerce & Website | |||
|                     </h5> | |||
|                     <p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> | |||
|                         Mobile | |||
|                         friendly, | |||
|                         awe-inspiring product pages</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-3"> | |||
|                 <div class="my-4 d-flex flex-column justify-content-center" | |||
|                     style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> | |||
|                     <img src="./assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px"> | |||
|                     <h5 | |||
|                         style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> | |||
|                         Service Management | |||
|                     </h5> | |||
|                     <p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> | |||
|                         Keep track of | |||
|                         services and invoice</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-3"> | |||
|                 <div class="my-4 d-flex flex-column justify-content-center" | |||
|                     style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> | |||
|                     <img src="./assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px" | |||
|                         width="48px"> | |||
|                     <h5 | |||
|                         style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> | |||
|                         Restaurant | |||
|                     </h5> | |||
|                     <p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> | |||
|                         Run your bar or | |||
|                         restaurant methodically</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-lg-3"> | |||
|                 <div class="my-4 d-flex flex-column justify-content-center" | |||
|                     style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> | |||
|                     <img src="./assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px"> | |||
|                     <h5 | |||
|                         style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> | |||
|                         Hotel Management | |||
|                     </h5> | |||
|                     <p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> | |||
|                         An | |||
|                         all-inclusive | |||
|                         hotel management application</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|         </div> | |||
|     </section> | |||
|     <!--END OF OUR INDUSTRIES --> | |||
|     <!-- FOOTER --> | |||
|     <!-- Footer Section --> | |||
|     <section class="container" style="margin: 5rem auto 2rem;"> | |||
|         <div class="row" style="max-width:1540px;"> | |||
|             <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> | |||
|                 <h2 style="color: #212529 !important;">Need Help?</h2> | |||
|                 <hr | |||
|                     style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> | |||
|             </div> | |||
|         </div> | |||
| 
 | |||
|         <!-- Contact Cards --> | |||
|         <div class="row d-flex justify-content-center align-items-center" | |||
|             style="max-width:1540px; margin: 0 auto 2rem auto;"> | |||
| 
 | |||
|             <div class="col-lg-12" style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; "> | |||
| 
 | |||
|                 <div class="row mt-4"> | |||
|                     <div class="col-lg-4"> | |||
|                         <a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover" | |||
|                             style="text-decoration: none;  background-color: #4d4d4d; color: #FFF;  border-radius: 4px;"><i | |||
|                                 class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a> | |||
|                     </div> | |||
|                     <div class="col-lg-4"> | |||
|                         <a href="https://api.WhatsApp.com/send?phone=918606827707" target="_blank" | |||
|                             class="btn btn-block mb-2 deep_hover" | |||
|                             style="text-decoration: none;  background-color: #25D366; color: #FFF;  border-radius: 4px;"><i | |||
|                                 class="fa fa-WhatsApp mr-2"></i>WhatsApp</a> | |||
|                     </div> | |||
|                     <div class="col-lg-4"> | |||
|                         <a href="mailto:info@cybrosys.com" target="_blank" class="btn btn-block deep_hover" | |||
|                             style="text-decoration: none; background-color: #4d4d4d; color: #FFF;  border-radius: 4px;"><i | |||
|                                 class="fa fa-envelope mr-2"></i>info@cybrosys.com</a> | |||
|                     </div> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|         </div> | |||
|         <!-- End of Contact Cards --> | |||
|     </section> | |||
|     <!-- Footer --> | |||
|     <section class="oe_container" style="padding: 2rem 3rem 1rem;"> | |||
|         <div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; "> | |||
|             <!-- Logo --> | |||
|             <div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;"> | |||
|                 <img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" /> | |||
|             </div> | |||
|             <!-- End of Logo --> | |||
|             <div class="col-lg-12"> | |||
|                 <hr | |||
|                     style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;"> | |||
|                 <!-- End of Footer Section --> | |||
|             </div> | |||
|         </div> | |||
|     </section> | |||
|     <!-- END OF FOOTER --> | |||
| </div> | |||
| @ -0,0 +1,31 @@ | |||
| <?xml version="1.0" encoding="UTF-8" ?> | |||
| <odoo> | |||
| <!--  Inherits Configuration settings form view to add the settings to | |||
| enable multi pricelists --> | |||
|     <record id="res_config_settings_view_form" | |||
|             model="ir.ui.view"> | |||
|         <field name="name">res.config.settings.view.form.inherit.multi.pricelist</field> | |||
|         <field name="model">res.config.settings</field> | |||
|         <field name="inherit_id" ref="sale.res_config_settings_view_form"/> | |||
|         <field name="arch" type="xml"> | |||
|             <xpath expr="//div[@id='auth_signup_documents']" | |||
|                    position="after"> | |||
|                 <div class="col-12 col-lg-6 o_setting_box" | |||
|                      id="main_currency" | |||
|                      attrs="{'invisible': [('group_product_pricelist', '!=', True)]}"> | |||
|                     <div class="o_setting_left_pane"> | |||
|                         <field name="multi_pricelist"/> | |||
|                     </div> | |||
|                     <div class="o_setting_right_pane"> | |||
|                         <label for="multi_pricelist" | |||
|                                string="Multiple Pricelist per Order"/> | |||
|                         <span class="o_doc_link" role="img"/> | |||
|                         <div class="text-muted"> | |||
|                             Multiple pricelist for same sale order | |||
|                         </div> | |||
|                     </div> | |||
|                 </div> | |||
|             </xpath> | |||
|         </field> | |||
|     </record> | |||
| </odoo> | |||
| @ -0,0 +1,21 @@ | |||
| <?xml version="1.0" encoding="UTF-8" ?> | |||
| <odoo> | |||
| <!--    Inherits sale order form view to add the pricelist button to the order lines--> | |||
|     <record id="view_order_form" model="ir.ui.view"> | |||
|         <field name="name">sale.order.view.form.inherit.multi.pricelist</field> | |||
|         <field name="model">sale.order</field> | |||
|         <field name="inherit_id" ref="sale.view_order_form"/> | |||
|         <field name="arch" type="xml"> | |||
|             <xpath expr="/form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_subtotal']" | |||
|                    position="after"> | |||
|                 <button name="apply_pricelist" type="object" | |||
|                         string="Apply Pricelist" | |||
|                         attrs="{'invisible': [('pricelist_visibility', '!=', True)]}"> | |||
|                     <i class="fa fa-fw o_button_icon fa-save"/> | |||
|                 </button> | |||
|                 <field name="pricelist_visibility" invisible="1"/> | |||
|                 <field name="applied_pricelist_id" readonly="1"/> | |||
|             </xpath> | |||
|         </field> | |||
|     </record> | |||
| </odoo> | |||
| @ -0,0 +1,23 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| 
 | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Raveena V (odoo@cybrosys.com) | |||
| # | |||
| #    You can modify it under the terms of the GNU AFFERO | |||
| #    GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | |||
| # | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | |||
| #    (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################# | |||
| from . import pricelist_wizard | |||
| from . import pricelist_wizard_line | |||
| @ -0,0 +1,37 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Raveena V (odoo@cybrosys.com) | |||
| # | |||
| #    You can modify it under the terms of the GNU AFFERO | |||
| #    GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | |||
| # | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | |||
| #    (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################# | |||
| from odoo import fields, models | |||
| 
 | |||
| 
 | |||
| class PricelistWizard(models.TransientModel): | |||
|     """This class will create a new transient model for the price list wizard""" | |||
|     _name = 'pricelist.wizard' | |||
|     _rec_name = 'order_line_id' | |||
|     _description = 'Price list Wizard' | |||
| 
 | |||
|     order_line_id = fields.Many2one('sale.order.line', | |||
|                                     string="Order Line", | |||
|                                     help="Order line of the selected order") | |||
|     line_ids = fields.One2many('pricelist.wizard.line', 'wizard_id', | |||
|                                string="Price lists", help="Pricelist lines") | |||
| 
 | |||
| 
 | |||
| @ -0,0 +1,70 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Raveena V (odoo@cybrosys.com) | |||
| # | |||
| #    You can modify it under the terms of the GNU AFFERO | |||
| #    GENERAL PUBLIC LICENSE (AGPL v3), Version 3. | |||
| # | |||
| #    This program is distributed in the hope that it will be useful, | |||
| #    but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |||
| #    GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. | |||
| # | |||
| #    You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE | |||
| #    (AGPL v3) along with this program. | |||
| #    If not, see <http://www.gnu.org/licenses/>. | |||
| # | |||
| ############################################################################# | |||
| from odoo import api, fields, models | |||
| 
 | |||
| 
 | |||
| class PricelistWizardLine(models.TransientModel): | |||
|     _name = 'pricelist.wizard.line' | |||
|     _rec_name = 'wizard_id' | |||
|     _description = 'Pricelist Lines' | |||
| 
 | |||
|     wizard_id = fields.Many2one('pricelist.wizard', | |||
|                                 string="Price List Selection", | |||
|                                 help="Price List Selection") | |||
|     pricelist_id = fields.Many2one('product.pricelist', | |||
|                                    string="PriceList", | |||
|                                    help="Price lists that can be applied for " | |||
|                                         "the order line.") | |||
|     product_id = fields.Many2one('product.product', | |||
|                                  string="Product", | |||
|                                  help="Order line Product") | |||
|     unit_price = fields.Float(string="Unit Price", | |||
|                               help="Price of the product per unit") | |||
|     unit_cost = fields.Float(string='Unit Cost', | |||
|                              help="Cost of the product per unit") | |||
|     margin = fields.Float(compute='_compute_margin', string="Margin %", | |||
|                           help="calculated by ((unit price - unit cost) " | |||
|                                "unit cost)* 100") | |||
|     uom_id = fields.Many2one('uom.uom', string="UOM", help="Unit Of Measure") | |||
| 
 | |||
|     @api.depends('unit_price', 'unit_cost') | |||
|     def _compute_margin(self): | |||
|         """ This function will compute the margin for the product when the | |||
|         price list applied. | |||
|         It is calculated by ((unit price - unit cost)/ unit cost)* 100""" | |||
|         for rec in self: | |||
|             rec.margin = 100 | |||
|             if rec.unit_cost: | |||
|                 rec.margin = ((rec.unit_price-rec.unit_cost)/rec.unit_cost)*100 | |||
| 
 | |||
|     def apply_pricelist(self): | |||
|         """This function will apply the selected pricelist to the order | |||
|          line.""" | |||
|         for rec in self: | |||
|             sale_order_line = rec.wizard_id.order_line_id | |||
|             rec.wizard_id.order_line_id.update({ | |||
|                 'applied_pricelist_id': rec.pricelist_id, | |||
|             }) | |||
|             rec.wizard_id.order_line_id.update({ | |||
|                 'price_unit':sale_order_line._get_display_price( | |||
|                     sale_order_line.product_id), | |||
|             }) | |||
| @ -0,0 +1,38 @@ | |||
| <?xml version="1.0" encoding="UTF-8" ?> | |||
| <odoo> | |||
|     <!--    Pricelist wizard form View--> | |||
|     <record id="pricelist_wizard_view_form" model="ir.ui.view"> | |||
|         <field name="name">pricelist.wizard.view.form</field> | |||
|         <field name="model">pricelist.wizard</field> | |||
|         <field name="arch" type="xml"> | |||
|             <form> | |||
|                 <sheet> | |||
|                     <h3> | |||
|                         Select one Pricelist | |||
|                     </h3> | |||
|                     <notebook> | |||
|                         <page string="Pricelists"> | |||
|                             <field name="line_ids"> | |||
|                                 <tree> | |||
|                                     <field name="pricelist_id"/> | |||
|                                     <field name="product_id"/> | |||
|                                     <field name="unit_price"/> | |||
|                                     <field name="margin"/> | |||
|                                     <field name="uom_id"/> | |||
|                                     <button name="apply_pricelist" | |||
|                                             string="Apply" type="object" | |||
|                                             class="btn-primary" | |||
|                                             data-hotkey="q"/> | |||
|                                 </tree> | |||
|                             </field> | |||
|                         </page> | |||
|                     </notebook> | |||
|                     <footer> | |||
|                         <button string="Cancel" special="cancel" | |||
|                                 data-hotkey="z"/> | |||
|                     </footer> | |||
|                 </sheet> | |||
|             </form> | |||
|         </field> | |||
|     </record> | |||
| </odoo> | |||