Browse Source

Jan 06: [ADD] Initial Commit 'product_to_rfq_pro'

pull/299/head
Shijin V 1 year ago
parent
commit
4b7b4b1835
  1. 48
      product_to_rfq_pro/README.rst
  2. 23
      product_to_rfq_pro/__init__.py
  3. 51
      product_to_rfq_pro/__manifest__.py
  4. 7
      product_to_rfq_pro/doc/RELEASE_NOTES.md
  5. 23
      product_to_rfq_pro/models/__init__.py
  6. 89
      product_to_rfq_pro/models/product_product.py
  7. 39
      product_to_rfq_pro/models/purchase_order.py
  8. 3
      product_to_rfq_pro/security/ir.model.access.csv
  9. BIN
      product_to_rfq_pro/static/description/assets/icons/check.png
  10. BIN
      product_to_rfq_pro/static/description/assets/icons/chevron.png
  11. BIN
      product_to_rfq_pro/static/description/assets/icons/cogs.png
  12. BIN
      product_to_rfq_pro/static/description/assets/icons/consultation.png
  13. BIN
      product_to_rfq_pro/static/description/assets/icons/ecom-black.png
  14. BIN
      product_to_rfq_pro/static/description/assets/icons/education-black.png
  15. BIN
      product_to_rfq_pro/static/description/assets/icons/hotel-black.png
  16. BIN
      product_to_rfq_pro/static/description/assets/icons/license.png
  17. BIN
      product_to_rfq_pro/static/description/assets/icons/lifebuoy.png
  18. BIN
      product_to_rfq_pro/static/description/assets/icons/manufacturing-black.png
  19. BIN
      product_to_rfq_pro/static/description/assets/icons/pos-black.png
  20. BIN
      product_to_rfq_pro/static/description/assets/icons/puzzle.png
  21. BIN
      product_to_rfq_pro/static/description/assets/icons/restaurant-black.png
  22. BIN
      product_to_rfq_pro/static/description/assets/icons/service-black.png
  23. BIN
      product_to_rfq_pro/static/description/assets/icons/trading-black.png
  24. BIN
      product_to_rfq_pro/static/description/assets/icons/training.png
  25. BIN
      product_to_rfq_pro/static/description/assets/icons/update.png
  26. BIN
      product_to_rfq_pro/static/description/assets/icons/user.png
  27. BIN
      product_to_rfq_pro/static/description/assets/icons/wrench.png
  28. BIN
      product_to_rfq_pro/static/description/assets/misc/categories.png
  29. BIN
      product_to_rfq_pro/static/description/assets/misc/check-box.png
  30. BIN
      product_to_rfq_pro/static/description/assets/misc/compass.png
  31. BIN
      product_to_rfq_pro/static/description/assets/misc/corporate.png
  32. BIN
      product_to_rfq_pro/static/description/assets/misc/customer-support.png
  33. BIN
      product_to_rfq_pro/static/description/assets/misc/cybrosys-logo.png
  34. BIN
      product_to_rfq_pro/static/description/assets/misc/features.png
  35. BIN
      product_to_rfq_pro/static/description/assets/misc/logo.png
  36. BIN
      product_to_rfq_pro/static/description/assets/misc/pictures.png
  37. BIN
      product_to_rfq_pro/static/description/assets/misc/pie-chart.png
  38. BIN
      product_to_rfq_pro/static/description/assets/misc/right-arrow.png
  39. BIN
      product_to_rfq_pro/static/description/assets/misc/star.png
  40. BIN
      product_to_rfq_pro/static/description/assets/misc/support.png
  41. BIN
      product_to_rfq_pro/static/description/assets/misc/whatsapp.png
  42. BIN
      product_to_rfq_pro/static/description/assets/modules/1.png
  43. BIN
      product_to_rfq_pro/static/description/assets/modules/2.png
  44. BIN
      product_to_rfq_pro/static/description/assets/modules/3.png
  45. BIN
      product_to_rfq_pro/static/description/assets/modules/4.png
  46. BIN
      product_to_rfq_pro/static/description/assets/modules/5.jpeg
  47. BIN
      product_to_rfq_pro/static/description/assets/modules/6.jpeg
  48. BIN
      product_to_rfq_pro/static/description/assets/screenshots/gif.gif
  49. BIN
      product_to_rfq_pro/static/description/assets/screenshots/pro1.png
  50. BIN
      product_to_rfq_pro/static/description/assets/screenshots/pro2.png
  51. BIN
      product_to_rfq_pro/static/description/assets/screenshots/pro3.png
  52. BIN
      product_to_rfq_pro/static/description/assets/screenshots/pro4.png
  53. BIN
      product_to_rfq_pro/static/description/assets/screenshots/pro5.png
  54. BIN
      product_to_rfq_pro/static/description/assets/screenshots/pro6.png
  55. BIN
      product_to_rfq_pro/static/description/assets/screenshots/pro7.png
  56. BIN
      product_to_rfq_pro/static/description/banner.jpg
  57. BIN
      product_to_rfq_pro/static/description/icon.png
  58. 707
      product_to_rfq_pro/static/description/index.html
  59. 75
      product_to_rfq_pro/views/product_product_views.xml
  60. 20
      product_to_rfq_pro/views/purchase_order_views.xml
  61. 23
      product_to_rfq_pro/wizard/__init__.py
  62. 111
      product_to_rfq_pro/wizard/product_to_rfq.py
  63. 52
      product_to_rfq_pro/wizard/product_to_rfq_views.xml
  64. 59
      product_to_rfq_pro/wizard/recent_products_tree_purchase.py

