diff --git a/product_approval_management/README.rst b/product_approval_management/README.rst new file mode 100644 index 000000000..1ffd82cfa --- /dev/null +++ b/product_approval_management/README.rst @@ -0,0 +1,40 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: Licence: AGPL-3 + +Product Approval +================ +* Product Approval Management is a Approval system for product creation + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL V3). +(http://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer : (V17) Yadhukrishnan k, 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: ``__ diff --git a/product_approval_management/__init__.py b/product_approval_management/__init__.py new file mode 100644 index 000000000..b28a79b55 --- /dev/null +++ b/product_approval_management/__init__.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Yadhukrishnan K (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. +# +############################################################################### +from . import models + + +def _default_product_confirm(env): + product = env['product.template'].search([]) + for rec in product: + rec.approve_state = 'confirmed' diff --git a/product_approval_management/__manifest__.py b/product_approval_management/__manifest__.py new file mode 100644 index 000000000..61a1b7756 --- /dev/null +++ b/product_approval_management/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Yadhukrishnan K (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. +# +############################################################################### +{ + 'name': "Product Approval", + 'version': '17.0.1.0.0', + 'category': "Extra tools", + 'summary': 'Product approval allow you to control the product creation', + 'description': "Using this module a user can create product which" + "will be in draft state and only a product manager can" + "confirm the product.Also only the confirmed products" + "can be selected from sale order line", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['sale_management'], + 'data': ['security/product_approval_management_groups.xml', + 'security/ir.model.access.csv', + 'views/product_template_views.xml', + 'views/sale_order_views.xml'], + 'images': ['static/description/banner.jpg'], + 'post_init_hook': '_default_product_confirm', + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/product_approval_management/doc/RELEASE_NOTES.md b/product_approval_management/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..c95c220a1 --- /dev/null +++ b/product_approval_management/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 16.04.2024 +#### Version 17.0.1.0.0 +##### ADD + +- Initial Commit for Product Approval diff --git a/product_approval_management/models/__init__.py b/product_approval_management/models/__init__.py new file mode 100644 index 000000000..59a296ab5 --- /dev/null +++ b/product_approval_management/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Yadhukrishnan K (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. +# +############################################################################### +from . import product_template +from . import sale_order_line diff --git a/product_approval_management/models/product_template.py b/product_approval_management/models/product_template.py new file mode 100644 index 000000000..2b0ab108e --- /dev/null +++ b/product_approval_management/models/product_template.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Yadhukrishnan K (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. +# +############################################################################### +from odoo import fields, models + + +class ProductTemplate(models.Model): + """The module is used to add the approval state in the product form page""" + _inherit = 'product.template' + + approve_state = fields.Selection([('draft', 'Draft'), + ('confirmed', 'Confirmed')], + default='draft', string='State', + help='State to approve') + + def action_confirm_product_approval(self): + """Confirm button on the product form page""" + for rec in self: + rec.approve_state = 'confirmed' + + def action_reset_product_approval(self): + """Reset to draft state button on the product form page""" + for rec in self: + rec.approve_state = 'draft' + + def action_confirm_products(self): + """Bulk product approval button on the product form page""" + active_ids = self.env.context.get('active_ids') + products = self.env['product.template'].browse(active_ids) + products.confirm_product_approval() diff --git a/product_approval_management/models/sale_order_line.py b/product_approval_management/models/sale_order_line.py new file mode 100644 index 000000000..3dc5ccbab --- /dev/null +++ b/product_approval_management/models/sale_order_line.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Yadhukrishnan K (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. +# +############################################################################### +from odoo import fields, models + + +class SaleOrderLine(models.Model): + """Sale order line inherited to add the domain to the order line product""" + _inherit = 'sale.order.line' + + product_id = fields.Many2one('product.product', + string='Product', + domain="[('approve_state', '=', 'confirmed')," + " ('sale_ok', '=', True), '|', " + "('company_id', '=', False)," + "('company_id', '=', company_id)]", + change_default=True, ondelete='restrict', + check_company=True, + help="product field in sale order line") diff --git a/product_approval_management/security/ir.model.access.csv b/product_approval_management/security/ir.model.access.csv new file mode 100644 index 000000000..6b8596eff --- /dev/null +++ b/product_approval_management/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +access_product_approval_management_manager,access.product.approval.management.manager,model_product_template,product_approval_management_group_manager,1,1,1,1 diff --git a/product_approval_management/security/product_approval_management_groups.xml b/product_approval_management/security/product_approval_management_groups.xml new file mode 100644 index 000000000..7f501072d --- /dev/null +++ b/product_approval_management/security/product_approval_management_groups.xml @@ -0,0 +1,10 @@ + + + + + + Product Manager + + + diff --git a/product_approval_management/static/description/assets/icons/check.png b/product_approval_management/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/product_approval_management/static/description/assets/icons/check.png differ diff --git a/product_approval_management/static/description/assets/icons/chevron.png b/product_approval_management/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/chevron.png differ diff --git a/product_approval_management/static/description/assets/icons/cogs.png b/product_approval_management/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/cogs.png differ diff --git a/product_approval_management/static/description/assets/icons/consultation.png b/product_approval_management/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/product_approval_management/static/description/assets/icons/consultation.png differ diff --git a/product_approval_management/static/description/assets/icons/ecom-black.png b/product_approval_management/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/ecom-black.png differ diff --git a/product_approval_management/static/description/assets/icons/education-black.png b/product_approval_management/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/product_approval_management/static/description/assets/icons/education-black.png differ diff --git a/product_approval_management/static/description/assets/icons/hotel-black.png b/product_approval_management/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/product_approval_management/static/description/assets/icons/hotel-black.png differ diff --git a/product_approval_management/static/description/assets/icons/license.png b/product_approval_management/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/product_approval_management/static/description/assets/icons/license.png differ diff --git a/product_approval_management/static/description/assets/icons/lifebuoy.png b/product_approval_management/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/product_approval_management/static/description/assets/icons/lifebuoy.png differ diff --git a/product_approval_management/static/description/assets/icons/manufacturing-black.png b/product_approval_management/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/product_approval_management/static/description/assets/icons/manufacturing-black.png differ diff --git a/product_approval_management/static/description/assets/icons/pos-black.png b/product_approval_management/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/pos-black.png differ diff --git a/product_approval_management/static/description/assets/icons/puzzle.png b/product_approval_management/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/puzzle.png differ diff --git a/product_approval_management/static/description/assets/icons/restaurant-black.png b/product_approval_management/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/restaurant-black.png differ diff --git a/product_approval_management/static/description/assets/icons/service-black.png b/product_approval_management/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/product_approval_management/static/description/assets/icons/service-black.png differ diff --git a/product_approval_management/static/description/assets/icons/trading-black.png b/product_approval_management/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/product_approval_management/static/description/assets/icons/trading-black.png differ diff --git a/product_approval_management/static/description/assets/icons/training.png b/product_approval_management/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/product_approval_management/static/description/assets/icons/training.png differ diff --git a/product_approval_management/static/description/assets/icons/update.png b/product_approval_management/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/product_approval_management/static/description/assets/icons/update.png differ diff --git a/product_approval_management/static/description/assets/icons/user.png b/product_approval_management/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/product_approval_management/static/description/assets/icons/user.png differ diff --git a/product_approval_management/static/description/assets/icons/wrench.png b/product_approval_management/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/product_approval_management/static/description/assets/icons/wrench.png differ diff --git a/product_approval_management/static/description/assets/misc/Cybrosys R.png b/product_approval_management/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/Cybrosys R.png differ diff --git a/product_approval_management/static/description/assets/misc/categories.png b/product_approval_management/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/categories.png differ diff --git a/product_approval_management/static/description/assets/misc/check-box.png b/product_approval_management/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/check-box.png differ diff --git a/product_approval_management/static/description/assets/misc/compass.png b/product_approval_management/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/product_approval_management/static/description/assets/misc/compass.png differ diff --git a/product_approval_management/static/description/assets/misc/corporate.png b/product_approval_management/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/product_approval_management/static/description/assets/misc/corporate.png differ diff --git a/product_approval_management/static/description/assets/misc/customer-support.png b/product_approval_management/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/product_approval_management/static/description/assets/misc/customer-support.png differ diff --git a/product_approval_management/static/description/assets/misc/cybrosys-logo.png b/product_approval_management/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/product_approval_management/static/description/assets/misc/cybrosys-logo.png differ diff --git a/product_approval_management/static/description/assets/misc/features.png b/product_approval_management/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/features.png differ diff --git a/product_approval_management/static/description/assets/misc/logo.png b/product_approval_management/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/product_approval_management/static/description/assets/misc/logo.png differ diff --git a/product_approval_management/static/description/assets/misc/pictures.png b/product_approval_management/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/pictures.png differ diff --git a/product_approval_management/static/description/assets/misc/pie-chart.png b/product_approval_management/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/pie-chart.png differ diff --git a/product_approval_management/static/description/assets/misc/right-arrow.png b/product_approval_management/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/right-arrow.png differ diff --git a/product_approval_management/static/description/assets/misc/star.png b/product_approval_management/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/product_approval_management/static/description/assets/misc/star.png differ diff --git a/product_approval_management/static/description/assets/misc/support.png b/product_approval_management/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/support.png differ diff --git a/product_approval_management/static/description/assets/misc/whatsapp.png b/product_approval_management/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/product_approval_management/static/description/assets/misc/whatsapp.png differ diff --git a/product_approval_management/static/description/assets/modules/1.png b/product_approval_management/static/description/assets/modules/1.png new file mode 100644 index 000000000..489f44e86 Binary files /dev/null and b/product_approval_management/static/description/assets/modules/1.png differ diff --git a/product_approval_management/static/description/assets/modules/2.png b/product_approval_management/static/description/assets/modules/2.png new file mode 100644 index 000000000..5acf9a06a Binary files /dev/null and b/product_approval_management/static/description/assets/modules/2.png differ diff --git a/product_approval_management/static/description/assets/modules/3.png b/product_approval_management/static/description/assets/modules/3.png new file mode 100644 index 000000000..57eebc5b2 Binary files /dev/null and b/product_approval_management/static/description/assets/modules/3.png differ diff --git a/product_approval_management/static/description/assets/modules/4.png b/product_approval_management/static/description/assets/modules/4.png new file mode 100644 index 000000000..bc5648b1a Binary files /dev/null and b/product_approval_management/static/description/assets/modules/4.png differ diff --git a/product_approval_management/static/description/assets/modules/5.png b/product_approval_management/static/description/assets/modules/5.png new file mode 100644 index 000000000..f8aaeb32c Binary files /dev/null and b/product_approval_management/static/description/assets/modules/5.png differ diff --git a/product_approval_management/static/description/assets/modules/6.png b/product_approval_management/static/description/assets/modules/6.png new file mode 100644 index 000000000..06d73ee7f Binary files /dev/null and b/product_approval_management/static/description/assets/modules/6.png differ diff --git a/product_approval_management/static/description/assets/screenshots/hero.gif b/product_approval_management/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..d6b30d812 Binary files /dev/null and b/product_approval_management/static/description/assets/screenshots/hero.gif differ diff --git a/product_approval_management/static/description/assets/screenshots/s1.png b/product_approval_management/static/description/assets/screenshots/s1.png new file mode 100644 index 000000000..22af21756 Binary files /dev/null and b/product_approval_management/static/description/assets/screenshots/s1.png differ diff --git a/product_approval_management/static/description/assets/screenshots/s2.png b/product_approval_management/static/description/assets/screenshots/s2.png new file mode 100644 index 000000000..7fdcee555 Binary files /dev/null and b/product_approval_management/static/description/assets/screenshots/s2.png differ diff --git a/product_approval_management/static/description/banner.jpg b/product_approval_management/static/description/banner.jpg new file mode 100644 index 000000000..dc037b265 Binary files /dev/null and b/product_approval_management/static/description/banner.jpg differ diff --git a/product_approval_management/static/description/hero.gif b/product_approval_management/static/description/hero.gif new file mode 100644 index 000000000..28fe6d92e Binary files /dev/null and b/product_approval_management/static/description/hero.gif differ diff --git a/product_approval_management/static/description/icon.png b/product_approval_management/static/description/icon.png new file mode 100644 index 000000000..2c65acb63 Binary files /dev/null and b/product_approval_management/static/description/icon.png differ diff --git a/product_approval_management/static/description/index.html b/product_approval_management/static/description/index.html new file mode 100644 index 000000000..adc474424 --- /dev/null +++ b/product_approval_management/static/description/index.html @@ -0,0 +1,708 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Product Approval

+

+ A Powerful Tool For Companies Looking To Maintain Control + Over The Introduction Of New Products. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ User Permissions

+ +
+
+
+
+
+
+ +
+
+

+ Only The Product Manager Can Approve The Product +

+
+
+
+
+
+
+ +
+
+

+ Newly generated products are first going to be + in draft state. +

+
+
+
+
+
+
+ +
+
+

+ The Sale Order Line Displays Only Approved + Products. +

+
+
+
+
+
+
+ +
+
+
+
+
+

+ Product Manager +

+

+ Product Manager Check Box +

+
+
+ +
+
+
+
+
+
+

+ Confirm Button +

+

+ Confirm Button In Product Form Page +

+
+
+ +
+
+
+ +
+
+
+
    +
  • + + Only The Product Manager Can Approve The Product +
  • +
  • + Newly generated products are first going to be in draft state. +
  • +
  • + The Sale Order Line Displays Only Approved Products. +
  • +
  • + User Permissions +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:16th Apr 2024 +
+

+ Initial Commit for Product Approval +

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/product_approval_management/views/product_template_views.xml b/product_approval_management/views/product_template_views.xml new file mode 100644 index 000000000..e5772a55d --- /dev/null +++ b/product_approval_management/views/product_template_views.xml @@ -0,0 +1,46 @@ + + + + + product.template.view.form.inherit.product.approval.management + product.template + + +
+
+
+
+ + + product.template.view.search.inherit.product.approval.management + product.template + + + + + + + + + + + + + Confirm + + code + model.confirm_products() + + + +
diff --git a/product_approval_management/views/sale_order_views.xml b/product_approval_management/views/sale_order_views.xml new file mode 100644 index 000000000..2a1431404 --- /dev/null +++ b/product_approval_management/views/sale_order_views.xml @@ -0,0 +1,18 @@ + + + + + sale.order.view.form.inherit.product.approval.management + sale.order + + + + [('approve_state', '=', 'confirmed'), + ('sale_ok', '=', True), '|', + ('company_id', '=', False), ('company_id', '=', company_id)] + + + + +