48
product_to_rfq_pro/README.rst

@ -0,0 +1,48 @@
.. image:: https://img.shields.io/badge/license-OPL--1-red.svg
:target: https://www.odoo.com/documentation/user/12.0/legal/licenses/licenses.html
:alt: License: OPL-1
Add Multiple Products To RFQ Pro
================================
Now you can add products to a RFQ directly from the product list with new features.
Configuration
=============
* No additional configurations needed
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
License
-------
Odoo Proprietary License v1.0 (OPL-1)
(https://www.odoo.com/documentation/user/12.0/legal/licenses/licenses.html)
Credits
-------
Developer: (V13) Nimisha Murali,
(V14) Albin P J,
(V15) Albin P J,
(V16) Albin P J,
Contact: odoo@cybrosys.com
Contacts
--------
* Mail Contact : odoo@cybrosys.com
* Website : https://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 `Our Website <https://cybrosys.com/>`__
Further information
===================
HTML Description: `<static/description/index.html>`__

23
product_to_rfq_pro/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin PJ (odoo@cybrosys.com)
#
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
###############################################################################
from . import models
from . import wizard

51
product_to_rfq_pro/__manifest__.py

@ -0,0 +1,51 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin PJ (odoo@cybrosys.com)
#
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
###############################################################################
{
'name': 'Add Multiple Products To RFQ Pro',
'version': '16.0.1.0.0',
'category': 'Purchases',
'summary': """Now you can add multiple products to purchase RFQ (Request
for Quotation) form much easier than ever with new feature.""",
'description': """We provide an easiest way to add multiple products to the
corresponding purchase RFQ.You can see all products in kanban, list and
form view.It also shows previous purchase history of the selected
product,RFQ,multiple RFQ,multiple products to RFQ pro,sales man add RFQ,
button in purchase request for quotation,adding of product directly to the
RFQ, purchase history of the selected product,change purchase history
date, Selection of multiple products at a time""",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'depends': ['purchase'],
'website': 'https://www.cybrosys.com',
'data': [
'security/ir.model.access.csv',
'views/product_product_views.xml',
'views/purchase_order_views.xml',
'wizard/product_to_rfq_views.xml',
],
'images': ['static/description/banner.jpg'],
'license': 'OPL-1',
'installable': True,
'auto_install': False,
'application': False,
}

7
product_to_rfq_pro/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <product_to_rfq_pro>
#### 06.01.2024
#### Version 16.0.1.0.0
#### ADD
- Initial commit for Add Multiple Products to RFQ Pro

23
product_to_rfq_pro/models/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin PJ (odoo@cybrosys.com)
#
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
###############################################################################
from . import product_product
from . import purchase_order

89
product_to_rfq_pro/models/product_product.py

@ -0,0 +1,89 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin PJ (odoo@cybrosys.com)
#
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
###############################################################################
from odoo import fields, models, _
class Product(models.Model):
"""We can add products directly to RFQ"""
_inherit = 'product.product'
def action_add_to_rfq_direct(self):
"""We can add products directly to RFQ using this button click"""
quot_id = (self.env['purchase.order'].
browse(self._context.get('active_id')))
name = self.product_tmpl_id.name_get()[0][1]
if self.product_tmpl_id.description_sale:
name += '\n' + self.product_tmpl_id.description_sale
if not quot_id.order_line:
quot_id.order_line.create({
'product_id': self.id,
'name': name,
'product_qty': 1.00,
'date_planned': fields.Datetime.today(),
'price_unit': self.product_tmpl_id.standard_price,
'product_uom': self.product_tmpl_id.uom_id.id,
'order_id': quot_id.id
})
else:
products = [rec.product_id.id for rec in quot_id.order_line]
if self.id not in products:
quot_id.order_line.create({
'product_id': self.id,
'name': name,
'product_qty': 1.00,
'date_planned': fields.Datetime.today(),
'price_unit': self.product_tmpl_id.standard_price,
'product_uom': self.product_tmpl_id.uom_id.id,
'order_id': quot_id.id
})
else:
for rec in quot_id.order_line.search(
[('product_id', '=', self.id),
('price_unit', '=', self.standard_price)]):
rec.product_qty += 1
return {
'type': 'ir.actions.client',
'tag': 'display_notification',
'params': {
'type': 'success',
'message': _(f'Product Successfully Added to {quot_id.name}'),
'next': {'type': 'ir.actions.act_window_close'},
}
}
def action_get_purchase_wizard(self):
"""We can get the wizard view"""
res = {
'name': _('Product Details'),
'view_type': 'form',
'view_mode': 'form',
'res_model': 'product.to.rfq',
'type': 'ir.actions.act_window',
'target': 'new',
'context': {
'default_order_id': self.env['purchase.order'].
browse(self._context.get('active_id')).id,
'default_product_id': self.id,
'default_price_unit': self.product_tmpl_id.standard_price
}
}
return res

39
product_to_rfq_pro/models/purchase_order.py

@ -0,0 +1,39 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin PJ (odoo@cybrosys.com)
#
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
###############################################################################
from odoo import models, _
class PurchaseOrder(models.Model):
"""We can get the all products"""
_inherit = 'purchase.order'
def action_view_products(self):
"""Return the all products"""
return {
'name': _('Product Variants'),
'view_type': 'form',
'view_mode': 'kanban,tree,form',
'res_model': 'product.product',
'type': 'ir.actions.act_window',
'target': '_blank',
'context': {'purchase_button': True, 'sale_button': False}
}

3
product_to_rfq_pro/security/ir.model.access.csv

@ -0,0 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_product_to_rfq_user,product.to.rfq.user,model_product_to_rfq,base.group_user,1,1,1,1
access_recent_products_tree_purchase_user,recent.products.tree.purchase.user,model_recent_products_tree_purchase,base.group_user,1,1,1,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_product_to_rfq_user product.to.rfq.user model_product_to_rfq base.group_user 1 1 1 1
3 access_recent_products_tree_purchase_user recent.products.tree.purchase.user model_recent_products_tree_purchase base.group_user 1 1 1 0

BIN
product_to_rfq_pro/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
product_to_rfq_pro/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
product_to_rfq_pro/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
product_to_rfq_pro/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
product_to_rfq_pro/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
product_to_rfq_pro/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
product_to_rfq_pro/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
product_to_rfq_pro/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
product_to_rfq_pro/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
product_to_rfq_pro/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
product_to_rfq_pro/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
product_to_rfq_pro/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
product_to_rfq_pro/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
product_to_rfq_pro/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
product_to_rfq_pro/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
product_to_rfq_pro/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
product_to_rfq_pro/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
product_to_rfq_pro/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
product_to_rfq_pro/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
product_to_rfq_pro/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
product_to_rfq_pro/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
product_to_rfq_pro/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
product_to_rfq_pro/static/description/assets/modules/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
product_to_rfq_pro/static/description/assets/modules/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
product_to_rfq_pro/static/description/assets/modules/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
product_to_rfq_pro/static/description/assets/modules/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
product_to_rfq_pro/static/description/assets/modules/5.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
product_to_rfq_pro/static/description/assets/modules/6.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
product_to_rfq_pro/static/description/assets/screenshots/gif.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

BIN
product_to_rfq_pro/static/description/assets/screenshots/pro1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
product_to_rfq_pro/static/description/assets/screenshots/pro2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

BIN
product_to_rfq_pro/static/description/assets/screenshots/pro3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

BIN
product_to_rfq_pro/static/description/assets/screenshots/pro4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
product_to_rfq_pro/static/description/assets/screenshots/pro5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

BIN
product_to_rfq_pro/static/description/assets/screenshots/pro6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 KiB

BIN
product_to_rfq_pro/static/description/assets/screenshots/pro7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

BIN
product_to_rfq_pro/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

BIN
product_to_rfq_pro/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

707
product_to_rfq_pro/static/description/index.html

@ -0,0 +1,707 @@
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR -->
<div class="d-flex align-items-center justify-content-between"
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="assets/misc/cybrosys-logo.png" width="42" height="42"
style="width: 42px; height: 42px;"/>
<div>
<div
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Community
</div>
<div
style="color: #875A7B; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
<div
style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Odoo.sh
</div>
</div>
</div>
<!-- END OF TITLE BAR -->
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<!-- APP HERO -->
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">
Add Multiple Products To RFQ Pro</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">
It is the Extended
Version of the module 'Add Multiple Products to RFQ Pro'. Now
Salesman can Add Multiple Products to
Purchase RFQ(Request for Quotation) much easier than ever
with new features.</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/gif.gif"
class="img-responsive"
style="width: 100%; margin-left: auto; margin-right: auto;"/>
</div>
</div>
</div>
</div>
<!-- NAVIGATION SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/compass.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Explore This
Module</h2>
</div>
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;">
<div class="col-sm-12 col-md-6 my-3">
<a href="#overview">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn
more about this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#features">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
features of this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#screenshots">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
screenshots for this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
</div>
<!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pie-chart.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Overview
</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4">
The module will assist the user in seamless searching of the product and
adding that particular product to the
RFQ/Purchase order without navigating back to the RFQ form. The user can
simply add multiple products to the
opened quotation with or without changing their price or the quantity.
It also shows the previous purchase
history of the selected product via choosing the from date of the
purchase history and sequence limit on the
fly. The module thus helps in saving the time of your team and the
customer.
</div>
</div>
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/features.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Features
</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 col-md-6">
<div class="d-flex align-items-center"
style="margin-top: 40px; margin-bottom: 40px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">A smart button in purchase request for quotation form view to select multiple products directly to the RFQ.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Shows every product in Kanban, List and Form view.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Two buttons enabling the adding of product directly to the RFQ or via changing price and quantity.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Provisions to add product details like price, quantity etc. from the product menu itself.
</span>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Shows purchase history of the selected product in the wizard window.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Option to change purchase history date.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Selection of multiple products at a time.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Reducing the time and improving efficiency.</span>
</div>
</div>
</div>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="screenshots">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pictures.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Screenshots
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Multiple Products to
RFQ Order Line
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
You can see a smart button, click on this and add multiple
product to the order line.</p>
<img src="assets/screenshots/pro1.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Add Products through Kanban view to Purchase OrderLine
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
You can add products in
kanban using this buttons</p>
<img src="assets/screenshots/pro2.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Add Products through Tree view to Purchase OrderLine
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
You can add products
also in list using this buttons</p>
<img src="assets/screenshots/pro3.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Add Products through Form view to Purchase OrderLine
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
You can add products
also in form using this buttons</p>
<img src="assets/screenshots/pro4.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Click on this button
and customize quantity and unit price of the product</h3>
<img src="assets/screenshots/pro5.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Customize Quantity and Unit Price of the product</h3>
<img src="assets/screenshots/pro6.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Option to see recent products based on date</h3>
<img src="assets/screenshots/pro7.png" class="img-thumbnail">
</div>
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Related
Products
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/product_brand_purchase/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
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/16.0/hide_all_print_button/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
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/16.0/purchase_product_history/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="./assets/modules/3.png"></div>
</a>
</div>
</div>
<div class="carousel-item active"
style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/purchase_line_views/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
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/16.0/product_multi_attachment/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="./assets/modules/5.jpeg"></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/16.0/product_multi_vendor_update/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="./assets/modules/6.jpeg"></div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev"
style="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="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 RELATED PRODUCTS -->
<!-- OUR SERVICES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/star.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Services
</h2>
</div>
<div class="container my-5">
<div class="row">
<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>
</div>
<!-- END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/corporate.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our
Industries
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; 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: 0px; 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: 0px; 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: 0px; 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: 0px; 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 &amp; 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: 0px; 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: 0px; 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: 0px; 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>
</div>
<!-- END OF OUR INDUSTRIES -->
<!-- SUPPORT -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/customer-support.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Support
</h2>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/support.png" height="48" width="48"
style="width: 42px; height: 42px;"/>
</div>
<div>
<h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need help?
Get in touch.</p>
<a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p>
</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/whatsapp.png" height="52" width="52"
style="width: 52px; height: 52px;"/>
</div>
<div>
<h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
+91 86068
27707</p>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/>
</div>
</div>
</div>
<!-- END OF SUPPORT -->

75
product_to_rfq_pro/views/product_product_views.xml

@ -0,0 +1,75 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!--Inherited kanban view of product.product-->
<record id="product_kanban_view" model="ir.ui.view">
<field name="name">
product.product.view.kanban.inherit.product.to.rfq.pro
</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_kanban_view"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('oe_kanban_details')]" position="after">
<div invisible="not context.get('purchase_button')"
align="right">
<button name="action_add_to_rfq_direct"
type="object"
class="oe_stat_button"
help="Add to RFQ" icon="fa-plus">
</button>
<button name="action_get_purchase_wizard"
type="object"
class="oe_stat_button"
help="Change quantity,price etc and add to RFQ"
icon="fa-list-alt">
</button>
</div>
</xpath>
</field>
</record>
<!--Inherited tree view of product.product-->
<record id="product_product_tree_view" model="ir.ui.view">
<field name="name">
product.product.tree.view.inherit.product.to.rfq.pro
</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_product_tree_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='default_code']" position="before">
<button name="action_add_to_rfq_direct"
type="object"
class="fa fa-plus"
invisible="not context.get('purchase_button')">
</button>
<button name="action_get_purchase_wizard"
type="object"
icon="fa-list-alt"
invisible="not context.get('purchase_button')">
</button>
</xpath>
</field>
</record>
<!--Inherited form view of product.product-->
<record id="product_normal_form_view" model="ir.ui.view">
<field name="name">
product.product.form.view.inherit.product.to.rfq.pro
</field>
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<xpath expr="//header" position="inside">
<button name="action_add_to_rfq_direct"
string="Add to RFQ"
type="object"
class="oe_highlight"
invisible="not context.get('purchase_button')"/>
<button name="action_get_purchase_wizard"
type="object"
class="oe_stat_button"
invisible="not context.get('purchase_button')"
help="Change quantity,price etc and add to RFQ"
icon="fa-list-alt">
</button>
</xpath>
</field>
</record>
</odoo>

20
product_to_rfq_pro/views/purchase_order_views.xml

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!--Smart Button View of purchase.order-->
<record id="purchase_order_form" model="ir.ui.view">
<field name="name">purchase.order.view.form.inherit.product.to.rfq.pro
</field>
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="arch" type="xml">
<xpath expr="//sheet/div" position="inside">
<button name="action_view_products"
type="object"
icon="fa-plus"
attrs="{'invisible': [('state', '!=', 'draft')]}">
<strong widget="statinfo">Add Products</strong>
</button>
</xpath>
</field>
</record>
</odoo>

23
product_to_rfq_pro/wizard/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin PJ (odoo@cybrosys.com)
#
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
###############################################################################
from . import product_to_rfq
from . import recent_products_tree_purchase

111
product_to_rfq_pro/wizard/product_to_rfq.py

@ -0,0 +1,111 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin PJ (odoo@cybrosys.com)
#
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
###############################################################################
from datetime import date, timedelta
from odoo import api, fields, models, _
class ProductToRfq(models.TransientModel):
"""This is for wizard view"""
_name = 'product.to.rfq'
_description = "Product To RFQ"
_rec_name = "product_id"
product_id = fields.Many2one('product.product', string="Product",
readonly=True, help="Product Name")
qty = fields.Float(string="Quantity", default=1.00, help="Product Quantity")
order_id = fields.Many2one('purchase.order', string="RFQ No.",
readonly=True, help="Purchase Order")
price_unit = fields.Float(string="Unit Price",
help="Price unit of the product")
recent_products_ids = fields.One2many('recent.products.tree.purchase',
'purchase_id',
string="Recent Products",
help="Recent products purchased")
recent_date = fields.Datetime(string="Recent Purchase From",
default=date.today() + timedelta(days=30),
help="Recent date")
@api.onchange('recent_date')
def _onchange_recent_date(self):
"""We can get the recent products"""
purchase_order_ids = self.env['purchase.order.line'].search(
[('product_id', '=', self.product_id.id),
('order_id.date_order', '<=', self.recent_date),
('state', '=',
['purchase']),
])
vals = purchase_order_ids.mapped(lambda record: (0, 0, {
'order_line_id': record.id,
}))
self.recent_products_ids = vals
def action_add_to_rfq(self):
"""We can add products to RFQ from wizard"""
quot_id = self.order_id
product_id = self.product_id
display_name = product_id.name_get()[0][1]
if product_id.description_sale:
display_name += '\n' + product_id.description_sale
if not quot_id.order_line:
quot_id.order_line.create({
'product_id': product_id.id,
'name': display_name,
'product_qty': self.qty,
'price_unit': self.price_unit,
'date_planned': fields.Datetime.today(),
'product_uom': product_id.product_tmpl_id.uom_id.id,
})
else:
products = [rec.product_id.id for rec in quot_id.order_line]
price_unit = [rec.price_unit for rec in quot_id.order_line]
if product_id.id not in products:
quot_id.order_line.create({
'product_id': product_id.id,
'name': display_name,
'product_qty': self.qty,
'price_unit': self.price_unit,
'date_planned': fields.Datetime.today(),
'product_uom': product_id.product_tmpl_id.uom_id.id,
})
elif product_id.id in products and self.price_unit in price_unit:
for rec in quot_id.order_line.search(
[('product_id', '=', product_id.id),
('price_unit', '=', self.price_unit)]):
rec.product_qty += self.qty
else:
quot_id.order_line.create({
'product_id': product_id.id,
'name': display_name,
'product_qty': self.qty,
'price_unit': self.price_unit,
'date_planned': fields.Datetime.today(),
'product_uom': product_id.product_tmpl_id.uom_id.id,
})
return {
'type': 'ir.actions.client',
'tag': 'display_notification',
'params': {
'type': 'success',
'message': _(f'Product Successfully Added to {quot_id.name}'),
'next': {'type': 'ir.actions.act_window_close'},
}
}

52
product_to_rfq_pro/wizard/product_to_rfq_views.xml

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- Form view of product.to.rfq-->
<record id="product_to_rfq_view_form" model="ir.ui.view">
<field name="name">product.to.rfq.view.form</field>
<field name="model">product.to.rfq</field>
<field name="arch" type="xml">
<form string="Product Details">
<group>
<group>
<field name="product_id"/>
<field name="qty"/>
</group>
<group>
<field name="order_id"/>
<field name="price_unit"/>
</group>
</group>
<notebook>
<page name="recent_purchases"
string="Recent Purchase History">
<group>
<group>
<field name="recent_date"/>
</group>
</group>
<field name="recent_products_ids">
<tree string="Recent Purchase" create="false"
editable="bottom">
<field name="date"/>
<field name="quotation_id"/>
<field name="partner_id"/>
<field name="order_line_id"/>
<field name="price"/>
<field name="qty"/>
<field name="purchase_total"/>
<field name="company_id" invisible="1"/>
<field name="currency_id" invisible="1"/>
</tree>
</field>
</page>
</notebook>
<footer>
<button name="action_add_to_rfq" string="Add to RFQ"
type="object"
class="oe_highlight"/>
<button string="Cancel" special="cancel"/>
</footer>
</form>
</field>
</record>
</odoo>

59
product_to_rfq_pro/wizard/recent_products_tree_purchase.py

@ -0,0 +1,59 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Albin PJ (odoo@cybrosys.com)
#
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1)
# It is forbidden to publish, distribute, sublicense, or sell copies of the
# Software or modified copies of the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
###############################################################################
from odoo import fields, models
class RecentProductsTreePurchase(models.TransientModel):
"""This is for recent products"""
_name = 'recent.products.tree.purchase'
_description = "Recent Products Tree Purchase"
partner_id = fields.Many2one('res.partner', string='Vendor',
related='order_line_id.partner_id',
help="Name of the vendor")
quotation_id = fields.Many2one('purchase.order',
string='Order Number',
related='order_line_id.order_id',
help='Quotation number')
price = fields.Float(string='Unit Price',
related='order_line_id.price_unit',
help="Unit Price of the product")
date = fields.Datetime(string='Date', related='order_line_id.date_planned',
help="Date of the purchase")
qty = fields.Float(string='Quantity', related='order_line_id.product_qty',
help="Quantity of product purchased")
purchase_total = fields.Monetary(string='Total',
related='order_line_id.price_total',
help="Purchase total")
purchase_id = fields.Many2one('product.to.rfq',
string='Product to rfq ID',
help="Purchase Order")
order_line_id = fields.Many2one('purchase.order.line',
string='Order Line', readonly=True,
help="Purchase Order Line")
company_id = fields.Many2one('res.company',
related='order_line_id.company_id',
string='Company', store=True,
help="Company Name")
currency_id = fields.Many2one(related='order_line_id.currency_id',
store=True, string='Currency',
help="Currency")
Loading…
Cancel
Save